From 31016773424e26b2bb4944c8bb19606771561746 Mon Sep 17 00:00:00 2001 From: shippingwang Date: Tue, 30 Jun 2020 10:04:08 +0000 Subject: [PATCH] fix --- tools/program.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/program.py b/tools/program.py index 3c796a47..3994b1d5 100644 --- a/tools/program.py +++ b/tools/program.py @@ -444,9 +444,9 @@ def run(dataloader, logger.scaler('loss', metrics[0][0], total_step, vdl_writer) total_step += 1 if mode == 'eval': - if idx % config.get('print_interval', 1) == 0: - logger.info("{:s} step:{:<4d} {:s}s".format(mode, idx, - fetchs_str)) + if idx % config.get('print_interval', 10) == 0: + logger.info("{:s} step:{:<4d} {:s}".format(mode, idx, + fetchs_str)) else: epoch_str = "epoch:{:<3d}".format(epoch) step_str = "{:s} step:{:<4d}".format(mode, idx) -- GitLab