From 3b8a8f81142e7eaea06e8e43e41bcb7bc73b0e09 Mon Sep 17 00:00:00 2001 From: Yu Yang Date: Thu, 2 Mar 2017 15:10:54 +0800 Subject: [PATCH] Follow comments --- demo/mnist/api_train_v2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/mnist/api_train_v2.py b/demo/mnist/api_train_v2.py index 00d102217..575a32b32 100644 --- a/demo/mnist/api_train_v2.py +++ b/demo/mnist/api_train_v2.py @@ -30,7 +30,7 @@ def main(): result = trainer.test(reader=paddle.reader.batched( paddle.dataset.mnist.test(), batch_size=256)) - print "Pass %d, Batch %d, Cost %.2f, %s, " \ + print "Pass %d, Batch %d, Cost %.2f, %s\n" \ "Testing cost %.2f metrics %s" % ( event.pass_id, event.batch_id, event.cost, event.metrics, -- GitLab