retinaface 分析日志
【摘要】 def fenxi(path="param_file.txt"): with open(path, "r") as f: data = f.readlines() return data if __name__ == '__main__': import numpy as np # np.set_printoptions(threshold=np.nan) np.set...
-
-
-
def fenxi(path="param_file.txt"):
-
with open(path, "r") as f:
-
data = f.readlines()
-
return data
-
-
if __name__ == '__main__':
-
import numpy as np
-
-
# np.set_printoptions(threshold=np.nan)
-
np.set_printoptions(formatter={'float': '{: 0.3f}'.format})
-
data_o=fenxi()
-
-
biaotou=data_o[0].replace("\n","").split(";")
-
-
no_show=[]
-
for index,name in enumerate(biaotou[::-1]):
-
if 'batch_norm' in name or 'bias' in name:
-
biaotou.remove(name)
-
no_show.append(index)
-
-
-
print(len(biaotou),biaotou)
-
-
max_list= []
-
data_list=[]
-
epoch_index=0
-
for index, row in enumerate(data_o):
-
if index>0:
-
rows=row.split(";")
-
row_1=rows[0].split(" ")
-
rows[0]=row_1[3]
-
rows=
文章来源: blog.csdn.net,作者:网奇,版权归原作者所有,如需转载,请联系作者。
原文链接:blog.csdn.net/jacke121/article/details/103789204
【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱:
cloudbbs@huaweicloud.com
- 点赞
- 收藏
- 关注作者
评论(0)