From 10b38eba95c4ea38e80b7dfb561da800d829e641 Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Wed, 5 Jan 2022 15:07:24 +0800 Subject: [PATCH] fix download failed --- test_tipc/prepare.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test_tipc/prepare.sh b/test_tipc/prepare.sh index 5c67642e..4f703832 100644 --- a/test_tipc/prepare.sh +++ b/test_tipc/prepare.sh @@ -239,8 +239,7 @@ fi if [ ${MODE} = "klquant_whole_infer" ]; then wget -nc -P ./train_data/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/test/icdar2015_lite.tar --no-check-certificate - cd ./train_data/ && tar xf icdar2015_lite.tar - ln -s ./icdar2015_lite ./icdar2015 && cd ../ + cd ./train_data/ && tar xf icdar2015_lite.tar && rm -rf ./icdar2015 && ln -s ./icdar2015_lite ./icdar2015 && cd ../ if [ ${model_name} = "ch_ppocr_mobile_v2.0_det_KL" ]; then wget -nc -P ./inference https://paddleocr.bj.bcebos.com/dygraph_v2.0/ch/ch_ppocr_mobile_v2.0_det_infer.tar --no-check-certificate wget -nc -P ./inference https://paddleocr.bj.bcebos.com/dygraph_v2.0/test/ch_det_data_50.tar --no-check-certificate -- GitLab