diff --git a/core/trainers/framework/runner.py b/core/trainers/framework/runner.py index d5fced11ffd546b36ee7db3e596f061bf8a58328..db00c7b09e53538c3dea328421a50fb8b85a5136 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: