train_infer_python.txt 1.4 KB
Newer Older
1 2 3 4 5 6
===========================train_params===========================
model_name:PPOCRv2_ocr_rec
python:python3.7
gpu_list:0|0,1
Global.use_gpu:True|True
Global.auto_cast:fp32
L
LDOUBLEV 已提交
7
Global.epoch_num:lite_train_lite_infer=3|whole_train_whole_infer=300
8
Global.save_model_dir:./output/
L
fix rec  
LDOUBLEV 已提交
9
Train.loader.batch_size_per_card:lite_train_lite_infer=16|whole_train_whole_infer=128
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
Global.pretrained_model:null
train_model_name:latest
train_infer_img_dir:./inference/rec_inference
null:null
##
trainer:norm_train
norm_train:tools/train.py -c test_tipc/configs/ch_PP-OCRv2_rec/ch_PP-OCRv2_rec_distillation.yml -o 
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/
29
Global.checkpoints:
30 31 32 33 34 35 36
norm_export:tools/export_model.py -c test_tipc/configs/ch_PP-OCRv2_rec/ch_PP-OCRv2_rec_distillation.yml -o 
quant_export:
fpgm_export: 
distill_export:null
export1:null
export2:null
inference_dir:Student
A
andyjpaddle 已提交
37
infer_model:./inference/ch_PP-OCRv2_rec_infer
38 39 40 41 42 43 44 45
infer_export:null
infer_quant:False
inference:tools/infer/predict_rec.py
--use_gpu:True|False
--enable_mkldnn:True|False
--cpu_threads:1|6
--rec_batch_num:1|6
--use_tensorrt:False|True
A
andyjpaddle 已提交
46
--precision:fp32|int8
47
--rec_model_dir:
A
andyjpaddle 已提交
48
--image_dir:./inference/rec_inference
49 50 51 52 53
null:null
--benchmark:True
null:null