mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-11-17 18:43:33 +00:00
fix tipc
This commit is contained in:
parent
84b72584f2
commit
85a64cb0cb
@ -8,7 +8,7 @@ Global:
|
|||||||
# evaluation is run every 5000 iterations after the 4000th iteration
|
# evaluation is run every 5000 iterations after the 4000th iteration
|
||||||
eval_batch_step: [3000, 2000]
|
eval_batch_step: [3000, 2000]
|
||||||
cal_metric_during_train: False
|
cal_metric_during_train: False
|
||||||
pretrained_model: ./pretrain_models/ch_PP-OCRv2_det_distill_train/best_accuracy
|
pretrained_model:
|
||||||
checkpoints:
|
checkpoints:
|
||||||
save_inference_dir:
|
save_inference_dir:
|
||||||
use_visualdl: False
|
use_visualdl: False
|
||||||
|
|||||||
@ -60,7 +60,11 @@ if [ ${MODE} = "lite_train_lite_infer" ];then
|
|||||||
ln -s ./icdar2015_lite ./icdar2015
|
ln -s ./icdar2015_lite ./icdar2015
|
||||||
cd ../
|
cd ../
|
||||||
cd ./inference && tar xf rec_inference.tar && cd ../
|
cd ./inference && tar xf rec_inference.tar && cd ../
|
||||||
if [ ${model_name} == "" ]; then
|
if [ ${model_name} == "ch_PPOCRv2_det" ]; then
|
||||||
|
wget -nc -P ./pretrain_models/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/ch/ch_ppocr_mobile_v2.0_det_train.tar --no-check-certificate
|
||||||
|
cd ./pretrain_models/ && tar xf ch_ppocr_mobile_v2.0_det_train.tar && cd ../
|
||||||
|
fi
|
||||||
|
if [ ${model_name} == "det_r18_db_v2_0" ]; then
|
||||||
wget -nc -P ./pretrain_models/ https://paddleocr.bj.bcebos.com/pretrained/ResNet18_vd_pretrained.pdparams --no-check-certificate
|
wget -nc -P ./pretrain_models/ https://paddleocr.bj.bcebos.com/pretrained/ResNet18_vd_pretrained.pdparams --no-check-certificate
|
||||||
fi
|
fi
|
||||||
if [ ${model_name} == "en_server_pgnetA" ]; then
|
if [ ${model_name} == "en_server_pgnetA" ]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user