Skip to content

Commit 894aa9b

Browse files
change script file name and data_dir location
test=develop
1 parent 57f51e5 commit 894aa9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/fluid/inference/tests/api/preprocess.py renamed to paddle/fluid/inference/tests/api/full_ILSVRC2012_val_preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
SIZE_FLOAT32 = 4
3131
SIZE_INT64 = 8
3232

33-
DATA_DIR = '/data/ILSVRC2012'
33+
DATA_DIR = './data/ILSVRC2012/data.bin'
3434

3535
img_mean = np.array([0.485, 0.456, 0.406]).reshape((3, 1, 1))
3636
img_std = np.array([0.229, 0.224, 0.225]).reshape((3, 1, 1))

0 commit comments

Comments
 (0)