diff --git a/test_tipc/prepare.sh b/test_tipc/prepare.sh index 90fac5ecab319969f70baafac8f0717d18f1bed5..1c0e16044c4264d14a93e2e0470ea95e7d5d4ba6 100644 --- a/test_tipc/prepare.sh +++ b/test_tipc/prepare.sh @@ -223,6 +223,9 @@ if [ ${MODE} = "lite_train_lite_infer" ];then cd ./pretrain_models/ && tar xf ch_ppocr_mobile_v2.0_rec_train.tar && cd ../ ${python_name} -m pip install paddleslim fi + if [ ${model_name} == "ch_ppocr_mobile_v2_0_det_FPGM" ]; then + ${python_name} -m pip install paddleslim + fi if [ ${model_name} == "det_mv3_east_v2_0" ]; then wget -nc -P ./pretrain_models/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/en/det_mv3_east_v2.0_train.tar --no-check-certificate cd ./pretrain_models/ && tar xf det_mv3_east_v2.0_train.tar && cd ../