提交 03d5e86e 编写于 作者: S SunGaofeng

make print format same

上级 7e88dd2a
......@@ -24,7 +24,7 @@ def test_without_pyreader(test_exe,
test_metrics.accumulate(loss, pred, label)
if log_interval > 0 and test_iter % log_interval == 0:
test_metrics.calculate_and_log_out(loss, pred, label, \
info = '[Test] test_iter {} '.format(test_iter))
info = '[TEST] test_iter {} '.format(test_iter))
test_metrics.finalize_and_log_out("[TEST] Finish")
......@@ -47,7 +47,7 @@ def test_with_pyreader(test_exe,
test_metrics.accumulate(loss, pred, label)
if log_interval > 0 and test_iter % log_interval == 0:
test_metrics.calculate_and_log_out(loss, pred, label, \
info = '[Test] test_iter {} '.format(test_iter))
info = '[TEST] test_iter {} '.format(test_iter))
test_iter += 1
except fluid.core.EOFException:
test_metrics.finalize_and_log_out("[TEST] Finish")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册