提交 3b8a8f81 编写于 作者: Y Yu Yang

Follow comments

上级 5e9e62ae
...@@ -30,7 +30,7 @@ def main(): ...@@ -30,7 +30,7 @@ def main():
result = trainer.test(reader=paddle.reader.batched( result = trainer.test(reader=paddle.reader.batched(
paddle.dataset.mnist.test(), batch_size=256)) 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" % ( "Testing cost %.2f metrics %s" % (
event.pass_id, event.batch_id, event.cost, event.pass_id, event.batch_id, event.cost,
event.metrics, event.metrics,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册