From 8ce8f02b9a47ca14cf78e1e915a7ea96cdc8305d Mon Sep 17 00:00:00 2001 From: shangliang Xu Date: Thu, 7 Apr 2022 10:13:02 +0800 Subject: [PATCH] [TIPC] update base python model (#5609) * update picodet legacy model path * update picodet new version(2022.03.20) * add new model base python tipc --- .../detr_r50_1x_coco_train_infer_python.txt | 51 ++++++++++++++++++ ...et_l_640_coco_lcnet_train_infer_python.txt | 53 +++++++++++++++++++ .../picodet_l_640_coco_train_infer_python.txt | 16 +++--- ...lcnet_1_5x_416_coco_train_infer_python.txt | 16 +++--- ...et_m_416_coco_lcnet_train_infer_python.txt | 53 +++++++++++++++++++ .../picodet_m_416_coco_train_infer_python.txt | 16 +++--- ...3_large_1x_416_coco_train_infer_python.txt | 16 +++--- ...icodet_r18_640_coco_train_infer_python.txt | 16 +++--- ...et_s_320_coco_lcnet_train_infer_python.txt | 53 +++++++++++++++++++ .../picodet_s_320_coco_train_infer_python.txt | 16 +++--- ...lenetv2_1x_416_coco_train_infer_python.txt | 16 +++--- ...t_xs_320_coco_lcnet_train_infer_python.txt | 53 +++++++++++++++++++ ...loe_crn_l_300e_coco_train_infer_python.txt | 53 +++++++++++++++++++ ...loe_crn_m_300e_coco_train_infer_python.txt | 53 +++++++++++++++++++ ...loe_crn_s_300e_coco_train_infer_python.txt | 53 +++++++++++++++++++ ...loe_crn_x_300e_coco_train_infer_python.txt | 53 +++++++++++++++++++ ...net_r50_fpn_1x_coco_train_infer_python.txt | 51 ++++++++++++++++++ ..._fpn_3x_pro100_coco_train_infer_python.txt | 51 ++++++++++++++++++ 18 files changed, 633 insertions(+), 56 deletions(-) create mode 100644 test_tipc/configs/detr/detr_r50_1x_coco_train_infer_python.txt create mode 100644 test_tipc/configs/picodet/picodet_l_640_coco_lcnet_train_infer_python.txt create mode 100644 test_tipc/configs/picodet/picodet_m_416_coco_lcnet_train_infer_python.txt create mode 100644 test_tipc/configs/picodet/picodet_s_320_coco_lcnet_train_infer_python.txt create mode 100644 test_tipc/configs/picodet/picodet_xs_320_coco_lcnet_train_infer_python.txt create mode 100644 test_tipc/configs/ppyoloe/ppyoloe_crn_l_300e_coco_train_infer_python.txt create mode 100644 test_tipc/configs/ppyoloe/ppyoloe_crn_m_300e_coco_train_infer_python.txt create mode 100644 test_tipc/configs/ppyoloe/ppyoloe_crn_s_300e_coco_train_infer_python.txt create mode 100644 test_tipc/configs/ppyoloe/ppyoloe_crn_x_300e_coco_train_infer_python.txt create mode 100644 test_tipc/configs/retinanet/retinanet_r50_fpn_1x_coco_train_infer_python.txt create mode 100644 test_tipc/configs/sparse_rcnn/sparse_rcnn_r50_fpn_3x_pro100_coco_train_infer_python.txt diff --git a/test_tipc/configs/detr/detr_r50_1x_coco_train_infer_python.txt b/test_tipc/configs/detr/detr_r50_1x_coco_train_infer_python.txt new file mode 100644 index 000000000..d219b5c6c --- /dev/null +++ b/test_tipc/configs/detr/detr_r50_1x_coco_train_infer_python.txt @@ -0,0 +1,51 @@ +===========================train_params=========================== +model_name:detr_r50_1x_coco +python:python3.7 +gpu_list:0|0,1 +use_gpu:True +auto_cast:null +epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=50 +save_dir:null +TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=2 +pretrain_weights:https://paddledet.bj.bcebos.com/models/detr_r50_1x_coco.pdparams +trained_model_name:model_final.pdparams +train_infer_img_dir:./dataset/coco/test2017/ +filename:null +## +trainer:norm_train +norm_train:tools/train.py -c configs/detr/detr_r50_1x_coco.yml -o +pact_train:tools/train.py -c configs/detr/detr_r50_1x_coco.yml --slim_config _template_pact -o +fpgm_train:tools/train.py -c configs/detr/detr_r50_1x_coco.yml --slim_config _template_fpgm -o +distill_train:null +null:null +null:null +## +===========================eval_params=========================== +eval:tools/eval.py -c configs/detr/detr_r50_1x_coco.yml -o +null:null +## +===========================infer_params=========================== +--output_dir:./output_inference +weights:https://paddledet.bj.bcebos.com/models/detr_r50_1x_coco.pdparams +norm_export:tools/export_model.py -c configs/detr/detr_r50_1x_coco.yml -o +pact_export:tools/export_model.py -c configs/detr/detr_r50_1x_coco.yml --slim_config _template_pact -o +fpgm_export:tools/export_model.py -c configs/detr/detr_r50_1x_coco.yml --slim_config _template_fpgm -o +distill_export:null +export1:null +export2:null +kl_quant_export:tools/post_quant.py -c configs/detr/detr_r50_1x_coco.yml --slim_config _template_kl_quant -o +## +infer_mode:norm +infer_quant:False +inference:./deploy/python/infer.py +--device:gpu|cpu +--enable_mkldnn:True|False +--cpu_threads:1|6 +--batch_size:1|2 +--use_tensorrt:null +--run_mode:paddle|trt_fp32|trt_fp16 +--model_dir: +--image_dir:./dataset/coco/test2017/ +--save_log_path:null +--run_benchmark:False +--trt_max_shape:1600 \ No newline at end of file diff --git a/test_tipc/configs/picodet/picodet_l_640_coco_lcnet_train_infer_python.txt b/test_tipc/configs/picodet/picodet_l_640_coco_lcnet_train_infer_python.txt new file mode 100644 index 000000000..54b542ce6 --- /dev/null +++ b/test_tipc/configs/picodet/picodet_l_640_coco_lcnet_train_infer_python.txt @@ -0,0 +1,53 @@ +===========================train_params=========================== +model_name:picodet_l_640_coco_lcnet +python:python3.7 +gpu_list:0|0,1 +use_gpu:True +auto_cast:null +epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=300 +save_dir:null +TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=32 +pretrain_weights:https://paddledet.bj.bcebos.com/models/picodet_l_640_coco_lcnet.pdparams +trained_model_name:model_final.pdparams +train_infer_img_dir:./dataset/coco/test2017/ +filename:null +## +trainer:norm_train +norm_train:tools/train.py -c configs/picodet/picodet_l_640_coco_lcnet.yml -o +pact_train:tools/train.py -c configs/picodet/picodet_l_640_coco_lcnet.yml --slim_config _template_pact -o +fpgm_train:tools/train.py -c configs/picodet/picodet_l_640_coco_lcnet.yml --slim_config _template_fpgm -o +distill_train:null +null:null +null:null +## +===========================eval_params=========================== +eval:tools/eval.py -c configs/picodet/picodet_l_640_coco_lcnet.yml -o +null:null +## +===========================infer_params=========================== +--output_dir:./output_inference +weights:https://paddledet.bj.bcebos.com/models/picodet_l_640_coco_lcnet.pdparams +norm_export:tools/export_model.py -c configs/picodet/picodet_l_640_coco_lcnet.yml -o +pact_export:tools/export_model.py -c configs/picodet/picodet_l_640_coco_lcnet.yml --slim_config _template_pact -o +fpgm_export:tools/export_model.py -c configs/picodet/picodet_l_640_coco_lcnet.yml --slim_config _template_fpgm -o +distill_export:null +export1:null +export2:null +kl_quant_export:tools/post_quant.py -c configs/picodet/picodet_l_640_coco_lcnet.yml --slim_config _template_kl_quant -o +## +infer_mode:norm +infer_quant:False +inference:./deploy/python/infer.py +--device:gpu|cpu +--enable_mkldnn:True|False +--cpu_threads:1|6 +--batch_size:1 +--use_tensorrt:null +--run_mode:paddle|trt_fp32|trt_fp16 +--model_dir: +--image_dir:./dataset/coco/test2017/ +--save_log_path:null +--run_benchmark:True +null:null +===========================infer_benchmark_params=========================== +random_infer_input:[{float32,[3,640,640]},{float32,[2]},{float32,[2]}] \ No newline at end of file diff --git a/test_tipc/configs/picodet/picodet_l_640_coco_train_infer_python.txt b/test_tipc/configs/picodet/picodet_l_640_coco_train_infer_python.txt index 528670fed..bdea2c82d 100644 --- a/test_tipc/configs/picodet/picodet_l_640_coco_train_infer_python.txt +++ b/test_tipc/configs/picodet/picodet_l_640_coco_train_infer_python.txt @@ -13,27 +13,27 @@ train_infer_img_dir:./dataset/coco/test2017/ filename:null ## trainer:norm_train -norm_train:tools/train.py -c configs/picodet/picodet_l_640_coco.yml -o -pact_train:tools/train.py -c configs/picodet/picodet_l_640_coco.yml --slim_config _template_pact -o -fpgm_train:tools/train.py -c configs/picodet/picodet_l_640_coco.yml --slim_config _template_fpgm -o +norm_train:tools/train.py -c configs/picodet/legacy_model/picodet_l_640_coco.yml -o +pact_train:tools/train.py -c configs/picodet/legacy_model/picodet_l_640_coco.yml --slim_config _template_pact -o +fpgm_train:tools/train.py -c configs/picodet/legacy_model/picodet_l_640_coco.yml --slim_config _template_fpgm -o distill_train:null null:null null:null ## ===========================eval_params=========================== -eval:tools/eval.py -c configs/picodet/picodet_l_640_coco.yml -o +eval:tools/eval.py -c configs/picodet/legacy_model/picodet_l_640_coco.yml -o null:null ## ===========================infer_params=========================== --output_dir:./output_inference weights:https://paddledet.bj.bcebos.com/models/picodet_l_640_coco.pdparams -norm_export:tools/export_model.py -c configs/picodet/picodet_l_640_coco.yml -o -pact_export:tools/export_model.py -c configs/picodet/picodet_l_640_coco.yml --slim_config _template_pact -o -fpgm_export:tools/export_model.py -c configs/picodet/picodet_l_640_coco.yml --slim_config _template_fpgm -o +norm_export:tools/export_model.py -c configs/picodet/legacy_model/picodet_l_640_coco.yml -o +pact_export:tools/export_model.py -c configs/picodet/legacy_model/picodet_l_640_coco.yml --slim_config _template_pact -o +fpgm_export:tools/export_model.py -c configs/picodet/legacy_model/picodet_l_640_coco.yml --slim_config _template_fpgm -o distill_export:null export1:null export2:null -kl_quant_export:tools/post_quant.py -c configs/picodet/picodet_l_640_coco.yml --slim_config _template_kl_quant -o +kl_quant_export:tools/post_quant.py -c configs/picodet/legacy_model/picodet_l_640_coco.yml --slim_config _template_kl_quant -o ## infer_mode:norm infer_quant:False diff --git a/test_tipc/configs/picodet/picodet_lcnet_1_5x_416_coco_train_infer_python.txt b/test_tipc/configs/picodet/picodet_lcnet_1_5x_416_coco_train_infer_python.txt index f3c4e32f8..543022727 100644 --- a/test_tipc/configs/picodet/picodet_lcnet_1_5x_416_coco_train_infer_python.txt +++ b/test_tipc/configs/picodet/picodet_lcnet_1_5x_416_coco_train_infer_python.txt @@ -13,27 +13,27 @@ train_infer_img_dir:./dataset/coco/test2017/ filename:null ## trainer:norm_train -norm_train:tools/train.py -c configs/picodet/more_config/picodet_lcnet_1_5x_416_coco.yml -o -pact_train:tools/train.py -c configs/picodet/more_config/picodet_lcnet_1_5x_416_coco.yml --slim_config _template_pact -o -fpgm_train:tools/train.py -c configs/picodet/more_config/picodet_lcnet_1_5x_416_coco.yml --slim_config _template_fpgm -o +norm_train:tools/train.py -c configs/picodet/legacy_model/more_config/picodet_lcnet_1_5x_416_coco.yml -o +pact_train:tools/train.py -c configs/picodet/legacy_model/more_config/picodet_lcnet_1_5x_416_coco.yml --slim_config _template_pact -o +fpgm_train:tools/train.py -c configs/picodet/legacy_model/more_config/picodet_lcnet_1_5x_416_coco.yml --slim_config _template_fpgm -o distill_train:null null:null null:null ## ===========================eval_params=========================== -eval:tools/eval.py -c configs/picodet/more_config/picodet_lcnet_1_5x_416_coco.yml -o +eval:tools/eval.py -c configs/picodet/legacy_model/more_config/picodet_lcnet_1_5x_416_coco.yml -o null:null ## ===========================infer_params=========================== --output_dir:./output_inference weights:https://paddledet.bj.bcebos.com/models/picodet_lcnet_1_5x_416_coco.pdparams -norm_export:tools/export_model.py -c configs/picodet/more_config/picodet_lcnet_1_5x_416_coco.yml -o -pact_export:tools/export_model.py -c configs/picodet/more_config/picodet_lcnet_1_5x_416_coco.yml --slim_config _template_pact -o -fpgm_export:tools/export_model.py -c configs/picodet/more_config/picodet_lcnet_1_5x_416_coco.yml --slim_config _template_fpgm -o +norm_export:tools/export_model.py -c configs/picodet/legacy_model/more_config/picodet_lcnet_1_5x_416_coco.yml -o +pact_export:tools/export_model.py -c configs/picodet/legacy_model/more_config/picodet_lcnet_1_5x_416_coco.yml --slim_config _template_pact -o +fpgm_export:tools/export_model.py -c configs/picodet/legacy_model/more_config/picodet_lcnet_1_5x_416_coco.yml --slim_config _template_fpgm -o distill_export:null export1:null export2:null -kl_quant_export:tools/post_quant.py -c configs/picodet/more_config/picodet_lcnet_1_5x_416_coco.yml --slim_config _template_kl_quant -o +kl_quant_export:tools/post_quant.py -c configs/picodet/legacy_model/more_config/picodet_lcnet_1_5x_416_coco.yml --slim_config _template_kl_quant -o ## infer_mode:norm infer_quant:False diff --git a/test_tipc/configs/picodet/picodet_m_416_coco_lcnet_train_infer_python.txt b/test_tipc/configs/picodet/picodet_m_416_coco_lcnet_train_infer_python.txt new file mode 100644 index 000000000..e90e1e90b --- /dev/null +++ b/test_tipc/configs/picodet/picodet_m_416_coco_lcnet_train_infer_python.txt @@ -0,0 +1,53 @@ +===========================train_params=========================== +model_name:picodet_m_416_coco_lcnet +python:python3.7 +gpu_list:0|0,1 +use_gpu:True +auto_cast:null +epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=300 +save_dir:null +TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=80 +pretrain_weights:https://paddledet.bj.bcebos.com/models/picodet_m_416_coco_lcnet.pdparams +trained_model_name:model_final.pdparams +train_infer_img_dir:./dataset/coco/test2017/ +filename:null +## +trainer:norm_train +norm_train:tools/train.py -c configs/picodet/picodet_m_416_coco_lcnet.yml -o +pact_train:tools/train.py -c configs/picodet/picodet_m_416_coco_lcnet.yml --slim_config _template_pact -o +fpgm_train:tools/train.py -c configs/picodet/picodet_m_416_coco_lcnet.yml --slim_config _template_fpgm -o +distill_train:null +null:null +null:null +## +===========================eval_params=========================== +eval:tools/eval.py -c configs/picodet/picodet_m_416_coco_lcnet.yml -o +null:null +## +===========================infer_params=========================== +--output_dir:./output_inference +weights:https://paddledet.bj.bcebos.com/models/picodet_m_416_coco_lcnet.pdparams +norm_export:tools/export_model.py -c configs/picodet/picodet_m_416_coco_lcnet.yml -o +pact_export:tools/export_model.py -c configs/picodet/picodet_m_416_coco_lcnet.yml --slim_config _template_pact -o +fpgm_export:tools/export_model.py -c configs/picodet/picodet_m_416_coco_lcnet.yml --slim_config _template_fpgm -o +distill_export:null +export1:null +export2:null +kl_quant_export:tools/post_quant.py -c configs/picodet/picodet_m_416_coco_lcnet.yml --slim_config _template_kl_quant -o +## +infer_mode:norm +infer_quant:False +inference:./deploy/python/infer.py +--device:gpu|cpu +--enable_mkldnn:True|False +--cpu_threads:1|6 +--batch_size:1 +--use_tensorrt:null +--run_mode:paddle|trt_fp32|trt_fp16 +--model_dir: +--image_dir:./dataset/coco/test2017/ +--save_log_path:null +--run_benchmark:True +null:null +===========================infer_benchmark_params=========================== +random_infer_input:[{float32,[3,416,416]},{float32,[2]},{float32,[2]}] \ No newline at end of file diff --git a/test_tipc/configs/picodet/picodet_m_416_coco_train_infer_python.txt b/test_tipc/configs/picodet/picodet_m_416_coco_train_infer_python.txt index 6fe0967fa..17fdbdb97 100644 --- a/test_tipc/configs/picodet/picodet_m_416_coco_train_infer_python.txt +++ b/test_tipc/configs/picodet/picodet_m_416_coco_train_infer_python.txt @@ -13,27 +13,27 @@ train_infer_img_dir:./dataset/coco/test2017/ filename:null ## trainer:norm_train -norm_train:tools/train.py -c configs/picodet/picodet_m_416_coco.yml -o -pact_train:tools/train.py -c configs/picodet/picodet_m_416_coco.yml --slim_config _template_pact -o -fpgm_train:tools/train.py -c configs/picodet/picodet_m_416_coco.yml --slim_config _template_fpgm -o +norm_train:tools/train.py -c configs/picodet/legacy_model/picodet_m_416_coco.yml -o +pact_train:tools/train.py -c configs/picodet/legacy_model/picodet_m_416_coco.yml --slim_config _template_pact -o +fpgm_train:tools/train.py -c configs/picodet/legacy_model/picodet_m_416_coco.yml --slim_config _template_fpgm -o distill_train:null null:null null:null ## ===========================eval_params=========================== -eval:tools/eval.py -c configs/picodet/picodet_m_416_coco.yml -o +eval:tools/eval.py -c configs/picodet/legacy_model/picodet_m_416_coco.yml -o null:null ## ===========================infer_params=========================== --output_dir:./output_inference weights:https://paddledet.bj.bcebos.com/models/picodet_m_416_coco.pdparams -norm_export:tools/export_model.py -c configs/picodet/picodet_m_416_coco.yml -o -pact_export:tools/export_model.py -c configs/picodet/picodet_m_416_coco.yml --slim_config _template_pact -o -fpgm_export:tools/export_model.py -c configs/picodet/picodet_m_416_coco.yml --slim_config _template_fpgm -o +norm_export:tools/export_model.py -c configs/picodet/legacy_model/picodet_m_416_coco.yml -o +pact_export:tools/export_model.py -c configs/picodet/legacy_model/picodet_m_416_coco.yml --slim_config _template_pact -o +fpgm_export:tools/export_model.py -c configs/picodet/legacy_model/picodet_m_416_coco.yml --slim_config _template_fpgm -o distill_export:null export1:null export2:null -kl_quant_export:tools/post_quant.py -c configs/picodet/picodet_m_416_coco.yml --slim_config _template_kl_quant -o +kl_quant_export:tools/post_quant.py -c configs/picodet/legacy_model/picodet_m_416_coco.yml --slim_config _template_kl_quant -o ## infer_mode:norm infer_quant:False diff --git a/test_tipc/configs/picodet/picodet_mobilenetv3_large_1x_416_coco_train_infer_python.txt b/test_tipc/configs/picodet/picodet_mobilenetv3_large_1x_416_coco_train_infer_python.txt index eac66ffe6..ec3ef8c9a 100644 --- a/test_tipc/configs/picodet/picodet_mobilenetv3_large_1x_416_coco_train_infer_python.txt +++ b/test_tipc/configs/picodet/picodet_mobilenetv3_large_1x_416_coco_train_infer_python.txt @@ -13,27 +13,27 @@ train_infer_img_dir:./dataset/coco/test2017/ filename:null ## trainer:norm_train -norm_train:tools/train.py -c configs/picodet/more_config/picodet_mobilenetv3_large_1x_416_coco.yml -o -pact_train:tools/train.py -c configs/picodet/more_config/picodet_mobilenetv3_large_1x_416_coco.yml --slim_config _template_pact -o -fpgm_train:tools/train.py -c configs/picodet/more_config/picodet_mobilenetv3_large_1x_416_coco.yml --slim_config _template_fpgm -o +norm_train:tools/train.py -c configs/picodet/legacy_model/more_config/picodet_mobilenetv3_large_1x_416_coco.yml -o +pact_train:tools/train.py -c configs/picodet/legacy_model/more_config/picodet_mobilenetv3_large_1x_416_coco.yml --slim_config _template_pact -o +fpgm_train:tools/train.py -c configs/picodet/legacy_model/more_config/picodet_mobilenetv3_large_1x_416_coco.yml --slim_config _template_fpgm -o distill_train:null null:null null:null ## ===========================eval_params=========================== -eval:tools/eval.py -c configs/picodet/more_config/picodet_mobilenetv3_large_1x_416_coco.yml -o +eval:tools/eval.py -c configs/picodet/legacy_model/more_config/picodet_mobilenetv3_large_1x_416_coco.yml -o null:null ## ===========================infer_params=========================== --output_dir:./output_inference weights:https://paddledet.bj.bcebos.com/models/picodet_mobilenetv3_large_1x_416_coco.pdparams -norm_export:tools/export_model.py -c configs/picodet/more_config/picodet_mobilenetv3_large_1x_416_coco.yml -o -pact_export:tools/export_model.py -c configs/picodet/more_config/picodet_mobilenetv3_large_1x_416_coco.yml --slim_config _template_pact -o -fpgm_export:tools/export_model.py -c configs/picodet/more_config/picodet_mobilenetv3_large_1x_416_coco.yml --slim_config _template_fpgm -o +norm_export:tools/export_model.py -c configs/picodet/legacy_model/more_config/picodet_mobilenetv3_large_1x_416_coco.yml -o +pact_export:tools/export_model.py -c configs/picodet/legacy_model/more_config/picodet_mobilenetv3_large_1x_416_coco.yml --slim_config _template_pact -o +fpgm_export:tools/export_model.py -c configs/picodet/legacy_model/more_config/picodet_mobilenetv3_large_1x_416_coco.yml --slim_config _template_fpgm -o distill_export:null export1:null export2:null -kl_quant_export:tools/post_quant.py -c configs/picodet/more_config/picodet_mobilenetv3_large_1x_416_coco.yml --slim_config _template_kl_quant -o +kl_quant_export:tools/post_quant.py -c configs/picodet/legacy_model/more_config/picodet_mobilenetv3_large_1x_416_coco.yml --slim_config _template_kl_quant -o ## infer_mode:norm infer_quant:False diff --git a/test_tipc/configs/picodet/picodet_r18_640_coco_train_infer_python.txt b/test_tipc/configs/picodet/picodet_r18_640_coco_train_infer_python.txt index c8e1c449e..fd2da7934 100644 --- a/test_tipc/configs/picodet/picodet_r18_640_coco_train_infer_python.txt +++ b/test_tipc/configs/picodet/picodet_r18_640_coco_train_infer_python.txt @@ -13,27 +13,27 @@ train_infer_img_dir:./dataset/coco/test2017/ filename:null ## trainer:norm_train -norm_train:tools/train.py -c configs/picodet/more_config/picodet_r18_640_coco.yml -o -pact_train:tools/train.py -c configs/picodet/more_config/picodet_r18_640_coco.yml --slim_config _template_pact -o -fpgm_train:tools/train.py -c configs/picodet/more_config/picodet_r18_640_coco.yml --slim_config _template_fpgm -o +norm_train:tools/train.py -c configs/picodet/legacy_model/more_config/picodet_r18_640_coco.yml -o +pact_train:tools/train.py -c configs/picodet/legacy_model/more_config/picodet_r18_640_coco.yml --slim_config _template_pact -o +fpgm_train:tools/train.py -c configs/picodet/legacy_model/more_config/picodet_r18_640_coco.yml --slim_config _template_fpgm -o distill_train:null null:null null:null ## ===========================eval_params=========================== -eval:tools/eval.py -c configs/picodet/more_config/picodet_r18_640_coco.yml -o +eval:tools/eval.py -c configs/picodet/legacy_model/more_config/picodet_r18_640_coco.yml -o null:null ## ===========================infer_params=========================== --output_dir:./output_inference weights:null -norm_export:tools/export_model.py -c configs/picodet/more_config/picodet_r18_640_coco.yml -o -pact_export:tools/export_model.py -c configs/picodet/more_config/picodet_r18_640_coco.yml --slim_config _template_pact -o -fpgm_export:tools/export_model.py -c configs/picodet/more_config/picodet_r18_640_coco.yml --slim_config _template_fpgm -o +norm_export:tools/export_model.py -c configs/picodet/legacy_model/more_config/picodet_r18_640_coco.yml -o +pact_export:tools/export_model.py -c configs/picodet/legacy_model/more_config/picodet_r18_640_coco.yml --slim_config _template_pact -o +fpgm_export:tools/export_model.py -c configs/picodet/legacy_model/more_config/picodet_r18_640_coco.yml --slim_config _template_fpgm -o distill_export:null export1:null export2:null -kl_quant_export:tools/post_quant.py -c configs/picodet/more_config/picodet_r18_640_coco.yml --slim_config _template_kl_quant -o +kl_quant_export:tools/post_quant.py -c configs/picodet/legacy_model/more_config/picodet_r18_640_coco.yml --slim_config _template_kl_quant -o ## infer_mode:norm infer_quant:False diff --git a/test_tipc/configs/picodet/picodet_s_320_coco_lcnet_train_infer_python.txt b/test_tipc/configs/picodet/picodet_s_320_coco_lcnet_train_infer_python.txt new file mode 100644 index 000000000..e716ebeba --- /dev/null +++ b/test_tipc/configs/picodet/picodet_s_320_coco_lcnet_train_infer_python.txt @@ -0,0 +1,53 @@ +===========================train_params=========================== +model_name:picodet_s_320_coco_lcnet +python:python3.7 +gpu_list:0|0,1 +use_gpu:True +auto_cast:null +epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=300 +save_dir:null +TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=128 +pretrain_weights:https://paddledet.bj.bcebos.com/models/picodet_s_320_coco_lcnet.pdparams +trained_model_name:model_final.pdparams +train_infer_img_dir:./dataset/coco/test2017/ +filename:null +## +trainer:norm_train +norm_train:tools/train.py -c configs/picodet/picodet_s_320_coco_lcnet.yml -o +pact_train:tools/train.py -c configs/picodet/picodet_s_320_coco_lcnet.yml --slim_config _template_pact -o +fpgm_train:tools/train.py -c configs/picodet/picodet_s_320_coco_lcnet.yml --slim_config _template_fpgm -o +distill_train:null +null:null +null:null +## +===========================eval_params=========================== +eval:tools/eval.py -c configs/picodet/picodet_s_320_coco_lcnet.yml -o +null:null +## +===========================infer_params=========================== +--output_dir:./output_inference +weights:https://paddledet.bj.bcebos.com/models/picodet_s_320_coco_lcnet.pdparams +norm_export:tools/export_model.py -c configs/picodet/picodet_s_320_coco_lcnet.yml -o +pact_export:tools/export_model.py -c configs/picodet/picodet_s_320_coco_lcnet.yml --slim_config _template_pact -o +fpgm_export:tools/export_model.py -c configs/picodet/picodet_s_320_coco_lcnet.yml --slim_config _template_fpgm -o +distill_export:null +export1:null +export2:null +kl_quant_export:tools/post_quant.py -c configs/picodet/picodet_s_320_coco_lcnet.yml --slim_config _template_kl_quant -o +## +infer_mode:norm +infer_quant:False +inference:./deploy/python/infer.py +--device:gpu|cpu +--enable_mkldnn:True|False +--cpu_threads:1|6 +--batch_size:1 +--use_tensorrt:null +--run_mode:paddle|trt_fp32|trt_fp16 +--model_dir: +--image_dir:./dataset/coco/test2017/ +--save_log_path:null +--run_benchmark:True +null:null +===========================infer_benchmark_params=========================== +random_infer_input:[{float32,[3,320,320]},{float32,[2]},{float32,[2]}] \ No newline at end of file diff --git a/test_tipc/configs/picodet/picodet_s_320_coco_train_infer_python.txt b/test_tipc/configs/picodet/picodet_s_320_coco_train_infer_python.txt index 8fefc47f1..3e84393e6 100644 --- a/test_tipc/configs/picodet/picodet_s_320_coco_train_infer_python.txt +++ b/test_tipc/configs/picodet/picodet_s_320_coco_train_infer_python.txt @@ -13,27 +13,27 @@ train_infer_img_dir:./dataset/coco/test2017/ filename:null ## trainer:norm_train -norm_train:tools/train.py -c configs/picodet/picodet_s_320_coco.yml -o -pact_train:tools/train.py -c configs/picodet/picodet_s_320_coco.yml --slim_config _template_pact -o -fpgm_train:tools/train.py -c configs/picodet/picodet_s_320_coco.yml --slim_config _template_fpgm -o +norm_train:tools/train.py -c configs/picodet/legacy_model/picodet_s_320_coco.yml -o +pact_train:tools/train.py -c configs/picodet/legacy_model/picodet_s_320_coco.yml --slim_config _template_pact -o +fpgm_train:tools/train.py -c configs/picodet/legacy_model/picodet_s_320_coco.yml --slim_config _template_fpgm -o distill_train:null null:null null:null ## ===========================eval_params=========================== -eval:tools/eval.py -c configs/picodet/picodet_s_320_coco.yml -o +eval:tools/eval.py -c configs/picodet/legacy_model/picodet_s_320_coco.yml -o null:null ## ===========================infer_params=========================== --output_dir:./output_inference weights:https://paddledet.bj.bcebos.com/models/picodet_s_320_coco.pdparams -norm_export:tools/export_model.py -c configs/picodet/picodet_s_320_coco.yml -o -pact_export:tools/export_model.py -c configs/picodet/picodet_s_320_coco.yml --slim_config _template_pact -o -fpgm_export:tools/export_model.py -c configs/picodet/picodet_s_320_coco.yml --slim_config _template_fpgm -o +norm_export:tools/export_model.py -c configs/picodet/legacy_model/picodet_s_320_coco.yml -o +pact_export:tools/export_model.py -c configs/picodet/legacy_model/picodet_s_320_coco.yml --slim_config _template_pact -o +fpgm_export:tools/export_model.py -c configs/picodet/legacy_model/picodet_s_320_coco.yml --slim_config _template_fpgm -o distill_export:null export1:null export2:null -kl_quant_export:tools/post_quant.py -c configs/picodet/picodet_s_320_coco.yml --slim_config _template_kl_quant -o +kl_quant_export:tools/post_quant.py -c configs/picodet/legacy_model/picodet_s_320_coco.yml --slim_config _template_kl_quant -o ## infer_mode:norm infer_quant:False diff --git a/test_tipc/configs/picodet/picodet_shufflenetv2_1x_416_coco_train_infer_python.txt b/test_tipc/configs/picodet/picodet_shufflenetv2_1x_416_coco_train_infer_python.txt index e9e84268a..5ab4ab3df 100644 --- a/test_tipc/configs/picodet/picodet_shufflenetv2_1x_416_coco_train_infer_python.txt +++ b/test_tipc/configs/picodet/picodet_shufflenetv2_1x_416_coco_train_infer_python.txt @@ -13,27 +13,27 @@ train_infer_img_dir:./dataset/coco/test2017/ filename:null ## trainer:norm_train -norm_train:tools/train.py -c configs/picodet/more_config/picodet_shufflenetv2_1x_416_coco.yml -o -pact_train:tools/train.py -c configs/picodet/more_config/picodet_shufflenetv2_1x_416_coco.yml --slim_config _template_pact -o -fpgm_train:tools/train.py -c configs/picodet/more_config/picodet_shufflenetv2_1x_416_coco.yml --slim_config _template_fpgm -o +norm_train:tools/train.py -c configs/picodet/legacy_model/more_config/picodet_shufflenetv2_1x_416_coco.yml -o +pact_train:tools/train.py -c configs/picodet/legacy_model/more_config/picodet_shufflenetv2_1x_416_coco.yml --slim_config _template_pact -o +fpgm_train:tools/train.py -c configs/picodet/legacy_model/more_config/picodet_shufflenetv2_1x_416_coco.yml --slim_config _template_fpgm -o distill_train:null null:null null:null ## ===========================eval_params=========================== -eval:tools/eval.py -c configs/picodet/more_config/picodet_shufflenetv2_1x_416_coco.yml -o +eval:tools/eval.py -c configs/picodet/legacy_model/more_config/picodet_shufflenetv2_1x_416_coco.yml -o null:null ## ===========================infer_params=========================== --output_dir:./output_inference weights:https://paddledet.bj.bcebos.com/models/picodet_shufflenetv2_1x_416_coco.pdparams -norm_export:tools/export_model.py -c configs/picodet/more_config/picodet_shufflenetv2_1x_416_coco.yml -o -pact_export:tools/export_model.py -c configs/picodet/more_config/picodet_shufflenetv2_1x_416_coco.yml --slim_config _template_pact -o -fpgm_export:tools/export_model.py -c configs/picodet/more_config/picodet_shufflenetv2_1x_416_coco.yml --slim_config _template_fpgm -o +norm_export:tools/export_model.py -c configs/picodet/legacy_model/more_config/picodet_shufflenetv2_1x_416_coco.yml -o +pact_export:tools/export_model.py -c configs/picodet/legacy_model/more_config/picodet_shufflenetv2_1x_416_coco.yml --slim_config _template_pact -o +fpgm_export:tools/export_model.py -c configs/picodet/legacy_model/more_config/picodet_shufflenetv2_1x_416_coco.yml --slim_config _template_fpgm -o distill_export:null export1:null export2:null -kl_quant_export:tools/post_quant.py -c configs/picodet/more_config/picodet_shufflenetv2_1x_416_coco.yml --slim_config _template_kl_quant -o +kl_quant_export:tools/post_quant.py -c configs/picodet/legacy_model/more_config/picodet_shufflenetv2_1x_416_coco.yml --slim_config _template_kl_quant -o ## infer_mode:norm infer_quant:False diff --git a/test_tipc/configs/picodet/picodet_xs_320_coco_lcnet_train_infer_python.txt b/test_tipc/configs/picodet/picodet_xs_320_coco_lcnet_train_infer_python.txt new file mode 100644 index 000000000..a5fa9b340 --- /dev/null +++ b/test_tipc/configs/picodet/picodet_xs_320_coco_lcnet_train_infer_python.txt @@ -0,0 +1,53 @@ +===========================train_params=========================== +model_name:picodet_xs_320_coco_lcnet +python:python3.7 +gpu_list:0|0,1 +use_gpu:True +auto_cast:null +epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=300 +save_dir:null +TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=128 +pretrain_weights:https://paddledet.bj.bcebos.com/models/picodet_xs_320_coco_lcnet.pdparams +trained_model_name:model_final.pdparams +train_infer_img_dir:./dataset/coco/test2017/ +filename:null +## +trainer:norm_train +norm_train:tools/train.py -c configs/picodet/picodet_xs_320_coco_lcnet.yml -o +pact_train:tools/train.py -c configs/picodet/picodet_xs_320_coco_lcnet.yml --slim_config _template_pact -o +fpgm_train:tools/train.py -c configs/picodet/picodet_xs_320_coco_lcnet.yml --slim_config _template_fpgm -o +distill_train:null +null:null +null:null +## +===========================eval_params=========================== +eval:tools/eval.py -c configs/picodet/picodet_xs_320_coco_lcnet.yml -o +null:null +## +===========================infer_params=========================== +--output_dir:./output_inference +weights:https://paddledet.bj.bcebos.com/models/picodet_xs_320_coco_lcnet.pdparams +norm_export:tools/export_model.py -c configs/picodet/picodet_xs_320_coco_lcnet.yml -o +pact_export:tools/export_model.py -c configs/picodet/picodet_xs_320_coco_lcnet.yml --slim_config _template_pact -o +fpgm_export:tools/export_model.py -c configs/picodet/picodet_xs_320_coco_lcnet.yml --slim_config _template_fpgm -o +distill_export:null +export1:null +export2:null +kl_quant_export:tools/post_quant.py -c configs/picodet/picodet_xs_320_coco_lcnet.yml --slim_config _template_kl_quant -o +## +infer_mode:norm +infer_quant:False +inference:./deploy/python/infer.py +--device:gpu|cpu +--enable_mkldnn:True|False +--cpu_threads:1|6 +--batch_size:1 +--use_tensorrt:null +--run_mode:paddle|trt_fp32|trt_fp16 +--model_dir: +--image_dir:./dataset/coco/test2017/ +--save_log_path:null +--run_benchmark:True +null:null +===========================infer_benchmark_params=========================== +random_infer_input:[{float32,[3,320,320]},{float32,[2]},{float32,[2]}] \ No newline at end of file diff --git a/test_tipc/configs/ppyoloe/ppyoloe_crn_l_300e_coco_train_infer_python.txt b/test_tipc/configs/ppyoloe/ppyoloe_crn_l_300e_coco_train_infer_python.txt new file mode 100644 index 000000000..5c3773955 --- /dev/null +++ b/test_tipc/configs/ppyoloe/ppyoloe_crn_l_300e_coco_train_infer_python.txt @@ -0,0 +1,53 @@ +===========================train_params=========================== +model_name:ppyoloe_crn_l_300e_coco +python:python3.7 +gpu_list:0|0,1 +use_gpu:True +auto_cast:null +epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=300 +save_dir:null +TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=2 +pretrain_weights:https://paddledet.bj.bcebos.com/models/ppyoloe_crn_l_300e_coco.pdparams +trained_model_name:model_final.pdparams +train_infer_img_dir:./dataset/coco/test2017/ +filename:null +## +trainer:norm_train +norm_train:tools/train.py -c configs/ppyoloe/ppyoloe_crn_l_300e_coco.yml -o +pact_train:tools/train.py -c configs/ppyoloe/ppyoloe_crn_l_300e_coco.yml --slim_config _template_pact -o +fpgm_train:tools/train.py -c configs/ppyoloe/ppyoloe_crn_l_300e_coco.yml --slim_config _template_fpgm -o +distill_train:null +null:null +null:null +## +===========================eval_params=========================== +eval:tools/eval.py -c configs/ppyoloe/ppyoloe_crn_l_300e_coco.yml -o +null:null +## +===========================infer_params=========================== +--output_dir:./output_inference +weights:https://paddledet.bj.bcebos.com/models/ppyoloe_crn_l_300e_coco.pdparams +norm_export:tools/export_model.py -c configs/ppyoloe/ppyoloe_crn_l_300e_coco.yml -o +pact_export:tools/export_model.py -c configs/ppyoloe/ppyoloe_crn_l_300e_coco.yml --slim_config _template_pact -o +fpgm_export:tools/export_model.py -c configs/ppyoloe/ppyoloe_crn_l_300e_coco.yml --slim_config _template_fpgm -o +distill_export:null +export1:null +export2:null +kl_quant_export:tools/post_quant.py -c configs/ppyoloe/ppyoloe_crn_l_300e_coco.yml --slim_config _template_kl_quant -o +## +infer_mode:norm +infer_quant:False +inference:./deploy/python/infer.py +--device:gpu|cpu +--enable_mkldnn:True|False +--cpu_threads:1|6 +--batch_size:1|2 +--use_tensorrt:null +--run_mode:paddle|trt_fp32|trt_fp16 +--model_dir: +--image_dir:./dataset/coco/test2017/ +--save_log_path:null +--run_benchmark:False +--trt_max_shape:1600 +===========================infer_benchmark_params=========================== +random_infer_input:[{float32,[3,640,640]},{float32,[2]},{float32,[2]}] \ No newline at end of file diff --git a/test_tipc/configs/ppyoloe/ppyoloe_crn_m_300e_coco_train_infer_python.txt b/test_tipc/configs/ppyoloe/ppyoloe_crn_m_300e_coco_train_infer_python.txt new file mode 100644 index 000000000..5d2fe8731 --- /dev/null +++ b/test_tipc/configs/ppyoloe/ppyoloe_crn_m_300e_coco_train_infer_python.txt @@ -0,0 +1,53 @@ +===========================train_params=========================== +model_name:ppyoloe_crn_m_300e_coco +python:python3.7 +gpu_list:0|0,1 +use_gpu:True +auto_cast:null +epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=300 +save_dir:null +TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=2 +pretrain_weights:https://paddledet.bj.bcebos.com/models/ppyoloe_crn_m_300e_coco.pdparams +trained_model_name:model_final.pdparams +train_infer_img_dir:./dataset/coco/test2017/ +filename:null +## +trainer:norm_train +norm_train:tools/train.py -c configs/ppyoloe/ppyoloe_crn_m_300e_coco.yml -o +pact_train:tools/train.py -c configs/ppyoloe/ppyoloe_crn_m_300e_coco.yml --slim_config _template_pact -o +fpgm_train:tools/train.py -c configs/ppyoloe/ppyoloe_crn_m_300e_coco.yml --slim_config _template_fpgm -o +distill_train:null +null:null +null:null +## +===========================eval_params=========================== +eval:tools/eval.py -c configs/ppyoloe/ppyoloe_crn_m_300e_coco.yml -o +null:null +## +===========================infer_params=========================== +--output_dir:./output_inference +weights:https://paddledet.bj.bcebos.com/models/ppyoloe_crn_m_300e_coco.pdparams +norm_export:tools/export_model.py -c configs/ppyoloe/ppyoloe_crn_m_300e_coco.yml -o +pact_export:tools/export_model.py -c configs/ppyoloe/ppyoloe_crn_m_300e_coco.yml --slim_config _template_pact -o +fpgm_export:tools/export_model.py -c configs/ppyoloe/ppyoloe_crn_m_300e_coco.yml --slim_config _template_fpgm -o +distill_export:null +export1:null +export2:null +kl_quant_export:tools/post_quant.py -c configs/ppyoloe/ppyoloe_crn_m_300e_coco.yml --slim_config _template_kl_quant -o +## +infer_mode:norm +infer_quant:False +inference:./deploy/python/infer.py +--device:gpu|cpu +--enable_mkldnn:True|False +--cpu_threads:1|6 +--batch_size:1|2 +--use_tensorrt:null +--run_mode:paddle|trt_fp32|trt_fp16 +--model_dir: +--image_dir:./dataset/coco/test2017/ +--save_log_path:null +--run_benchmark:False +--trt_max_shape:1600 +===========================infer_benchmark_params=========================== +random_infer_input:[{float32,[3,640,640]},{float32,[2]},{float32,[2]}] \ No newline at end of file diff --git a/test_tipc/configs/ppyoloe/ppyoloe_crn_s_300e_coco_train_infer_python.txt b/test_tipc/configs/ppyoloe/ppyoloe_crn_s_300e_coco_train_infer_python.txt new file mode 100644 index 000000000..21b44955f --- /dev/null +++ b/test_tipc/configs/ppyoloe/ppyoloe_crn_s_300e_coco_train_infer_python.txt @@ -0,0 +1,53 @@ +===========================train_params=========================== +model_name:ppyoloe_crn_s_300e_coco +python:python3.7 +gpu_list:0|0,1 +use_gpu:True +auto_cast:null +epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=300 +save_dir:null +TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=2 +pretrain_weights:https://paddledet.bj.bcebos.com/models/ppyoloe_crn_s_300e_coco.pdparams +trained_model_name:model_final.pdparams +train_infer_img_dir:./dataset/coco/test2017/ +filename:null +## +trainer:norm_train +norm_train:tools/train.py -c configs/ppyoloe/ppyoloe_crn_s_300e_coco.yml -o +pact_train:tools/train.py -c configs/ppyoloe/ppyoloe_crn_s_300e_coco.yml --slim_config _template_pact -o +fpgm_train:tools/train.py -c configs/ppyoloe/ppyoloe_crn_s_300e_coco.yml --slim_config _template_fpgm -o +distill_train:null +null:null +null:null +## +===========================eval_params=========================== +eval:tools/eval.py -c configs/ppyoloe/ppyoloe_crn_s_300e_coco.yml -o +null:null +## +===========================infer_params=========================== +--output_dir:./output_inference +weights:https://paddledet.bj.bcebos.com/models/ppyoloe_crn_s_300e_coco.pdparams +norm_export:tools/export_model.py -c configs/ppyoloe/ppyoloe_crn_s_300e_coco.yml -o +pact_export:tools/export_model.py -c configs/ppyoloe/ppyoloe_crn_s_300e_coco.yml --slim_config _template_pact -o +fpgm_export:tools/export_model.py -c configs/ppyoloe/ppyoloe_crn_s_300e_coco.yml --slim_config _template_fpgm -o +distill_export:null +export1:null +export2:null +kl_quant_export:tools/post_quant.py -c configs/ppyoloe/ppyoloe_crn_s_300e_coco.yml --slim_config _template_kl_quant -o +## +infer_mode:norm +infer_quant:False +inference:./deploy/python/infer.py +--device:gpu|cpu +--enable_mkldnn:True|False +--cpu_threads:1|6 +--batch_size:1|2 +--use_tensorrt:null +--run_mode:paddle|trt_fp32|trt_fp16 +--model_dir: +--image_dir:./dataset/coco/test2017/ +--save_log_path:null +--run_benchmark:False +--trt_max_shape:1600 +===========================infer_benchmark_params=========================== +random_infer_input:[{float32,[3,640,640]},{float32,[2]},{float32,[2]}] \ No newline at end of file diff --git a/test_tipc/configs/ppyoloe/ppyoloe_crn_x_300e_coco_train_infer_python.txt b/test_tipc/configs/ppyoloe/ppyoloe_crn_x_300e_coco_train_infer_python.txt new file mode 100644 index 000000000..7205f33d3 --- /dev/null +++ b/test_tipc/configs/ppyoloe/ppyoloe_crn_x_300e_coco_train_infer_python.txt @@ -0,0 +1,53 @@ +===========================train_params=========================== +model_name:ppyoloe_crn_x_300e_coco +python:python3.7 +gpu_list:0|0,1 +use_gpu:True +auto_cast:null +epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=300 +save_dir:null +TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=2 +pretrain_weights:https://paddledet.bj.bcebos.com/models/ppyoloe_crn_x_300e_coco.pdparams +trained_model_name:model_final.pdparams +train_infer_img_dir:./dataset/coco/test2017/ +filename:null +## +trainer:norm_train +norm_train:tools/train.py -c configs/ppyoloe/ppyoloe_crn_x_300e_coco.yml -o +pact_train:tools/train.py -c configs/ppyoloe/ppyoloe_crn_x_300e_coco.yml --slim_config _template_pact -o +fpgm_train:tools/train.py -c configs/ppyoloe/ppyoloe_crn_x_300e_coco.yml --slim_config _template_fpgm -o +distill_train:null +null:null +null:null +## +===========================eval_params=========================== +eval:tools/eval.py -c configs/ppyoloe/ppyoloe_crn_x_300e_coco.yml -o +null:null +## +===========================infer_params=========================== +--output_dir:./output_inference +weights:https://paddledet.bj.bcebos.com/models/ppyoloe_crn_x_300e_coco.pdparams +norm_export:tools/export_model.py -c configs/ppyoloe/ppyoloe_crn_x_300e_coco.yml -o +pact_export:tools/export_model.py -c configs/ppyoloe/ppyoloe_crn_x_300e_coco.yml --slim_config _template_pact -o +fpgm_export:tools/export_model.py -c configs/ppyoloe/ppyoloe_crn_x_300e_coco.yml --slim_config _template_fpgm -o +distill_export:null +export1:null +export2:null +kl_quant_export:tools/post_quant.py -c configs/ppyoloe/ppyoloe_crn_x_300e_coco.yml --slim_config _template_kl_quant -o +## +infer_mode:norm +infer_quant:False +inference:./deploy/python/infer.py +--device:gpu|cpu +--enable_mkldnn:True|False +--cpu_threads:1|6 +--batch_size:1|2 +--use_tensorrt:null +--run_mode:paddle|trt_fp32|trt_fp16 +--model_dir: +--image_dir:./dataset/coco/test2017/ +--save_log_path:null +--run_benchmark:False +--trt_max_shape:1600 +===========================infer_benchmark_params=========================== +random_infer_input:[{float32,[3,640,640]},{float32,[2]},{float32,[2]}] \ No newline at end of file diff --git a/test_tipc/configs/retinanet/retinanet_r50_fpn_1x_coco_train_infer_python.txt b/test_tipc/configs/retinanet/retinanet_r50_fpn_1x_coco_train_infer_python.txt new file mode 100644 index 000000000..c9d0a30ae --- /dev/null +++ b/test_tipc/configs/retinanet/retinanet_r50_fpn_1x_coco_train_infer_python.txt @@ -0,0 +1,51 @@ +===========================train_params=========================== +model_name:retinanet_r50_fpn_1x_coco +python:python3.7 +gpu_list:0|0,1 +use_gpu:True +auto_cast:null +epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=12 +save_dir:null +TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=2 +pretrain_weights:null +trained_model_name:model_final.pdparams +train_infer_img_dir:./dataset/coco/test2017/ +filename:null +## +trainer:norm_train +norm_train:tools/train.py -c configs/retinanet/retinanet_r50_fpn_1x_coco.yml -o +pact_train:tools/train.py -c configs/retinanet/retinanet_r50_fpn_1x_coco.yml --slim_config _template_pact -o +fpgm_train:tools/train.py -c configs/retinanet/retinanet_r50_fpn_1x_coco.yml --slim_config _template_fpgm -o +distill_train:null +null:null +null:null +## +===========================eval_params=========================== +eval:tools/eval.py -c configs/retinanet/retinanet_r50_fpn_1x_coco.yml -o +null:null +## +===========================infer_params=========================== +--output_dir:./output_inference +weights:null +norm_export:tools/export_model.py -c configs/retinanet/retinanet_r50_fpn_1x_coco.yml -o +pact_export:tools/export_model.py -c configs/retinanet/retinanet_r50_fpn_1x_coco.yml --slim_config _template_pact -o +fpgm_export:tools/export_model.py -c configs/retinanet/retinanet_r50_fpn_1x_coco.yml --slim_config _template_fpgm -o +distill_export:null +export1:null +export2:null +kl_quant_export:tools/post_quant.py -c configs/retinanet/retinanet_r50_fpn_1x_coco.yml --slim_config _template_kl_quant -o +## +infer_mode:norm +infer_quant:False +inference:./deploy/python/infer.py +--device:gpu|cpu +--enable_mkldnn:True|False +--cpu_threads:1|6 +--batch_size:1|2 +--use_tensorrt:null +--run_mode:paddle|trt_fp32|trt_fp16 +--model_dir: +--image_dir:./dataset/coco/test2017/ +--save_log_path:null +--run_benchmark:False +--trt_max_shape:1600 \ No newline at end of file diff --git a/test_tipc/configs/sparse_rcnn/sparse_rcnn_r50_fpn_3x_pro100_coco_train_infer_python.txt b/test_tipc/configs/sparse_rcnn/sparse_rcnn_r50_fpn_3x_pro100_coco_train_infer_python.txt new file mode 100644 index 000000000..c338e564b --- /dev/null +++ b/test_tipc/configs/sparse_rcnn/sparse_rcnn_r50_fpn_3x_pro100_coco_train_infer_python.txt @@ -0,0 +1,51 @@ +===========================train_params=========================== +model_name:sparse_rcnn_r50_fpn_3x_pro100_coco +python:python3.7 +gpu_list:0|0,1 +use_gpu:True +auto_cast:null +epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=36 +save_dir:null +TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=2 +pretrain_weights:https://paddledet.bj.bcebos.com/models/sparse_rcnn_r50_fpn_3x_pro100_coco.pdparams +trained_model_name:model_final.pdparams +train_infer_img_dir:./dataset/coco/test2017/ +filename:null +## +trainer:norm_train +norm_train:tools/train.py -c configs/sparse_rcnn/sparse_rcnn_r50_fpn_3x_pro100_coco.yml -o +pact_train:tools/train.py -c configs/sparse_rcnn/sparse_rcnn_r50_fpn_3x_pro100_coco.yml --slim_config _template_pact -o +fpgm_train:tools/train.py -c configs/sparse_rcnn/sparse_rcnn_r50_fpn_3x_pro100_coco.yml --slim_config _template_fpgm -o +distill_train:null +null:null +null:null +## +===========================eval_params=========================== +eval:tools/eval.py -c configs/sparse_rcnn/sparse_rcnn_r50_fpn_3x_pro100_coco.yml -o +null:null +## +===========================infer_params=========================== +--output_dir:./output_inference +weights:https://paddledet.bj.bcebos.com/models/sparse_rcnn_r50_fpn_3x_pro100_coco.pdparams +norm_export:tools/export_model.py -c configs/sparse_rcnn/sparse_rcnn_r50_fpn_3x_pro100_coco.yml -o +pact_export:tools/export_model.py -c configs/sparse_rcnn/sparse_rcnn_r50_fpn_3x_pro100_coco.yml --slim_config _template_pact -o +fpgm_export:tools/export_model.py -c configs/sparse_rcnn/sparse_rcnn_r50_fpn_3x_pro100_coco.yml --slim_config _template_fpgm -o +distill_export:null +export1:null +export2:null +kl_quant_export:tools/post_quant.py -c configs/sparse_rcnn/sparse_rcnn_r50_fpn_3x_pro100_coco.yml --slim_config _template_kl_quant -o +## +infer_mode:norm +infer_quant:False +inference:./deploy/python/infer.py +--device:gpu|cpu +--enable_mkldnn:True|False +--cpu_threads:1|6 +--batch_size:1|2 +--use_tensorrt:null +--run_mode:paddle|trt_fp32|trt_fp16 +--model_dir: +--image_dir:./dataset/coco/test2017/ +--save_log_path:null +--run_benchmark:False +--trt_max_shape:1600 \ No newline at end of file -- GitLab