train_infer_python.txt 1.7 KB
Newer Older
L
LDOUBLEV 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14
===========================train_params===========================
model_name:ocr_server_det
python:python3.7
gpu_list:0|0,1
Global.use_gpu:True|True
Global.auto_cast:null
Global.epoch_num:lite_train_infer=2|whole_train_infer=300
Global.save_model_dir:./output/
Train.loader.batch_size_per_card:lite_train_infer=2|whole_train_infer=4
Global.pretrained_model:null
train_model_name:latest
train_infer_img_dir:./train_data/icdar2015/text_localization/ch4_test_images/
null:null
##
L
LDOUBLEV 已提交
15 16 17 18
trainer:norm_train|pact_train|fpgm_export
norm_train:tools/train.py -c tests/configs/det_r50_vd_db.yml -o 
quant_export:deploy/slim/quantization/export_model.py -c tests/configs/det_r50_vd_db.yml -o 
fpgm_export:deploy/slim/prune/export_prune_model.py -c tests/configs/det_r50_vd_db.yml -o 
L
LDOUBLEV 已提交
19 20 21 22 23
distill_train:null
null:null
null:null
##
===========================eval_params=========================== 
L
LDOUBLEV 已提交
24
eval:tools/eval.py -c tests/configs/det_r50_vd_db.yml -o
L
LDOUBLEV 已提交
25 26 27 28 29
null:null
##
===========================infer_params===========================
Global.save_inference_dir:./output/
Global.pretrained_model:
L
LDOUBLEV 已提交
30
norm_export:tools/export_model.py -c tests/configs/det_r50_vd_db.yml -o 
L
LDOUBLEV 已提交
31 32 33 34 35 36
quant_export:null 
fpgm_export:null
distill_export:null
export1:null
export2:null
##
L
LDOUBLEV 已提交
37 38
train_model:./inference/ch_ppocr_server_v2.0_det_train/best_accuracy
infer_export:tools/export_model.py -c configs/det/ch_ppocr_v2.0/ch_det_res18_db_v2.0.yml -o
L
LDOUBLEV 已提交
39 40 41 42 43 44 45 46 47 48 49 50
infer_quant:False
inference:tools/infer/predict_det.py
--use_gpu:True|False
--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
L
LDOUBLEV 已提交
51
null:null