ocr_det_params.txt 1.6 KB
Newer Older
L
LDOUBLEV 已提交
1
===========================train_params===========================
L
LDOUBLEV 已提交
2 3 4
model_name:ocr_det
python:python3.7
gpu_list:0|0,1
L
LDOUBLEV 已提交
5
Global.use_gpu:True|True
L
LDOUBLEV 已提交
6
Global.auto_cast:False
L
LDOUBLEV 已提交
7
Global.epoch_num:lite_train_infer=2|whole_train_infer=300
L
LDOUBLEV 已提交
8
Global.save_model_dir:./output/
L
LDOUBLEV 已提交
9
Train.loader.batch_size_per_card:lite_train_infer=2|whole_train_infer=4
L
LDOUBLEV 已提交
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
Global.pretrained_model:null
train_model_name:latest
train_infer_img_dir:./train_data/icdar2015/text_localization/ch4_test_images/
null:null
##
trainer:norm_train|pact_train
norm_train:tools/train.py -c configs/det/det_mv3_db.yml -o Global.pretrained_model=./pretrain_models/MobileNetV3_large_x0_5_pretrained
pact_train:deploy/slim/quantization/quant.py -c configs/det/det_mv3_db.yml -o Global.pretrained_model=./pretrain_models/det_mv3_db_v2.0_train/best_accuracy
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:tools/export_model.py -c configs/det/det_mv3_db.yml -o 
quant_export:deploy/slim/quantization/export_model.py -c configs/det/det_mv3_db.yml -o 
fpgm_export:deploy/slim/prune/export_prune_model.py
distill_export:null
null:null
null:null
##
inference:tools/infer/predict_det.py
--use_gpu:True|False
--enable_mkldnn:True|False
--cpu_threads:1|6
--rec_batch_num:1
--use_tensorrt:True|False
--precision:fp32|fp16|int8
--det_model_dir:./inference/ch_ppocr_mobile_v2.0_det_infer/
--image_dir:./inference/ch_det_data_50/all-sum-510/
--save_log_path:null
--benchmark:True
null:null