From 03982a3ef7a4b4cc6815df2e5c108d056f43f32b Mon Sep 17 00:00:00 2001 From: malin10 Date: Wed, 22 Jul 2020 16:57:59 +0800 Subject: [PATCH] update --- core/trainers/framework/runner.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/trainers/framework/runner.py b/core/trainers/framework/runner.py index d5fced11..db00c7b0 100644 --- a/core/trainers/framework/runner.py +++ b/core/trainers/framework/runner.py @@ -168,6 +168,9 @@ class RunnerBase(object): except fluid.core.EOFException: reader.reset() + if batch_id > 0: + print(metrics_format.format(*metrics)) + def _get_dataloader_program(self, model_dict, context): model_name = model_dict["name"] if context["model"][model_name]["compiled_program"] == None: -- GitLab