From 717d726224b1d4f3ae8ce3d393a11a69433d37d6 Mon Sep 17 00:00:00 2001 From: iamWHTWD <28421344+iamWHTWD@users.noreply.github.com> Date: Mon, 21 Nov 2022 14:50:37 +0800 Subject: [PATCH] update acc1/acc5 print format (#1528) --- demo/dygraph/post_quant/eval.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/dygraph/post_quant/eval.py b/demo/dygraph/post_quant/eval.py index 6bc9149b..f9af9e39 100644 --- a/demo/dygraph/post_quant/eval.py +++ b/demo/dygraph/post_quant/eval.py @@ -97,7 +97,7 @@ def eval(): acc5 = correct_5_num / total_num avg_time = cost_time / 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)) print("\n") -- GitLab