未验证 提交 18a8bf2e 编写于 作者: S silingtong123 提交者: GitHub

Modified the code in DyGraph.md, test =develop (#1091)

修改了DyGraph.md文件中加载图片的错误路径,使其与PaddleBook保持统一
上级 6acabd8f
......@@ -522,7 +522,7 @@ Dygraph将非常适合和Numpy一起使用,使用`fluid.dygraph.to_variable(x)
return im
cur_dir = os.path.dirname(os.path.realpath(__file__))
tensor_img = load_image(cur_dir + '/image/2.png')
tensor_img = load_image(cur_dir + '/image/infer_3.png')
results = mnist_infer(fluid.dygraph.to_variable(tensor_img))
lab = np.argsort(results.numpy())
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册