From de809245456b23b5fa3240121bd62964883d2be3 Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Fri, 26 Nov 2021 10:11:00 +0800 Subject: [PATCH] fix prepare.sh --- test_tipc/prepare.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test_tipc/prepare.sh b/test_tipc/prepare.sh index 49b0fc7c..34239f19 100644 --- a/test_tipc/prepare.sh +++ b/test_tipc/prepare.sh @@ -53,11 +53,13 @@ if [ ${MODE} = "lite_train_lite_infer" ];then cd ./train_data && tar xf total_text_lite.tar && ln -s total_text && cd ../ fi if [ ${model_name} == "det_mv3_db_v2.0" ]; then - wget -nc -P https://paddleocr.bj.bcebos.com/dygraph_v2.0/en/det_mv3_db_v2.0_train.tar --no-check-certificate - cd ./inference/ && tar det_mv3_db_v2.0_train.tar && cd ../ + wget -nc -P ./inference/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/en/det_mv3_db_v2.0_train.tar --no-check-certificate + cd ./inference/ && tar xf det_mv3_db_v2.0_train.tar && cd ../ fi if [ ${model_name} == "det_r50_db_v2.0" ]; then wget -nc -P ./pretrain_models/ https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/ResNet50_vd_ssld_pretrained.pdparams --no-check-certificate + wget -nc -P ./inference/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/en/det_r50_vd_db_v2.0_train.tar --no-check-certificate + cd ./inference/ && tar xf det_r50_vd_db_v2.0_train.tar && cd ../ fi elif [ ${MODE} = "whole_train_whole_infer" ];then -- GitLab