Skip to content

Commit 18a8bf2

Browse files
Modified the code in DyGraph.md, test =develop (PaddlePaddle#1091)
修改了DyGraph.md文件中加载图片的错误路径,使其与PaddleBook保持统一
1 parent 6acabd8 commit 18a8bf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/fluid/user_guides/howto/dygraph/DyGraph.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ Dygraph将非常适合和Numpy一起使用,使用`fluid.dygraph.to_variable(x)
522522
return im
523523

524524
cur_dir = os.path.dirname(os.path.realpath(__file__))
525-
tensor_img = load_image(cur_dir + '/image/2.png')
525+
tensor_img = load_image(cur_dir + '/image/infer_3.png')
526526

527527
results = mnist_infer(fluid.dygraph.to_variable(tensor_img))
528528
lab = np.argsort(results.numpy())

0 commit comments

Comments
 (0)