From 6dc40ef42cea061f29e0c3094718396cbbdf8901 Mon Sep 17 00:00:00 2001 From: Zeref996 <825276847@qq.com> Date: Thu, 13 Feb 2025 15:11:57 +0800 Subject: [PATCH] add cinn converge case --- framework/e2e/cinn_converge/BlazeFace_CINN.sh | 1 + framework/e2e/cinn_converge/BlazeFace_dy.sh | 1 + .../e2e/cinn_converge/Cascade-FasterRCNN-ResNet50-FPN_CINN.sh | 1 + .../e2e/cinn_converge/Cascade-FasterRCNN-ResNet50-FPN_dy.sh | 1 + framework/e2e/cinn_converge/FCOS-ResNet50_CINN.sh | 1 + framework/e2e/cinn_converge/FCOS-ResNet50_dy.sh | 1 + framework/e2e/cinn_converge/FasterRCNN-ResNet50-vd-FPN_CINN.sh | 1 + framework/e2e/cinn_converge/FasterRCNN-ResNet50-vd-FPN_dy.sh | 1 + framework/e2e/cinn_converge/MobileFaceNet_CINN.sh | 1 + framework/e2e/cinn_converge/MobileFaceNet_dy.sh | 1 + .../e2e/cinn_converge/PP-LCNet_x1_0_pedestrian_attribute_CINN.sh | 1 + .../e2e/cinn_converge/PP-LCNet_x1_0_pedestrian_attribute_dy.sh | 1 + framework/e2e/cinn_converge/PP-TinyPose128x96_CINN.sh | 1 + framework/e2e/cinn_converge/PP-TinyPose128x96_dy.sh | 1 + framework/e2e/cinn_converge/PP-YOLOE_plus-S_face_CINN.sh | 1 + framework/e2e/cinn_converge/PP-YOLOE_plus-S_face_dy.sh | 1 + framework/e2e/cinn_converge/ResNet50_ML_CINN.sh | 1 + framework/e2e/cinn_converge/ResNet50_ML_dy.sh | 1 + framework/e2e/cinn_converge/YOLOX-S_CINN.sh | 1 + framework/e2e/cinn_converge/YOLOX-S_dy.sh | 1 + framework/e2e/cinn_converge/YOLOv3-DarkNet53_CINN.sh | 1 + framework/e2e/cinn_converge/YOLOv3-DarkNet53_dy.sh | 1 + framework/e2e/cinn_converge/YOWO_CINN.sh | 1 + framework/e2e/cinn_converge/YOWO_dy.sh | 1 + 24 files changed, 24 insertions(+) create mode 100644 framework/e2e/cinn_converge/BlazeFace_CINN.sh create mode 100644 framework/e2e/cinn_converge/BlazeFace_dy.sh create mode 100644 framework/e2e/cinn_converge/Cascade-FasterRCNN-ResNet50-FPN_CINN.sh create mode 100644 framework/e2e/cinn_converge/Cascade-FasterRCNN-ResNet50-FPN_dy.sh create mode 100644 framework/e2e/cinn_converge/FCOS-ResNet50_CINN.sh create mode 100644 framework/e2e/cinn_converge/FCOS-ResNet50_dy.sh create mode 100644 framework/e2e/cinn_converge/FasterRCNN-ResNet50-vd-FPN_CINN.sh create mode 100644 framework/e2e/cinn_converge/FasterRCNN-ResNet50-vd-FPN_dy.sh create mode 100644 framework/e2e/cinn_converge/MobileFaceNet_CINN.sh create mode 100644 framework/e2e/cinn_converge/MobileFaceNet_dy.sh create mode 100644 framework/e2e/cinn_converge/PP-LCNet_x1_0_pedestrian_attribute_CINN.sh create mode 100644 framework/e2e/cinn_converge/PP-LCNet_x1_0_pedestrian_attribute_dy.sh create mode 100644 framework/e2e/cinn_converge/PP-TinyPose128x96_CINN.sh create mode 100644 framework/e2e/cinn_converge/PP-TinyPose128x96_dy.sh create mode 100644 framework/e2e/cinn_converge/PP-YOLOE_plus-S_face_CINN.sh create mode 100644 framework/e2e/cinn_converge/PP-YOLOE_plus-S_face_dy.sh create mode 100644 framework/e2e/cinn_converge/ResNet50_ML_CINN.sh create mode 100644 framework/e2e/cinn_converge/ResNet50_ML_dy.sh create mode 100644 framework/e2e/cinn_converge/YOLOX-S_CINN.sh create mode 100644 framework/e2e/cinn_converge/YOLOX-S_dy.sh create mode 100644 framework/e2e/cinn_converge/YOLOv3-DarkNet53_CINN.sh create mode 100644 framework/e2e/cinn_converge/YOLOv3-DarkNet53_dy.sh create mode 100644 framework/e2e/cinn_converge/YOWO_CINN.sh create mode 100644 framework/e2e/cinn_converge/YOWO_dy.sh diff --git a/framework/e2e/cinn_converge/BlazeFace_CINN.sh b/framework/e2e/cinn_converge/BlazeFace_CINN.sh new file mode 100644 index 0000000000..f0b3e4c776 --- /dev/null +++ b/framework/e2e/cinn_converge/BlazeFace_CINN.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/face_detection/BlazeFace.yaml -o Global.mode=train -o Global.dataset_dir=../widerface_train -o Train.epochs_iters=1000 -o Train.batch_size=16 -o Train.learning_rate=0.001 -o Global.output='./output/face_detection/BlazeFace_CINN' -o Train.dy2st=True \ No newline at end of file diff --git a/framework/e2e/cinn_converge/BlazeFace_dy.sh b/framework/e2e/cinn_converge/BlazeFace_dy.sh new file mode 100644 index 0000000000..c6ca9ff53d --- /dev/null +++ b/framework/e2e/cinn_converge/BlazeFace_dy.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/face_detection/BlazeFace.yaml -o Global.mode=train -o Global.dataset_dir=../widerface_train -o Train.epochs_iters=1000 -o Train.batch_size=16 -o Train.learning_rate=0.001 -o Global.output='./output/face_detection/BlazeFace_dy' \ No newline at end of file diff --git a/framework/e2e/cinn_converge/Cascade-FasterRCNN-ResNet50-FPN_CINN.sh b/framework/e2e/cinn_converge/Cascade-FasterRCNN-ResNet50-FPN_CINN.sh new file mode 100644 index 0000000000..986685ff8f --- /dev/null +++ b/framework/e2e/cinn_converge/Cascade-FasterRCNN-ResNet50-FPN_CINN.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/object_detection/Cascade-FasterRCNN-ResNet50-FPN.yaml -o Global.mode=train -o Global.dataset_dir=../coco -o Train.num_classes=80 -o Train.epochs_iters=12 -o Train.batch_size=1 -o Train.learning_rate=0.01 -o Global.device=gpu:0,1,2,3,4,5,6,7 -o Global.output='./output/object_detection/Cascade-FasterRCNN-ResNet50-FPN_CINN' -o Train.dy2st=True \ No newline at end of file diff --git a/framework/e2e/cinn_converge/Cascade-FasterRCNN-ResNet50-FPN_dy.sh b/framework/e2e/cinn_converge/Cascade-FasterRCNN-ResNet50-FPN_dy.sh new file mode 100644 index 0000000000..901e2ce570 --- /dev/null +++ b/framework/e2e/cinn_converge/Cascade-FasterRCNN-ResNet50-FPN_dy.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/object_detection/Cascade-FasterRCNN-ResNet50-FPN.yaml -o Global.mode=train -o Global.dataset_dir=../coco -o Train.num_classes=80 -o Train.epochs_iters=12 -o Train.batch_size=1 -o Train.learning_rate=0.01 -o Global.device=gpu:0,1,2,3,4,5,6,7 -o Global.output='./output/object_detection/Cascade-FasterRCNN-ResNet50-FPN_dy' \ No newline at end of file diff --git a/framework/e2e/cinn_converge/FCOS-ResNet50_CINN.sh b/framework/e2e/cinn_converge/FCOS-ResNet50_CINN.sh new file mode 100644 index 0000000000..5d06099f67 --- /dev/null +++ b/framework/e2e/cinn_converge/FCOS-ResNet50_CINN.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/object_detection/FCOS-ResNet50.yaml -o Global.mode=train -o Global.dataset_dir=../coco -o Train.num_classes=80 -o Train.epochs_iters=12 -o Train.batch_size=2 -o Train.learning_rate=0.01 -o Global.device=gpu:0,1,2,3,4,5,6,7 -o Global.output='./output/object_detection/FCOS-ResNet50_CINN' -o Train.dy2st=True \ No newline at end of file diff --git a/framework/e2e/cinn_converge/FCOS-ResNet50_dy.sh b/framework/e2e/cinn_converge/FCOS-ResNet50_dy.sh new file mode 100644 index 0000000000..e806f175b8 --- /dev/null +++ b/framework/e2e/cinn_converge/FCOS-ResNet50_dy.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/object_detection/FCOS-ResNet50.yaml -o Global.mode=train -o Global.dataset_dir=../coco -o Train.num_classes=80 -o Train.epochs_iters=12 -o Train.batch_size=2 -o Train.learning_rate=0.01 -o Global.device=gpu:0,1,2,3,4,5,6,7 -o Global.output='./output/object_detection/FCOS-ResNet50_dy' \ No newline at end of file diff --git a/framework/e2e/cinn_converge/FasterRCNN-ResNet50-vd-FPN_CINN.sh b/framework/e2e/cinn_converge/FasterRCNN-ResNet50-vd-FPN_CINN.sh new file mode 100644 index 0000000000..da8688774f --- /dev/null +++ b/framework/e2e/cinn_converge/FasterRCNN-ResNet50-vd-FPN_CINN.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/object_detection/FasterRCNN-ResNet50-vd-FPN.yaml -o Global.mode=train -o Global.dataset_dir=../coco -o Train.num_classes=80 -o Train.epochs_iters=12 -o Train.batch_size=1 -o Train.learning_rate=0.01 -o Global.device=gpu:0,1,2,3,4,5,6,7 -o Global.output='./output/object_detection/FasterRCNN-ResNet50-vd-FPN_CINN' -o Train.dy2st=True \ No newline at end of file diff --git a/framework/e2e/cinn_converge/FasterRCNN-ResNet50-vd-FPN_dy.sh b/framework/e2e/cinn_converge/FasterRCNN-ResNet50-vd-FPN_dy.sh new file mode 100644 index 0000000000..78e8c23ec0 --- /dev/null +++ b/framework/e2e/cinn_converge/FasterRCNN-ResNet50-vd-FPN_dy.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/object_detection/FasterRCNN-ResNet50-vd-FPN.yaml -o Global.mode=train -o Global.dataset_dir=../coco -o Train.num_classes=80 -o Train.epochs_iters=12 -o Train.batch_size=1 -o Train.learning_rate=0.01 -o Global.device=gpu:0,1,2,3,4,5,6,7 -o Global.output='./output/object_detection/FasterRCNN-ResNet50-vd-FPN_dy' \ No newline at end of file diff --git a/framework/e2e/cinn_converge/MobileFaceNet_CINN.sh b/framework/e2e/cinn_converge/MobileFaceNet_CINN.sh new file mode 100644 index 0000000000..9f46c1b388 --- /dev/null +++ b/framework/e2e/cinn_converge/MobileFaceNet_CINN.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/face_feature/MobileFaceNet.yaml -o Global.mode=train -o Global.dataset_dir=../MS1M_v3 -o Train.epochs_iters=25 -o Train.batch_size=128 -o Train.learning_rate=4e-3 -o Global.device=gpu:0,1,2,3,4,5,6,7 -o Global.output='./output/face_detection/MobileFaceNet_CINN' -o Train.dy2st=True \ No newline at end of file diff --git a/framework/e2e/cinn_converge/MobileFaceNet_dy.sh b/framework/e2e/cinn_converge/MobileFaceNet_dy.sh new file mode 100644 index 0000000000..fbba70e459 --- /dev/null +++ b/framework/e2e/cinn_converge/MobileFaceNet_dy.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/face_feature/MobileFaceNet.yaml -o Global.mode=train -o Global.dataset_dir=../MS1M_v3 -o Train.epochs_iters=25 -o Train.batch_size=128 -o Train.learning_rate=4e-3 -o Global.device=gpu:0,1,2,3,4,5,6,7 -o Global.output='./output/face_detection/MobileFaceNet_dy' \ No newline at end of file diff --git a/framework/e2e/cinn_converge/PP-LCNet_x1_0_pedestrian_attribute_CINN.sh b/framework/e2e/cinn_converge/PP-LCNet_x1_0_pedestrian_attribute_CINN.sh new file mode 100644 index 0000000000..34df6de982 --- /dev/null +++ b/framework/e2e/cinn_converge/PP-LCNet_x1_0_pedestrian_attribute_CINN.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/pedestrian_attribute_recognition/PP-LCNet_x1_0_pedestrian_attribute.yaml -o Global.mode=train -o Train.num_classes=26 -o epochs_iters=20 -o Train.batch_size=64 -o Train.learning_rate=0.01 -o Global.device=gpu:0,1,2,3 -o Global.dataset_dir=../xingrenfenxi -o Global.output='./output/pedestrian_attribute_recognition/PP-LCNet_x1_0_pedestrian_attribute_CINN' -o Train.dy2st=True \ No newline at end of file diff --git a/framework/e2e/cinn_converge/PP-LCNet_x1_0_pedestrian_attribute_dy.sh b/framework/e2e/cinn_converge/PP-LCNet_x1_0_pedestrian_attribute_dy.sh new file mode 100644 index 0000000000..86a6e7a7d6 --- /dev/null +++ b/framework/e2e/cinn_converge/PP-LCNet_x1_0_pedestrian_attribute_dy.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/pedestrian_attribute_recognition/PP-LCNet_x1_0_pedestrian_attribute.yaml -o Global.mode=train -o Train.num_classes=26 -o epochs_iters=20 -o Train.batch_size=64 -o Train.learning_rate=0.01 -o Global.device=gpu:0,1,2,3 -o Global.dataset_dir=../xingrenfenxi -o Global.output='./output/pedestrian_attribute_recognition/PP-LCNet_x1_0_pedestrian_attribute_dy' \ No newline at end of file diff --git a/framework/e2e/cinn_converge/PP-TinyPose128x96_CINN.sh b/framework/e2e/cinn_converge/PP-TinyPose128x96_CINN.sh new file mode 100644 index 0000000000..72a57e9ca0 --- /dev/null +++ b/framework/e2e/cinn_converge/PP-TinyPose128x96_CINN.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/human_keypoint_detection/PP-TinyPose128x96.yaml -o Global.mode=train -o Global.dataset_dir=../coco -o Train.epochs_iters=420 -o Train.batch_size=512 -o Train.learning_rate=0.008 -o Global.device=gpu:0,1,2,3,4,5,6,7 -o Global.output='./output/human_keypoint_detection/PP-TinyPose128x96_CINN' -o Train.dy2st=True \ No newline at end of file diff --git a/framework/e2e/cinn_converge/PP-TinyPose128x96_dy.sh b/framework/e2e/cinn_converge/PP-TinyPose128x96_dy.sh new file mode 100644 index 0000000000..b2690dc9bc --- /dev/null +++ b/framework/e2e/cinn_converge/PP-TinyPose128x96_dy.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/human_keypoint_detection/PP-TinyPose128x96.yaml -o Global.mode=train -o Global.dataset_dir=../coco -o Train.epochs_iters=420 -o Train.batch_size=512 -o Train.learning_rate=0.008 -o Global.device=gpu:0,1,2,3,4,5,6,7 -o Global.output='./output/human_keypoint_detection/PP-TinyPose128x96_dy' \ No newline at end of file diff --git a/framework/e2e/cinn_converge/PP-YOLOE_plus-S_face_CINN.sh b/framework/e2e/cinn_converge/PP-YOLOE_plus-S_face_CINN.sh new file mode 100644 index 0000000000..9eefd15ba0 --- /dev/null +++ b/framework/e2e/cinn_converge/PP-YOLOE_plus-S_face_CINN.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/face_detection/PP-YOLOE_plus-S_face.yaml -o Global.mode=train -o Global.dataset_dir=../widerface_train -o Train.epochs_iters=80 -o Train.batch_size=8 -o Train.learning_rate=0.001 -o Global.device=gpu:0,1,2,3,4,5,6,7 -o Global.output='./output/face_detection/PP-YOLOE_plus-S_face_CINN' -o Train.dy2st=True \ No newline at end of file diff --git a/framework/e2e/cinn_converge/PP-YOLOE_plus-S_face_dy.sh b/framework/e2e/cinn_converge/PP-YOLOE_plus-S_face_dy.sh new file mode 100644 index 0000000000..e036c84ea9 --- /dev/null +++ b/framework/e2e/cinn_converge/PP-YOLOE_plus-S_face_dy.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/face_detection/PP-YOLOE_plus-S_face.yaml -o Global.mode=train -o Global.dataset_dir=../widerface_train -o Train.epochs_iters=80 -o Train.batch_size=8 -o Train.learning_rate=0.001 -o Global.device=gpu:0,1,2,3,4,5,6,7 -o Global.output='./output/face_detection/PP-YOLOE_plus-S_face_dy' \ No newline at end of file diff --git a/framework/e2e/cinn_converge/ResNet50_ML_CINN.sh b/framework/e2e/cinn_converge/ResNet50_ML_CINN.sh new file mode 100644 index 0000000000..a0812de67c --- /dev/null +++ b/framework/e2e/cinn_converge/ResNet50_ML_CINN.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/image_multilabel_classification/ResNet50_ML.yaml -o Global.mode=train -o Train.num_classes=80 -o epochs_iters=40 -o Train.batch_size=32 -o Train.learning_rate=0.00005 -o Global.device=gpu:0,1,2,3,4,5,6,7 -o Global.dataset_dir=../coco_ml -o Global.output='./output/image_multilabel_classification/ResNet50_ML_CINN' -o Train.dy2st=True \ No newline at end of file diff --git a/framework/e2e/cinn_converge/ResNet50_ML_dy.sh b/framework/e2e/cinn_converge/ResNet50_ML_dy.sh new file mode 100644 index 0000000000..63906b4e3e --- /dev/null +++ b/framework/e2e/cinn_converge/ResNet50_ML_dy.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/image_multilabel_classification/ResNet50_ML.yaml -o Global.mode=train -o Train.num_classes=80 -o epochs_iters=40 -o Train.batch_size=32 -o Train.learning_rate=0.00005 -o Global.device=gpu:0,1,2,3,4,5,6,7 -o Global.dataset_dir=../coco_ml -o Global.output='./output/image_multilabel_classification/ResNet50_ML_dy' \ No newline at end of file diff --git a/framework/e2e/cinn_converge/YOLOX-S_CINN.sh b/framework/e2e/cinn_converge/YOLOX-S_CINN.sh new file mode 100644 index 0000000000..be98f98d32 --- /dev/null +++ b/framework/e2e/cinn_converge/YOLOX-S_CINN.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/object_detection/YOLOX-S.yaml -o Global.mode=train -o Global.dataset_dir=../coco -o Train.num_classes=80 -o Train.epochs_iters=300 -o Train.batch_size=8 -o Train.learning_rate=0.01 -o Global.device=gpu:0,1,2,3,4,5,6,7 -o Global.output='./output/object_detection/YOLOX-S_CINN' -o Train.dy2st=True \ No newline at end of file diff --git a/framework/e2e/cinn_converge/YOLOX-S_dy.sh b/framework/e2e/cinn_converge/YOLOX-S_dy.sh new file mode 100644 index 0000000000..1da4d63923 --- /dev/null +++ b/framework/e2e/cinn_converge/YOLOX-S_dy.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/object_detection/YOLOX-S.yaml -o Global.mode=train -o Global.dataset_dir=../coco -o Train.num_classes=80 -o Train.epochs_iters=300 -o Train.batch_size=8 -o Train.learning_rate=0.01 -o Global.device=gpu:0,1,2,3,4,5,6,7 -o Global.output='./output/object_detection/YOLOX-S_dy' \ No newline at end of file diff --git a/framework/e2e/cinn_converge/YOLOv3-DarkNet53_CINN.sh b/framework/e2e/cinn_converge/YOLOv3-DarkNet53_CINN.sh new file mode 100644 index 0000000000..7472a8139d --- /dev/null +++ b/framework/e2e/cinn_converge/YOLOv3-DarkNet53_CINN.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/object_detection/YOLOv3-DarkNet53.yaml -o Global.mode=train -o Global.dataset_dir=../coco -o Train.num_classes=80 -o Train.epochs_iters=270 -o Train.batch_size=8 -o Train.learning_rate=0.001 -o Global.device=gpu:0,1,2,3,4,5,6,7 -o Global.output='./output/object_detection/YOLOv3-DarkNet53_CINN' -o Train.dy2st=True \ No newline at end of file diff --git a/framework/e2e/cinn_converge/YOLOv3-DarkNet53_dy.sh b/framework/e2e/cinn_converge/YOLOv3-DarkNet53_dy.sh new file mode 100644 index 0000000000..eae511e2f2 --- /dev/null +++ b/framework/e2e/cinn_converge/YOLOv3-DarkNet53_dy.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/object_detection/YOLOv3-DarkNet53.yaml -o Global.mode=train -o Global.dataset_dir=../coco -o Train.num_classes=80 -o Train.epochs_iters=270 -o Train.batch_size=8 -o Train.learning_rate=0.001 -o Global.device=gpu:0,1,2,3,4,5,6,7 -o Global.output='./output/object_detection/YOLOv3-DarkNet53_dy' \ No newline at end of file diff --git a/framework/e2e/cinn_converge/YOWO_CINN.sh b/framework/e2e/cinn_converge/YOWO_CINN.sh new file mode 100644 index 0000000000..d64fa57792 --- /dev/null +++ b/framework/e2e/cinn_converge/YOWO_CINN.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/video_detection/YOWO.yaml -o Global.mode=train -o Global.dataset_dir=../yowo_dataset/ -o Global.output='./output/video_detection/YOWO_CINN' -o Train.dy2st=True \ No newline at end of file diff --git a/framework/e2e/cinn_converge/YOWO_dy.sh b/framework/e2e/cinn_converge/YOWO_dy.sh new file mode 100644 index 0000000000..7c75216b6b --- /dev/null +++ b/framework/e2e/cinn_converge/YOWO_dy.sh @@ -0,0 +1 @@ +python main.py -c paddlex/configs/modules/video_detection/YOWO.yaml -o Global.mode=train -o Global.dataset_dir=../yowo_dataset/ -o Global.output='./output/video_detection/YOWO_dy' \ No newline at end of file