提交 9a1f3492 编写于 作者: X xiaoting 提交者: lujun

change epoch name in training for book02 (#749)

上级 b030b6c9
......@@ -149,7 +149,7 @@ def train(nn_type,
feed=feeder.feed(data),
fetch_list=[avg_loss, acc])
if step % 100 == 0:
print("Pass %d, Batch %d, Cost %f" % (step, epoch_id,
print("Pass %d, Epoch %d, Cost %f" % (step, epoch_id,
metrics[0]))
step += 1
# test for epoch
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册