提交 165a0756 编写于 作者: J JiabinYang

refine code

上级 eb6c1287
......@@ -507,7 +507,7 @@ PaddlePaddle DyGraph是一个更加灵活易用的模式,可提供:
results = mnist_infer(to_variable(tensor_img))
lab = np.argsort(results.numpy())
print("Inference result of image/infer_3.png is: %d" % lab[0][0])
print("Inference result of image/infer_3.png is: %d" % lab[0][-1])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册