From 9a0aa1373ee6cc3acb18a0b3e4ecd9e3b5dc6ed5 Mon Sep 17 00:00:00 2001 From: wangjingyeye <1025993141@qq.com> Date: Wed, 6 Jul 2022 11:36:34 +0000 Subject: [PATCH 1/2] add tipc --- .../train_infer_python.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename test_tipc/configs/{det_r50_db++ => det_r50_db_plusplus}/train_infer_python.txt (98%) diff --git a/test_tipc/configs/det_r50_db++/train_infer_python.txt b/test_tipc/configs/det_r50_db_plusplus/train_infer_python.txt similarity index 98% rename from test_tipc/configs/det_r50_db++/train_infer_python.txt rename to test_tipc/configs/det_r50_db_plusplus/train_infer_python.txt index bcf393a52b..04a3e84585 100644 --- a/test_tipc/configs/det_r50_db++/train_infer_python.txt +++ b/test_tipc/configs/det_r50_db_plusplus/train_infer_python.txt @@ -1,5 +1,5 @@ ===========================train_params=========================== -model_name:det_r50_db++ +model_name:det_r50_db_plusplus python:python3.7 gpu_list:0|0,1 Global.use_gpu:True|True From d92fa1c6a555b925fa8ec05fc88066adb18f33e4 Mon Sep 17 00:00:00 2001 From: wangjingyeye <1025993141@qq.com> Date: Wed, 6 Jul 2022 16:30:41 +0000 Subject: [PATCH 2/2] add tipc --- test_tipc/prepare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_tipc/prepare.sh b/test_tipc/prepare.sh index 32df8e7865..6387795e8a 100644 --- a/test_tipc/prepare.sh +++ b/test_tipc/prepare.sh @@ -59,7 +59,7 @@ if [ ${MODE} = "lite_train_lite_infer" ];then wget -nc -P ./inference/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/table/en_ppocr_mobile_v2.0_table_rec_infer.tar --no-check-certificate cd ./inference/ && tar xf en_ppocr_mobile_v2.0_table_det_infer.tar && tar xf en_ppocr_mobile_v2.0_table_rec_infer.tar && cd ../ fi - if [[ ${model_name} =~ "det_r50_db++" ]];then + if [[ ${model_name} =~ "det_r50_db_plusplus" ]];then wget -nc -P ./pretrain_models/ https://paddleocr.bj.bcebos.com/dygraph_v2.1/en_det/ResNet50_dcn_asf_synthtext_pretrained.pdparams --no-check-certificate fi cd ./pretrain_models/ && tar xf det_mv3_db_v2.0_train.tar && cd ../