提交 31016773 编写于 作者: S shippingwang

fix

上级 d3bad33f
......@@ -444,8 +444,8 @@ 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,
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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册