From 894aa9b235982e14682ba4f7cbec3adedea205d5 Mon Sep 17 00:00:00 2001 From: lidanqing Date: Thu, 28 Mar 2019 07:42:21 +0100 Subject: [PATCH] change script file name and data_dir location test=develop --- .../api/{preprocess.py => full_ILSVRC2012_val_preprocess.py} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename paddle/fluid/inference/tests/api/{preprocess.py => full_ILSVRC2012_val_preprocess.py} (98%) 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 024b2f0caa..d7f48f932b 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)) -- GitLab