Skip to content

Commit 8ece7a9

Browse files
sfraczekWojciech Uss
authored andcommitted
fixed url to dataset
test=develop
1 parent fe21578 commit 8ece7a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

paddle/fluid/inference/tests/api/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,20 +148,20 @@ inference_analysis_api_test_with_fake_data(test_analyzer_mobilenet_depthwise_con
148148
if(WITH_MKLDNN)
149149
set(INT8_DATA_DIR "${INFERENCE_DEMO_INSTALL_DIR}/int8")
150150
if (NOT EXISTS ${INT8_DATA_DIR})
151-
inference_download_and_uncompress(${INT8_DATA_DIR} "http://paddle-inference-dist.bj.bcebos.com/int8" "imagenet_val_100.bin.tar.gz")
151+
inference_download_and_uncompress(${INT8_DATA_DIR} "https://paddle-inference-dist.bj.bcebos.com/int8" "imagenet_val_100.tar.gz")
152152
endif()
153153

154154
#resnet50 int8
155155
set(INT8_RESNET50_MODEL_DIR "${INT8_DATA_DIR}/resnet50")
156156
if (NOT EXISTS ${INT8_RESNET50_MODEL_DIR})
157-
inference_download_and_uncompress(${INT8_RESNET50_MODEL_DIR} "http://paddle-inference-dist.bj.bcebos.com/int8" "resnet50_int8_model.tar.gz" )
157+
inference_download_and_uncompress(${INT8_RESNET50_MODEL_DIR} "https://paddle-inference-dist.bj.bcebos.com/int8" "resnet50_int8_model.tar.gz" )
158158
endif()
159159
inference_analysis_api_int8_test(test_analyzer_int8_resnet50 ${INT8_RESNET50_MODEL_DIR} ${INT8_DATA_DIR} analyzer_int8_image_classification_tester.cc SERIAL)
160160

161161
#mobilenet int8
162162
set(INT8_MOBILENET_MODEL_DIR "${INT8_DATA_DIR}/mobilenet")
163163
if (NOT EXISTS ${INT8_MOBILENET_MODEL_DIR})
164-
inference_download_and_uncompress(${INT8_MOBILENET_MODEL_DIR} "http://paddle-inference-dist.bj.bcebos.com/int8" "mobilenetv1_int8_model.tar.gz" )
164+
inference_download_and_uncompress(${INT8_MOBILENET_MODEL_DIR} "https://paddle-inference-dist.bj.bcebos.com/int8" "mobilenetv1_int8_model.tar.gz" )
165165
endif()
166166
inference_analysis_api_int8_test(test_analyzer_int8_mobilenet ${INT8_MOBILENET_MODEL_DIR} ${INT8_DATA_DIR} analyzer_int8_image_classification_tester.cc SERIAL)
167167
endif()

0 commit comments

Comments
 (0)