From 579892b9162ab7c0afb6edb9df274c2eb08a8030 Mon Sep 17 00:00:00 2001 From: WenmuZhou <572459439@qq.com> Date: Tue, 23 Aug 2022 09:40:47 +0000 Subject: [PATCH] reduce rec tipc lite time --- test_tipc/configs/rec_r31_robustscanner/train_infer_python.txt | 2 +- test_tipc/prepare.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test_tipc/configs/rec_r31_robustscanner/train_infer_python.txt b/test_tipc/configs/rec_r31_robustscanner/train_infer_python.txt index 336e6c73..1bf8dc0b 100644 --- a/test_tipc/configs/rec_r31_robustscanner/train_infer_python.txt +++ b/test_tipc/configs/rec_r31_robustscanner/train_infer_python.txt @@ -1,6 +1,6 @@ ===========================train_params=========================== model_name:rec_r31_robustscanner -python:python +python:python3.7 gpu_list:0|0,1 Global.use_gpu:True|True Global.auto_cast:null diff --git a/test_tipc/prepare.sh b/test_tipc/prepare.sh index 4ea18037..5b574011 100644 --- a/test_tipc/prepare.sh +++ b/test_tipc/prepare.sh @@ -160,6 +160,8 @@ if [ ${MODE} = "lite_train_lite_infer" ];then ln -s ./icdar2015_lite ./icdar2015 wget -nc -P ./ic15_data/ https://paddleocr.bj.bcebos.com/dataset/rec_gt_train_lite.txt --no-check-certificate wget -nc -P ./ic15_data/ https://paddleocr.bj.bcebos.com/dataset/rec_gt_test_lite.txt --no-check-certificate + mv ic15_data/rec_gt_train_lite.txt ic15_data/rec_gt_train.txt + mv ic15_data/rec_gt_test_lite.txt ic15_data/rec_gt_test.txt cd ../ cd ./inference && tar xf rec_inference.tar && cd ../ if [ ${model_name} == "ch_PP-OCRv2_det" ] || [ ${model_name} == "ch_PP-OCRv2_det_PACT" ]; then -- GitLab