diff --git a/02.recognize_digits/train.py b/02.recognize_digits/train.py index 552584598378631f13c90341b8f5a0eec0a2759f..9ce2210851b7f7ec2f314895a3df1d4c0afb2e8b 100644 --- a/02.recognize_digits/train.py +++ b/02.recognize_digits/train.py @@ -125,7 +125,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, Batch %d, Cost %f" % (epoch_id, step, metrics[0])) step += 1 # test for epoch