From 00a8735073951a69fefee663e426d0d8946ed9b7 Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Thu, 24 Mar 2022 17:52:36 +0800 Subject: [PATCH] fix prepare.sh --- .../train_infer_python.txt | 0 test_tipc/prepare.sh | 3 +++ 2 files changed, 3 insertions(+) rename test_tipc/configs/{det_r18_vd_v2_0 => det_r18_vd_db_v2_0}/train_infer_python.txt (100%) 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 bd4af192..c950c059 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 -- GitLab