未验证 提交 8492d796 编写于 作者: I iamWHTWD 提交者: GitHub

update print format (#1527)

上级 a5a1546a
......@@ -98,7 +98,7 @@ def eval(args):
if batch_id % 100 == 0:
print('Eval iter: ', batch_id)
result = np.mean(np.array(results), axis=0)
print("top1_acc/top5_acc= {}".format(result))
print("acc_top1: {}; acc_top5: {}".format(result[0], result[1]))
sys.stdout.flush()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册