提交 21fca149 编写于 作者: W WenmuZhou

添加空格

上级 e8229015
...@@ -228,7 +228,7 @@ def train(config, ...@@ -228,7 +228,7 @@ def train(config,
if dist.get_rank( if dist.get_rank(
) == 0 and global_step > 0 and global_step % print_batch_step == 0: ) == 0 and global_step > 0 and global_step % print_batch_step == 0:
logs = train_stats.log() logs = train_stats.log()
strs = 'epoch: [{}/{}], iter: {}, {}, reader_cost: {:.5f}s, batch_cost: {:.5f}s, samples: {}, ips: {:.5f}'.format( strs = 'epoch: [{}/{}], iter: {}, {}, reader_cost: {:.5f} s, batch_cost: {:.5f} s, samples: {}, ips: {:.5f}'.format(
epoch, epoch_num, global_step, logs, train_reader_cost / epoch, epoch_num, global_step, logs, train_reader_cost /
print_batch_step, train_batch_cost / print_batch_step, print_batch_step, train_batch_cost / print_batch_step,
batch_sum, batch_sum / train_batch_cost) batch_sum, batch_sum / train_batch_cost)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册