From 1be99ac7d8967cefc12738a52793885390982f7c Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Thu, 19 Aug 2021 11:13:30 +0000 Subject: [PATCH] add prepare.sh server --- tests/prepare.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/prepare.sh b/tests/prepare.sh index 418e5661..8138f26d 100644 --- a/tests/prepare.sh +++ b/tests/prepare.sh @@ -65,6 +65,10 @@ else wget -nc -P ./inference https://paddleocr.bj.bcebos.com/dygraph_v2.0/test/ch_det_data_50.tar wget -nc -P ./inference https://paddleocr.bj.bcebos.com/dygraph_v2.0/ch/ch_ppocr_mobile_v2.0_det_infer.tar cd ./inference && tar xf ${eval_model_name}.tar && tar xf ch_det_data_50.tar && cd ../ + elif [ ${model_name} = "ocr_server_det" ]; then + wget -nc -P ./inference https://paddleocr.bj.bcebos.com/dygraph_v2.0/ch/ch_ppocr_server_v2.0_det_infer.tar + wget -nc -P ./inference https://paddleocr.bj.bcebos.com/dygraph_v2.0/test/ch_det_data_50.tar + cd ./inference && tar xf ch_ppocr_server_v2.0_det_infer.tar && tar xf ch_det_data_50.tar && cd ../ else rm -rf ./train_data/ic15_data eval_model_name="ch_ppocr_mobile_v2.0_rec_infer" -- GitLab