Merge pull request #11350 from sneaxiy/argmin_argmax

Fix identifier error of 'dshape' in 'Paddle/benchmark/fluid/models/vgg.py'
wangkuiyi-patch-1
sneaxiy 7 years ago committed by GitHub
commit 4581524735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -82,7 +82,8 @@ def get_model(args):
data_file, batch_size=args.batch_size))
images, label = fluid.layers.read_file(data_file)
else:
images = fluid.layers.data(name='data', shape=dshape, dtype='float32')
images = fluid.layers.data(
name='data', shape=data_shape, dtype='float32')
label = fluid.layers.data(name='label', shape=[1], dtype='int64')
# Train program

Loading…
Cancel
Save