|
@@ -25,12 +25,13 @@ def analysis(data):
|
|
|
print("total_video", total_count)
|
|
|
print("准确率", accuracy_count / pred_count)
|
|
|
print("召回率", accuracy_count / true_count)
|
|
|
+ print("\n")
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
d = [16, 17, 18, 19, 20, 21]
|
|
|
for item in d:
|
|
|
- path = "summary_tag_03{}.txt".format(item)
|
|
|
+ path = "summary_tag_03{}_spider.txt".format(item)
|
|
|
with open(path, encoding="utf-8") as f2:
|
|
|
data2 = f2.readlines()
|
|
|
analysis(data2)
|