From c40de77ca5f43e1f03aeb01547938ab57f0ab631 Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Wed, 28 Jul 2021 07:26:24 +0000 Subject: [PATCH] fix inference --- tests/ocr_det_params.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ocr_det_params.txt b/tests/ocr_det_params.txt index 99b53254..e167e619 100644 --- a/tests/ocr_det_params.txt +++ b/tests/ocr_det_params.txt @@ -38,12 +38,12 @@ infer_model:./inference/ch_ppocr_mobile_v2.0_det_train/best_accuracy|./inference infer_export:tools/export_model.py -c configs/det/det_mv3_db.yml -o |null infer_quant:False|True inference:tools/infer/predict_det.py ---use_gpu:True +--use_gpu:True|False --enable_mkldnn:True|False --cpu_threads:1|6 --rec_batch_num:1 --use_tensorrt:False|True ---precision:fp32|int8 +--precision:fp32|fp16|int8 --det_model_dir: --image_dir:./inference/ch_det_data_50/all-sum-510/ --save_log_path:null -- GitLab