File tree Expand file tree Collapse file tree 2 files changed +2
-89
lines changed
paddle/fluid/inference/tests/api Expand file tree Collapse file tree 2 files changed +2
-89
lines changed Original file line number Diff line number Diff line change @@ -83,13 +83,8 @@ inference_analysis_api_test_with_fake_data(test_analyzer_resnet50
83
83
"${INFERENCE_DEMO_INSTALL_DIR} /resnet50" analyzer_resnet50_tester.cc "resnet50_model.tar.gz" )
84
84
85
85
# mobilenet
86
- set (MOBILENET_INSTALL_DIR "${INFERENCE_DEMO_INSTALL_DIR} /mobilenet" )
87
- if (NOT EXISTS ${MOBILENET_INSTALL_DIR} )
88
- inference_download_and_uncompress (${MOBILENET_INSTALL_DIR} "http://paddle-inference-dist.bj.bcebos.com/tensorrt_test" "mobilenet.tar.gz" )
89
- file (RENAME ${MOBILENET_INSTALL_DIR} /mobilenet/__model__ ${MOBILENET_INSTALL_DIR} /mobilenet/model )
90
- endif ()
91
- inference_analysis_test (test_analyzer_mobilenet SRCS analyzer_mobilenet_tester.cc
92
- EXTRA_DEPS ${INFERENCE_EXTRA_DEPS} ARGS --infer_model=${MOBILENET_INSTALL_DIR}/mobilenet )
86
+ inference_analysis_api_test_with_fake_data (test_analyzer_mobilenet
87
+ "${INFERENCE_DEMO_INSTALL_DIR} /mobilenet" analyzer_resnet50_tester.cc "mobilenet_model.tar.gz" )
93
88
94
89
# anakin
95
90
if (WITH_ANAKIN AND WITH_MKL ) # only needed in CI
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments