提交 03982a3e 编写于 作者: M malin10

update

上级 e9543dc8
...@@ -168,6 +168,9 @@ class RunnerBase(object): ...@@ -168,6 +168,9 @@ class RunnerBase(object):
except fluid.core.EOFException: except fluid.core.EOFException:
reader.reset() reader.reset()
if batch_id > 0:
print(metrics_format.format(*metrics))
def _get_dataloader_program(self, model_dict, context): def _get_dataloader_program(self, model_dict, context):
model_name = model_dict["name"] model_name = model_dict["name"]
if context["model"][model_name]["compiled_program"] == None: if context["model"][model_name]["compiled_program"] == None:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册