From bccee30e34c4e8f86672b4e4482ece03daa96ecc Mon Sep 17 00:00:00 2001 From: shangliang Xu Date: Fri, 1 Jul 2022 11:28:15 +0800 Subject: [PATCH] [TIPC] fix ptq txt, test=document_fix (#6320) --- .../keypoint/tinypose_128x96_train_ptq_infer_python.txt | 2 +- .../mask_rcnn_r50_fpn_1x_coco_train_pact_infer_python.txt | 4 ++-- .../mask_rcnn_r50_fpn_1x_coco_train_ptq_infer_python.txt | 4 ++-- .../ppyolo/ppyolo_mbv3_large_coco_train_pact_infer_python.txt | 2 +- .../ppyolo/ppyolo_mbv3_large_coco_train_ptq_infer_python.txt | 2 +- .../ppyoloe_crn_s_300e_coco_train_ptq_infer_python.txt | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/test_tipc/configs/keypoint/tinypose_128x96_train_ptq_infer_python.txt b/test_tipc/configs/keypoint/tinypose_128x96_train_ptq_infer_python.txt index 6f100fab6..5b5dfd604 100644 --- a/test_tipc/configs/keypoint/tinypose_128x96_train_ptq_infer_python.txt +++ b/test_tipc/configs/keypoint/tinypose_128x96_train_ptq_infer_python.txt @@ -5,7 +5,7 @@ filename: ## --output_dir:./output_inference weights:https://paddledet.bj.bcebos.com/models/keypoint/tinypose_128x96.pdparams -kl_quant_export:tools/post_quant.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config configs/slim/post_quant/yolov3_darknet53_ptq.yml -o +kl_quant_export:tools/post_quant.py -c test_tipc/configs/keypoint/tinypose_128x96.yml --slim_config configs/slim/post_quant/tinypose_128x96_ptq.yml -o export_param1:null ## inference:./deploy/python/keypoint_infer.py diff --git a/test_tipc/configs/mask_rcnn/mask_rcnn_r50_fpn_1x_coco_train_pact_infer_python.txt b/test_tipc/configs/mask_rcnn/mask_rcnn_r50_fpn_1x_coco_train_pact_infer_python.txt index 5cb0f03f4..a040bae4b 100644 --- a/test_tipc/configs/mask_rcnn/mask_rcnn_r50_fpn_1x_coco_train_pact_infer_python.txt +++ b/test_tipc/configs/mask_rcnn/mask_rcnn_r50_fpn_1x_coco_train_pact_infer_python.txt @@ -14,7 +14,7 @@ filename:null ## trainer:pact_train norm_train:tools/train.py -c configs/mask_rcnn/mask_rcnn_r50_fpn_1x_coco.yml -o -pact_train:tools/train.py -c configs/mask_rcnn/mask_rcnn_r50_fpn_1x_coco.yml --slim_config configs/slim/quant/yolov3_mobilenet_v3_qat.yml -o +pact_train:tools/train.py -c configs/mask_rcnn/mask_rcnn_r50_fpn_1x_coco.yml --slim_config configs/slim/quant/mask_rcnn_r50_fpn_1x_qat.yml -o fpgm_train:tools/train.py -c configs/mask_rcnn/mask_rcnn_r50_fpn_1x_coco.yml --slim_config _template_fpgm -o distill_train:null null:null @@ -41,7 +41,7 @@ inference:./deploy/python/infer.py --device:gpu|cpu --enable_mkldnn:False --cpu_threads:4 ---batch_size:1|2 +--batch_size:1 --use_tensorrt:null --run_mode:paddle --model_dir: diff --git a/test_tipc/configs/mask_rcnn/mask_rcnn_r50_fpn_1x_coco_train_ptq_infer_python.txt b/test_tipc/configs/mask_rcnn/mask_rcnn_r50_fpn_1x_coco_train_ptq_infer_python.txt index c58b7a254..96c2631b1 100644 --- a/test_tipc/configs/mask_rcnn/mask_rcnn_r50_fpn_1x_coco_train_ptq_infer_python.txt +++ b/test_tipc/configs/mask_rcnn/mask_rcnn_r50_fpn_1x_coco_train_ptq_infer_python.txt @@ -5,14 +5,14 @@ filename: ## --output_dir:./output_inference weights:https://paddledet.bj.bcebos.com/models/mask_rcnn_r50_fpn_1x_coco.pdparams -kl_quant_export:tools/post_quant.py -c configs/mask_rcnn/mask_rcnn_r50_fpn_1x_coco.yml --slim_config configs/slim/post_quant/yolov3_darknet53_ptq.yml -o +kl_quant_export:tools/post_quant.py -c configs/mask_rcnn/mask_rcnn_r50_fpn_1x_coco.yml --slim_config configs/slim/post_quant/mask_rcnn_r50_fpn_1x_coco_ptq.yml -o export_param1:null ## inference:./deploy/python/infer.py --device:gpu|cpu --enable_mkldnn:False --cpu_threads:4 ---batch_size:1|2 +--batch_size:1 --run_mode:paddle --model_dir: --image_dir:./dataset/coco/test2017/ diff --git a/test_tipc/configs/ppyolo/ppyolo_mbv3_large_coco_train_pact_infer_python.txt b/test_tipc/configs/ppyolo/ppyolo_mbv3_large_coco_train_pact_infer_python.txt index 614bfb4e9..d0e17fe6a 100644 --- a/test_tipc/configs/ppyolo/ppyolo_mbv3_large_coco_train_pact_infer_python.txt +++ b/test_tipc/configs/ppyolo/ppyolo_mbv3_large_coco_train_pact_infer_python.txt @@ -14,7 +14,7 @@ filename:null ## trainer:pact_train norm_train:tools/train.py -c configs/ppyolo/ppyolo_mbv3_large_coco.yml -o -pact_train:tools/train.py -c configs/ppyolo/ppyolo_mbv3_large_coco.yml --slim_config configs/slim/quant/yolov3_mobilenet_v3_qat.yml -o +pact_train:tools/train.py -c configs/ppyolo/ppyolo_mbv3_large_coco.yml --slim_config configs/slim/quant/ppyolo_mbv3_large_qat.yml -o fpgm_train:tools/train.py -c configs/ppyolo/ppyolo_mbv3_large_coco.yml --slim_config configs/slim/prune/ppyolo_mbv3_large_prune_fpgm.yml -o distill_train:null null:null diff --git a/test_tipc/configs/ppyolo/ppyolo_mbv3_large_coco_train_ptq_infer_python.txt b/test_tipc/configs/ppyolo/ppyolo_mbv3_large_coco_train_ptq_infer_python.txt index 6601ba2a4..38190e4bf 100644 --- a/test_tipc/configs/ppyolo/ppyolo_mbv3_large_coco_train_ptq_infer_python.txt +++ b/test_tipc/configs/ppyolo/ppyolo_mbv3_large_coco_train_ptq_infer_python.txt @@ -5,7 +5,7 @@ filename: ## --output_dir:./output_inference weights:https://paddledet.bj.bcebos.com/models/ppyolo_mbv3_large_coco.pdparams -kl_quant_export:tools/post_quant.py -c configs/ppyolo/ppyolo_mbv3_large_coco.yml --slim_config configs/slim/post_quant/yolov3_darknet53_ptq.yml -o +kl_quant_export:tools/post_quant.py -c configs/ppyolo/ppyolo_mbv3_large_coco.yml --slim_config configs/slim/post_quant/ppyolo_mbv3_large_ptq.yml -o export_param1:null ## inference:./deploy/python/infer.py diff --git a/test_tipc/configs/ppyoloe/ppyoloe_crn_s_300e_coco_train_ptq_infer_python.txt b/test_tipc/configs/ppyoloe/ppyoloe_crn_s_300e_coco_train_ptq_infer_python.txt index 77ef6a1cf..4bde5e37f 100644 --- a/test_tipc/configs/ppyoloe/ppyoloe_crn_s_300e_coco_train_ptq_infer_python.txt +++ b/test_tipc/configs/ppyoloe/ppyoloe_crn_s_300e_coco_train_ptq_infer_python.txt @@ -5,7 +5,7 @@ filename: ## --output_dir:./output_inference weights:https://paddledet.bj.bcebos.com/models/ppyoloe_crn_s_300e_coco.pdparams -kl_quant_export:tools/post_quant.py -c configs/ppyoloe/ppyoloe_crn_s_300e_coco.yml --slim_config configs/slim/post_quant/yolov3_darknet53_ptq.yml -o +kl_quant_export:tools/post_quant.py -c configs/ppyoloe/ppyoloe_crn_s_300e_coco.yml --slim_config configs/slim/post_quant/ppyoloe_crn_s_300e_coco_ptq.yml -o export_param1:null ## inference:./deploy/python/infer.py -- GitLab