提交 d837c5f0 编写于 作者: F frankwhzhang

fix dataloader log print

上级 ddf6ec25
......@@ -199,9 +199,9 @@ class RunnerBase(object):
end_time = time.time()
seconds = end_time - begin_time
metrics_logging = metrics[:]
metrics_logging = metrics.insert(1, seconds)
metrics_logging.insert(1, seconds)
begin_time = end_time
logging.info(metrics_format.format(*metrics))
logging.info(metrics_format.format(*metrics_logging))
batch_id += 1
except fluid.core.EOFException:
reader.reset()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册