36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
model_name:ocr_det
|
|
python:python3.7
|
|
gpu_list:-1|0|0,1
|
|
Global.auto_cast:False|True
|
|
Global.epoch_num:10
|
|
Global.save_model_dir:./output/
|
|
Global.save_inference_dir:./output/
|
|
Train.loader.batch_size_per_card:
|
|
Global.use_gpu
|
|
Global.pretrained_model
|
|
|
|
trainer:norm|pact|fpgm
|
|
norm_train:tools/train.py -c configs/det/det_mv3_db.yml -o Global.pretrained_model=./pretrain_models/MobileNetV3_large_x0_5_pretrained
|
|
quant_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
|
|
|
|
eval:tools/eval.py -c configs/det/det_mv3_db.yml -o
|
|
|
|
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
|
|
|
|
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
|
|
--image_dir
|
|
--save_log_path
|
|
|