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 0000000000000000000000000000000000000000..d219b5c6c7dccb3eb93aaf6ebfa723bd3df2bc2c --- /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 0000000000000000000000000000000000000000..54b542ce64b96ea0a768f1ae0a918a1d17d983b7 --- /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 528670fedc6791c35f7e21e644bbeb727bcc17ea..bdea2c82da99a485b25ea6497e9ca3c99b7455d0 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 f3c4e32f8be02b3e190b9c62fbd810e70662d6f5..5430227276a92c1bbf5dfd6f126ec9cdf2fc91f2 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 0000000000000000000000000000000000000000..e90e1e90b19649003d23097e70cd12fbbb98f950 --- /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 6fe0967fa45d0f8302310fe90260b98f4791e403..17fdbdb97a0ffae1e324b29b4e16e7118cf23cdb 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 eac66ffe617c904822460d367beaf683c6f557a5..ec3ef8c9ab0ce5d6056f89e5811e85666f649d59 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 c8e1c449e5b8f4eb1cf8f3f671745c69ec8e4b55..fd2da79349744ed1393b749030eca4b00f075a95 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 0000000000000000000000000000000000000000..e716ebebaed1312b663eb13a59688357395212df --- /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 8fefc47f17d902b768ddb6abea14576a6edd6956..3e84393e6061449fd4f9eef05ee32f6553730dce 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 e9e84268a9def228bc2ddf5cd61610d83f08c627..5ab4ab3df9e211f874b0771041c49d68c54682cd 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 0000000000000000000000000000000000000000..a5fa9b3407e4e6d211c28823127e51d19c5212e1 --- /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 0000000000000000000000000000000000000000..5c377395544127f357faf16390a61109e6f23ebd --- /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 0000000000000000000000000000000000000000..5d2fe8731453925869ad1e5fb6169a64345719b4 --- /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 0000000000000000000000000000000000000000..21b44955fd0b5b5ac97275ba8685657a22d9bd4f --- /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 0000000000000000000000000000000000000000..7205f33d379e4314c19b541119ccccbcbe2e645f --- /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 0000000000000000000000000000000000000000..c9d0a30ae7d7e4149bb6139ddd5029be294a2d4a --- /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 0000000000000000000000000000000000000000..c338e564b3d9ffdc1ee9e93f3e7fa4a5c3810914 --- /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