File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ train_infer_img_dir:ppstructure/docs/kie/input/zh_val_42.jpg
13
13
null:null
14
14
##
15
15
trainer:norm_train
16
- norm_train:tools/train.py -c test_tipc/configs/layoutxlm_ser/ser_layoutxlm_xfund_zh.yml
16
+ norm_train:tools/train.py -c test_tipc/configs/layoutxlm_ser/ser_layoutxlm_xfund_zh.yml -o
17
17
pact_train:null
18
18
fpgm_train:null
19
19
distill_train:null
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ train_infer_img_dir:./ppstructure/docs/table/table.jpg
13
13
null:null
14
14
##
15
15
trainer:norm_train
16
- norm_train:tools/train.py -c test_tipc/configs/slanet/SLANet.yml
16
+ norm_train:tools/train.py -c test_tipc/configs/slanet/SLANet.yml -o
17
17
pact_train:null
18
18
fpgm_train:null
19
19
distill_train:null
Original file line number Diff line number Diff line change @@ -700,10 +700,18 @@ if [ ${MODE} = "cpp_infer" ];then
700
700
wget -nc -P ./inference https://paddleocr.bj.bcebos.com/PP-OCRv3/chinese/ch_PP-OCRv3_rec_infer.tar --no-check-certificate
701
701
cd ./inference && tar xf ch_PP-OCRv3_det_infer.tar && tar xf ch_PP-OCRv3_rec_infer.tar && tar xf ch_det_data_50.tar && cd ../
702
702
elif [[ ${model_name} =~ " en_table_structure" ]]; then
703
- wget -nc -P ./inference/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/table/en_ppocr_mobile_v2.0_table_structure_infer.tar --no-check-certificate
704
703
wget -nc -P ./inference/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/table/en_ppocr_mobile_v2.0_table_det_infer.tar --no-check-certificate
705
704
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
706
- cd ./inference/ && tar xf en_ppocr_mobile_v2.0_table_structure_infer.tar && tar xf en_ppocr_mobile_v2.0_table_det_infer.tar && tar xf en_ppocr_mobile_v2.0_table_rec_infer.tar && cd ../
705
+
706
+ cd ./inference/ && tar xf en_ppocr_mobile_v2.0_table_det_infer.tar && tar xf en_ppocr_mobile_v2.0_table_rec_infer.tar
707
+ if [ ${model_name} == " en_table_structure" ]; then
708
+ wget -nc https://paddleocr.bj.bcebos.com/dygraph_v2.0/table/en_ppocr_mobile_v2.0_table_structure_infer.tar --no-check-certificate
709
+ tar xf en_ppocr_mobile_v2.0_table_structure_infer.tar
710
+ elif [ ${model_name} == " en_table_structure_PACT" ]; then
711
+ wget -nc https://paddleocr.bj.bcebos.com/dygraph_v2.0/table/en_ppocr_mobile_v2.0_table_structure_slim_infer.tar --no-check-certificate
712
+ tar xf en_ppocr_mobile_v2.0_table_structure_slim_infer.tar
713
+ fi
714
+ cd ../
707
715
elif [[ ${model_name} =~ " slanet" ]]; then
708
716
wget -nc -P ./inference/ https://paddleocr.bj.bcebos.com/ppstructure/models/slanet/ch_ppstructure_mobile_v2.0_SLANet_infer.tar --no-check-certificate
709
717
wget -nc -P ./inference/ https://paddleocr.bj.bcebos.com/PP-OCRv3/chinese/ch_PP-OCRv3_det_infer.tar --no-check-certificate
You can’t perform that action at this time.
0 commit comments