未验证 提交 717d7262 编写于 作者: I iamWHTWD 提交者: GitHub

update acc1/acc5 print format (#1528)

上级 8492d796
...@@ -97,7 +97,7 @@ def eval(): ...@@ -97,7 +97,7 @@ def eval():
acc5 = correct_5_num / total_num acc5 = correct_5_num / total_num
avg_time = cost_time / total_num avg_time = cost_time / total_num
print("End test: test image {}".format(total_num)) print("End test: test image {}".format(total_num))
print("test_acc1 {:.4f}, test_acc5 {:.4f}, avg time {:.5f} sec/img".format( print("test_acc1: {:.4f}; test_acc5: {:.4f}; avg time: {:.5f} sec/img".format(
acc1, acc5, avg_time)) acc1, acc5, avg_time))
print("\n") print("\n")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册