Skip to content

Commit

Permalink
fix prepare.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
LDOUBLEV committed Nov 26, 2021
1 parent cb7e037 commit de80924
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test_tipc/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit de80924

Please sign in to comment.