diff --git a/paddle/fluid/inference/tests/api/preprocess.py b/paddle/fluid/inference/tests/api/full_ILSVRC2012_val_preprocess.py similarity index 98% rename from paddle/fluid/inference/tests/api/preprocess.py rename to paddle/fluid/inference/tests/api/full_ILSVRC2012_val_preprocess.py index 024b2f0caa7fcbbfc8c473b642e74d27681d34c4..d7f48f932bf7d11c905e3e74a0cf4a203b84364d 100644 --- a/paddle/fluid/inference/tests/api/preprocess.py +++ b/paddle/fluid/inference/tests/api/full_ILSVRC2012_val_preprocess.py @@ -30,7 +30,7 @@ DATA_DIM = 224 SIZE_FLOAT32 = 4 SIZE_INT64 = 8 -DATA_DIR = '/data/ILSVRC2012' +DATA_DIR = './data/ILSVRC2012/data.bin' img_mean = np.array([0.485, 0.456, 0.406]).reshape((3, 1, 1)) img_std = np.array([0.229, 0.224, 0.225]).reshape((3, 1, 1))