From 8ff66ecc563a82143f357a048d6d4d81e930b645 Mon Sep 17 00:00:00 2001 From: frankwhzhang Date: Thu, 13 Aug 2020 15:12:21 +0800 Subject: [PATCH] fix log print --- core/trainers/framework/runner.py | 1 + 1 file changed, 1 insertion(+) diff --git a/core/trainers/framework/runner.py b/core/trainers/framework/runner.py index baab7315..761c6a74 100644 --- a/core/trainers/framework/runner.py +++ b/core/trainers/framework/runner.py @@ -152,6 +152,7 @@ class RunnerBase(object): metrics_format.append("{}: {{:.2f}}s".format("time_each_interval")) metrics_names = ["total_batch"] + for name, var in metrics.items(): metrics_names.append(name) metrics_varnames.append(var.name) -- GitLab