From ee7694ecf927f67d897289018b099a8450a79536 Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Fri, 19 Nov 2021 10:39:27 +0800 Subject: [PATCH] opt kl quant --- .../infer_python.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test_tipc/configs/ch_ppocr_mobile_v2.0_det_KL/infer_python.txt diff --git a/test_tipc/configs/ch_ppocr_mobile_v2.0_det_KL/infer_python.txt b/test_tipc/configs/ch_ppocr_mobile_v2.0_det_KL/infer_python.txt new file mode 100644 index 00000000..ea74b7fe --- /dev/null +++ b/test_tipc/configs/ch_ppocr_mobile_v2.0_det_KL/infer_python.txt @@ -0,0 +1,17 @@ +===========================kl_quant_params=========================== +infer_model:./inference/ch_ppocr_mobile_v2.0_det_infer/ +infer_export:deploy/slim/quantization/quant_kl.py -c configs/det/ch_ppocr_v2.0/ch_det_mv3_db_v2.0.yml -o +infer_quant:True +inference:tools/infer/predict_det.py +--use_gpu:False +--enable_mkldnn:False +--cpu_threads:1|6 +--rec_batch_num:1 +--use_tensorrt:False +--precision:int8 +--det_model_dir: +--image_dir:./inference/ch_det_data_50/all-sum-510/ +null:null +--benchmark:True +null:null +null:null -- GitLab