diff --git a/test_tipc/configs/det_r18_vd_v2_0/train_infer_python.txt b/test_tipc/configs/det_r18_vd_db_v2_0/train_infer_python.txt similarity index 100% rename from test_tipc/configs/det_r18_vd_v2_0/train_infer_python.txt rename to test_tipc/configs/det_r18_vd_db_v2_0/train_infer_python.txt diff --git a/test_tipc/prepare.sh b/test_tipc/prepare.sh index bd4af1923c0e00a613ea2734c6fa90232d35469f..c950c059e7154d2b856f0ee7a7d6e0a5de67b938 100644 --- a/test_tipc/prepare.sh +++ b/test_tipc/prepare.sh @@ -60,6 +60,9 @@ if [ ${MODE} = "lite_train_lite_infer" ];then ln -s ./icdar2015_lite ./icdar2015 cd ../ cd ./inference && tar xf rec_inference.tar && cd ../ + if [ ${model_name} == "" ]; then + wget -nc -P ./pretrain_models/ https://paddleocr.bj.bcebos.com/pretrained/ResNet18_vd_pretrained.pdparams --no-check-certificate + fi if [ ${model_name} == "en_server_pgnetA" ]; then wget -nc -P ./train_data/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/test/total_text_lite.tar --no-check-certificate wget -nc -P ./pretrain_models/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/pgnet/en_server_pgnetA.tar --no-check-certificate