train_infer_python.txt 1.9 KB
Newer Older
1
===========================train_params===========================
A
andyjpaddle 已提交
2
model_name:ch_PP-OCRv3_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 9 10 11 12 13 14 15
Global.save_model_dir:./output/
Train.loader.batch_size_per_card:lite_train_lite_infer=16|whole_train_whole_infer=128
Global.pretrained_model:null
train_model_name:latest
train_infer_img_dir:./inference/rec_inference
null:null
##
trainer:norm_train
文幕地方's avatar
文幕地方 已提交
16
norm_train:tools/train.py -c test_tipc/configs/ch_PP-OCRv3_rec/ch_PP-OCRv3_rec_distillation.yml -o Global.print_batch_step=1 Train.loader.shuffle=false
17 18 19
pact_train:null
fpgm_train:null
distill_train:null
20
to_static_train:Global.to_static=true
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
null:null
##
===========================eval_params=========================== 
eval:null
null:null
##
===========================infer_params===========================
Global.save_inference_dir:./output/
Global.checkpoints:
norm_export:tools/export_model.py -c test_tipc/configs/ch_PP-OCRv3_rec/ch_PP-OCRv3_rec_distillation.yml -o 
quant_export:
fpgm_export: 
distill_export:null
export1:null
export2:null
inference_dir:Student
infer_model:./inference/ch_PP-OCRv3_rec_infer
infer_export:null
infer_quant:False
inference:tools/infer/predict_rec.py --rec_image_shape="3,48,320"
--use_gpu:True|False
A
andyjpaddle 已提交
42
--enable_mkldnn:False
文幕地方's avatar
文幕地方 已提交
43
--cpu_threads:6
文幕地方's avatar
文幕地方 已提交
44
--rec_batch_num:1
A
andyjpaddle 已提交
45
--use_tensorrt:False
A
andyjpaddle 已提交
46
--precision:fp32
47 48 49 50 51 52 53
--rec_model_dir:
--image_dir:./inference/rec_inference
null:null
--benchmark:True
null:null
===========================infer_benchmark_params==========================
random_infer_input:[{float32,[3,48,320]}]
文幕地方's avatar
文幕地方 已提交
54
===========================train_benchmark_params==========================
文幕地方's avatar
文幕地方 已提交
55
batch_size:64
文幕地方's avatar
文幕地方 已提交
56 57 58
fp_items:fp32|fp16
epoch:1
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
文幕地方's avatar
文幕地方 已提交
59
flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096
文幕地方's avatar
文幕地方 已提交
60