diff --git a/tests/ocr_det_params.txt b/tests/ocr_det_params.txt index 7f6481177a0f60fd3f05408b6b11b0a3e6ba835a..1773bf3b9370d56edb290a698212cb79a88f1c6f 100644 --- a/tests/ocr_det_params.txt +++ b/tests/ocr_det_params.txt @@ -12,7 +12,7 @@ train_model_name:latest train_infer_img_dir:./train_data/icdar2015/text_localization/ch4_test_images/ null:null ## -trainer:norm_train|pact_train +trainer:norm_train|pact_train|fpgm_train norm_train:tools/train.py -c tests/configs/det_mv3_db.yml -o Global.pretrained_model=./pretrain_models/MobileNetV3_large_x0_5_pretrained pact_train:deploy/slim/quantization/quant.py -c tests/configs/det_mv3_db.yml -o fpgm_train:deploy/slim/prune/sensitivity_anal.py -c tests/configs/det_mv3_db.yml -o Global.pretrained_model=./pretrain_models/det_mv3_db_v2.0_train/best_accuracy @@ -21,13 +21,13 @@ null:null null:null ## ===========================eval_params=========================== -eval:tools/eval.py -c tests/configs/det_mv3_db.yml -o +eval:null null:null ## ===========================infer_params=========================== Global.save_inference_dir:./output/ Global.pretrained_model: -norm_export:tools/export_model.py -c configs/det/ch_ppocr_v2.0/ch_det_mv3_db_v2.0.yml -o +norm_export:tools/export_model.py -c tests/configs/det_mv3_db.yml -o quant_export:deploy/slim/quantization/export_model.py -c tests/configs/det_mv3_db.yml -o fpgm_export:deploy/slim/prune/export_prune_model.py -c tests/configs/det_mv3_db.yml -o distill_export:null @@ -35,7 +35,7 @@ export1:null export2:null ## train_model:./inference/ch_ppocr_mobile_v2.0_det_train/best_accuracy -infer_export:tools/export_model.py -c tests/configs/ch_ppocr_v2.0/ch_det_mv3_db_v2.0.yml -o +infer_export:tools/export_model.py -c configs/det/ch_ppocr_v2.0/ch_det_mv3_db_v2.0.yml -o infer_quant:False inference:tools/infer/predict_det.py --use_gpu:True|False diff --git a/tests/ocr_rec_params.txt b/tests/ocr_rec_params.txt index 504f45b8b98695e77fcb89144b32d8a556c0c143..60cd19785c5caaaf7cb45b843346011ea308d669 100644 --- a/tests/ocr_rec_params.txt +++ b/tests/ocr_rec_params.txt @@ -17,7 +17,7 @@ norm_train:tools/train.py -c configs/rec/rec_icdar15_train.yml -o pact_train:deploy/slim/quantization/quant.py -c configs/rec/rec_icdar15_train.yml -o fpgm_train:null distill_train:null -kl_quant:deploy/slim/quantization/quant_kl.py -c configs/rec/rec_icdar15_train.yml -o Global.pretrained_model=./inference/ch_ppocr_mobile_v2.0_rec_infer/ +null:null null:null ## ===========================eval_params===========================