diff --git a/test_tipc/prepare.sh b/test_tipc/prepare.sh index d97f3b07350629efbebc60975ae4a8f24b72051a..448950399273253afee98e16d451c626399dd2ed 100644 --- a/test_tipc/prepare.sh +++ b/test_tipc/prepare.sh @@ -350,8 +350,8 @@ elif [ ${MODE} = "whole_infer" ];then python_name_list=$(func_parser_value "${lines[2]}") array=(${python_name_list}) python_name=${array[0]} - ${python_name} -m pip install paddleslim - ${python_name} -m pip install -r requirements.txt + ${python_name} -m pip install paddleslim --force-reinstall + ${python_name} -m pip install -r requirements.txt wget -nc -P ./inference https://paddleocr.bj.bcebos.com/dygraph_v2.0/test/ch_det_data_50.tar --no-check-certificate wget -nc -P ./inference/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/test/rec_inference.tar --no-check-certificate cd ./inference && tar xf rec_inference.tar && tar xf ch_det_data_50.tar && cd ../