diff --git a/test_tipc/prepare.sh b/test_tipc/prepare.sh index 81841b612d602b7d45768768ded4faa3ae6d781e..301c1b06329ebb0d6c8d944c74386acfae290f2b 100644 --- a/test_tipc/prepare.sh +++ b/test_tipc/prepare.sh @@ -324,7 +324,7 @@ if [[ ${MODE} = "paddle2onnx_infer" ]]; then python_name=$(func_parser_value "${lines[2]}") inference_model_url=$(func_parser_value "${lines[10]}") tar_name=$(func_get_url_file_name "$inference_model_url") - + ${python_name} -m pip install onnx ${python_name} -m pip install paddle2onnx ${python_name} -m pip install onnxruntime @@ -368,13 +368,10 @@ if [[ ${MODE} = "benchmark_train" ]]; then ln -s demo_test.txt val_list.txt else rm -rf ILSVRC2012 - wget -nc https://paddle-imagenet-models-name.bj.bcebos.com/data/ImageNet1k/ILSVRC2012_val.tar - tar xf ILSVRC2012_val.tar - ln -s ILSVRC2012_val ILSVRC2012 - cd ILSVRC2012 - rm -rf train_list.txt - ln -s val_list.txt train_list.txt + wget -nc https://paddle-wheel.bj.bcebos.com/benchmark/ILSVRC2012_w.tar + tar xf ILSVRC2012_w.tar + ln -s ILSVRC2012_w ILSVRC2012 fi - cd ../../ + cd ../ fi