PaddleOCR/tests/configs/ppocr_det_mobile_params.txt

99 lines
3.5 KiB
Plaintext
Raw Normal View History

2021-07-19 07:27:38 +00:00
===========================train_params===========================
2021-07-14 06:20:52 +00:00
model_name:ocr_det
python:python3.7
gpu_list:0|0,1
2021-07-15 02:12:16 +00:00
Global.use_gpu:True|True
2021-07-28 07:21:16 +00:00
Global.auto_cast:null
2021-08-26 09:21:19 +00:00
Global.epoch_num:lite_train_infer=1|whole_train_infer=300
2021-07-14 06:20:52 +00:00
Global.save_model_dir:./output/
2021-07-19 07:09:35 +00:00
Train.loader.batch_size_per_card:lite_train_infer=2|whole_train_infer=4
2021-07-14 06:20:52 +00:00
Global.pretrained_model:null
train_model_name:latest
train_infer_img_dir:./train_data/icdar2015/text_localization/ch4_test_images/
null:null
##
2021-09-09 12:22:23 +00:00
trainer:norm_train|pact_train|fpgm_train
2021-08-31 12:46:07 +00:00
norm_train:tools/train.py -c tests/configs/det_mv3_db.yml -o Global.pretrained_model=./pretrain_models/MobileNetV3_large_x0_5_pretrained
2021-08-31 12:56:49 +00:00
pact_train:deploy/slim/quantization/quant.py -c tests/configs/det_mv3_db.yml -o
fpgm_train:deploy/slim/prune/sensitivity_anal.py -c tests/configs/det_mv3_db.yml -o Global.pretrained_model=./pretrain_models/det_mv3_db_v2.0_train/best_accuracy
2021-07-14 06:20:52 +00:00
distill_train:null
null:null
null:null
##
===========================eval_params===========================
2021-09-09 12:22:23 +00:00
eval:null
2021-07-14 06:20:52 +00:00
null:null
##
===========================infer_params===========================
Global.save_inference_dir:./output/
Global.pretrained_model:
2021-08-31 12:56:49 +00:00
norm_export:tools/export_model.py -c tests/configs/det_mv3_db.yml -o
quant_export:deploy/slim/quantization/export_model.py -c tests/configs/det_mv3_db.yml -o
fpgm_export:deploy/slim/prune/export_prune_model.py -c tests/configs/det_mv3_db.yml -o
2021-07-14 06:20:52 +00:00
distill_export:null
export1:null
export2:null
2021-07-14 06:20:52 +00:00
##
2021-09-02 19:23:01 +08:00
train_model:./inference/ch_ppocr_mobile_v2.0_det_train/best_accuracy
2021-09-09 12:22:23 +00:00
infer_export:tools/export_model.py -c configs/det/ch_ppocr_v2.0/ch_det_mv3_db_v2.0.yml -o
2021-07-28 07:34:46 +00:00
infer_quant:False
2021-07-14 06:20:52 +00:00
inference:tools/infer/predict_det.py
2021-07-28 07:26:24 +00:00
--use_gpu:True|False
2021-07-14 06:20:52 +00:00
--enable_mkldnn:True|False
2021-10-12 11:09:16 +08:00
--cpu_threads:1|6
2021-07-14 06:20:52 +00:00
--rec_batch_num:1
--use_tensorrt:False|True
2021-07-28 07:26:24 +00:00
--precision:fp32|fp16|int8
--det_model_dir:
2021-07-14 06:20:52 +00:00
--image_dir:./inference/ch_det_data_50/all-sum-510/
2021-10-12 14:21:16 +08:00
null:null
2021-07-14 06:20:52 +00:00
--benchmark:True
null:null
2021-08-19 07:27:55 +00:00
===========================cpp_infer_params===========================
2021-08-24 06:27:47 +00:00
use_opencv:True
2021-08-19 07:27:55 +00:00
infer_model:./inference/ch_ppocr_mobile_v2.0_det_infer/
infer_quant:False
inference:./deploy/cpp_infer/build/ppocr det
--use_gpu:True|False
--enable_mkldnn:True|False
--cpu_threads:1|6
--rec_batch_num:1
--use_tensorrt:False|True
--precision:fp32|fp16
--det_model_dir:
--image_dir:./inference/ch_det_data_50/all-sum-510/
2021-09-08 02:43:27 +00:00
null:null
2021-08-19 07:27:55 +00:00
--benchmark:True
===========================serving_params===========================
2021-08-13 13:41:25 +00:00
trans_model:-m paddle_serving_client.convert
--dirname:./inference/ch_ppocr_mobile_v2.0_det_infer/
--model_filename:inference.pdmodel
--params_filename:inference.pdiparams
--serving_server:./deploy/pdserving/ppocr_det_mobile_2.0_serving/
--serving_client:./deploy/pdserving/ppocr_det_mobile_2.0_client/
serving_dir:./deploy/pdserving
2021-08-31 08:43:09 +00:00
web_service:web_service_det.py --config=config.yml --opt op.det.concurrency=1
op.det.local_service_conf.devices:null|0
op.det.local_service_conf.use_mkldnn:True|False
op.det.local_service_conf.thread_num:1|6
op.det.local_service_conf.use_trt:False|True
op.det.local_service_conf.precision:fp32|fp16|int8
2021-08-13 13:41:25 +00:00
pipline:pipeline_http_client.py --image_dir=../../doc/imgs
2021-10-12 14:21:16 +08:00
===========================kl_quant_params===========================
infer_model:./inference/ch_ppocr_mobile_v2.0_det_infer/
infer_export:tools/export_model.py -c configs/det/ch_ppocr_v2.0/ch_det_mv3_db_v2.0.yml -o
2021-10-17 16:20:01 +08:00
infer_quant:True
2021-10-12 14:21:16 +08:00
inference:tools/infer/predict_det.py
--use_gpu:True|False
--enable_mkldnn:True|False
--cpu_threads:1|6
--rec_batch_num:1
--use_tensorrt:False|True
2021-10-17 16:20:01 +08:00
--precision:int8
2021-10-12 14:21:16 +08:00
--det_model_dir:
--image_dir:./inference/ch_det_data_50/all-sum-510/
null:null
--benchmark:True
null:null
2021-10-17 16:20:01 +08:00
null:null