提交 afc65d54 编写于 作者: H heya02

update

上级 79d5d8e1
......@@ -75,7 +75,7 @@ for epoch_id in range(epoch_num):
mpc_loss = exe.run(feed=sample, fetch_list=[avg_loss])
step_end = time.time()
if step % 5 == 0:
if step % 50 == 0:
print('Epoch={}, Step={}, batch_cost={:.4f} s, Loss={},'.format(epoch_id, step,
(step_end - step_start), mpc_loss))
with open(loss_file, 'ab') as f:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册