train_infer_python.txt 1.5 KB
Newer Older
1
===========================train_params===========================
A
andyjpaddle 已提交
2
model_name:ch_PP-OCRv2_rec
3 4 5 6
python:python3.7
gpu_list:0|0,1
Global.use_gpu:True|True
Global.auto_cast:fp32
A
andyjpaddle 已提交
7
Global.epoch_num:lite_train_lite_infer=3|whole_train_whole_infer=50
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
infer_export:null
infer_quant:False
inference:tools/infer/predict_rec.py
--use_gpu:True|False
A
andyjpaddle 已提交
42 43
--enable_mkldnn:False
--cpu_threads:6
44
--rec_batch_num:1|6
A
andyjpaddle 已提交
45
--use_tensorrt:False
A
andyjpaddle 已提交
46
--precision:fp32
47
--rec_model_dir:
A
andyjpaddle 已提交
48
--image_dir:./inference/rec_inference
49 50 51
null:null
--benchmark:True
null:null
52 53
===========================infer_benchmark_params==========================
random_infer_input:[{float32,[3,32,320]}]