68 lines
1.6 KiB
Plaintext
68 lines
1.6 KiB
Plaintext
|
===========================train_params===========================
|
||
|
model_name:ocr_system_mobile
|
||
|
python:python3.7
|
||
|
gpu_list:null
|
||
|
Global.use_gpu:null
|
||
|
Global.auto_cast:null
|
||
|
Global.epoch_num:null
|
||
|
Global.save_model_dir:./output/
|
||
|
Train.loader.batch_size_per_card:null
|
||
|
Global.pretrained_model:null
|
||
|
train_model_name:null
|
||
|
train_infer_img_dir:null
|
||
|
null:null
|
||
|
##
|
||
|
trainer:
|
||
|
norm_train:null
|
||
|
pact_train:null
|
||
|
fpgm_train:null
|
||
|
distill_train:null
|
||
|
null:null
|
||
|
null:null
|
||
|
##
|
||
|
===========================eval_params===========================
|
||
|
eval:null
|
||
|
null:null
|
||
|
##
|
||
|
===========================infer_params===========================
|
||
|
Global.save_inference_dir:./output/
|
||
|
Global.pretrained_model:
|
||
|
norm_export:null
|
||
|
quant_export:null
|
||
|
fpgm_export:null
|
||
|
distill_export:null
|
||
|
export1:null
|
||
|
export2:null
|
||
|
##
|
||
|
infer_model:./inference/ch_ppocr_mobile_v2.0_det_infer/
|
||
|
infer_export:null
|
||
|
infer_quant:False
|
||
|
inference:tools/infer/predict_system.py
|
||
|
--use_gpu:True
|
||
|
--enable_mkldnn:True|False
|
||
|
--cpu_threads:1|6
|
||
|
--rec_batch_num:1
|
||
|
--use_tensorrt:False|True
|
||
|
--precision:fp32|fp16|int8
|
||
|
--det_model_dir:
|
||
|
--image_dir:./inference/ch_det_data_50/all-sum-510/
|
||
|
--save_log_path:null
|
||
|
--benchmark:True
|
||
|
--rec_model_dir:./inference/ch_ppocr_mobile_v2.0_rec_infer/
|
||
|
===========================cpp_infer_params===========================
|
||
|
use_opencv:True
|
||
|
infer_model:./inference/ch_ppocr_mobile_v2.0_det_infer/
|
||
|
infer_quant:False
|
||
|
inference:./deploy/cpp_infer/build/ppocr system
|
||
|
--use_gpu:True|False
|
||
|
--enable_mkldnn:True|False
|
||
|
--cpu_threads:1|6
|
||
|
--rec_batch_num:1
|
||
|
--use_tensorrt:False|True
|
||
|
--precision:fp32|fp16
|
||
|
--det_model_dir:
|
||
|
--image_dir:./inference/ch_det_data_50/all-sum-510/
|
||
|
--rec_model_dir:./inference/ch_ppocr_mobile_v2.0_rec_infer/
|
||
|
--benchmark:True
|
||
|
|