From f312fa12af429c2fd34f5c2b0c4a6549d52a0b0d Mon Sep 17 00:00:00 2001 From: WenmuZhou <572459439@qq.com> Date: Thu, 22 Sep 2022 15:09:57 +0800 Subject: [PATCH] force-reinstall paddleslim --- test_tipc/prepare.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_tipc/prepare.sh b/test_tipc/prepare.sh index d97f3b07..44895039 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 ../ -- GitLab