Skip to content

Commit 5ed538a

Browse files
authored
Update PaddleX_cv_pipeline_Run_Check.yml
1 parent 85eb25f commit 5ed538a

1 file changed

Lines changed: 15 additions & 30 deletions

File tree

.github/workflows/PaddleX_cv_pipeline_Run_Check.yml

Lines changed: 15 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ jobs:
5656
--input general_object_detection_002.png \
5757
--threshold 0.5 \
5858
--save_path ./output/ \
59-
--device cpu
60-
|| exit 1
59+
--device cpu || exit 1
6160
continue-on-error: true
6261

6362
- name: test instance_segmentation
@@ -68,8 +67,7 @@ jobs:
6867
--input general_instance_segmentation_004.png \
6968
--threshold 0.5 \
7069
--save_path ./output \
71-
--device cpu
72-
|| exit 1
70+
--device cpu || exit 1
7371
continue-on-error: true
7472

7573
- name: test semantic_segmentation
@@ -80,8 +78,7 @@ jobs:
8078
--input makassaridn-road_demo.png \
8179
--target_size -1 \
8280
--save_path ./output \
83-
--device cpu
84-
|| exit 1
81+
--device cpu || exit 1
8582
continue-on-error: true
8683

8784
- name: test image_multilabel_classification
@@ -90,8 +87,7 @@ jobs:
9087
wget -q https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_image_classification_001.jpg
9188
paddlex --pipeline image_multilabel_classification \
9289
--input general_image_classification_001.jpg \
93-
--device cpu
94-
|| exit 1
90+
--device cpu || exit 1
9591
continue-on-error: true
9692

9793
- name: test small_object_detection
@@ -102,8 +98,7 @@ jobs:
10298
--input small_object_detection.jpg \
10399
--threshold 0.5 \
104100
--save_path ./output \
105-
--device cpu
106-
|| exit 1
101+
--device cpu || exit 1
107102
continue-on-error: true
108103

109104
- name: test anomaly_detection
@@ -113,8 +108,7 @@ jobs:
113108
paddlex --pipeline anomaly_detection \
114109
--input uad_grid.png \
115110
--device cpu \
116-
--save_path ./output
117-
|| exit 1
111+
--save_path ./output || exit 1
118112
continue-on-error: true
119113

120114
- name: test 3d_bev_detection
@@ -123,8 +117,7 @@ jobs:
123117
wget -q https://paddle-model-ecology.bj.bcebos.com/paddlex/det_3d/demo_det_3d/nuscenes_demo_infer.tar
124118
paddlex --pipeline 3d_bev_detection \
125119
--input nuscenes_demo_infer.tar \
126-
--device cpu
127-
|| exit 1
120+
--device cpu || exit 1
128121
continue-on-error: true
129122

130123
- name: test human_keypoint_detection
@@ -135,8 +128,7 @@ jobs:
135128
--input keypoint_detection_001.jpg \
136129
--det_threshold 0.5 \
137130
--save_path ./output/ \
138-
--device cpu
139-
|| exit 1
131+
--device cpu || exit 1
140132
continue-on-error: true
141133

142134
- name: test open_vocabulary_detection
@@ -148,8 +140,7 @@ jobs:
148140
--prompt "bus . walking man . rearview mirror ." \
149141
--thresholds "{'text_threshold': 0.25, 'box_threshold': 0.3}" \
150142
--save_path ./output \
151-
--device cpu
152-
|| exit 1
143+
--device cpu || exit 1
153144
continue-on-error: true
154145

155146
- name: test open_vocabulary_segmentation
@@ -161,8 +152,7 @@ jobs:
161152
--prompt_type box \
162153
--prompt "[[112.9,118.4,513.8,382.1],[4.6,263.6,92.2,336.6],[592.4,260.9,607.2,294.2]]" \
163154
--save_path ./output \
164-
--device cpu
165-
|| exit 1
155+
--device cpu || exit 1
166156
continue-on-error: true
167157

168158
- name: test rotated_object_detection
@@ -173,8 +163,7 @@ jobs:
173163
--input rotated_object_detection_001.png \
174164
--threshold 0.5 \
175165
--save_path ./output \
176-
--device cpu
177-
|| exit 1
166+
--device cpu || exit 1
178167
continue-on-error: true
179168

180169
- name: test pedestrian_attribute_recognition
@@ -184,8 +173,7 @@ jobs:
184173
paddlex --pipeline pedestrian_attribute_recognition \
185174
--input pedestrian_attribute_002.jpg \
186175
--device cpu \
187-
--save_path ./output/
188-
|| exit 1
176+
--save_path ./output/ || exit 1
189177
continue-on-error: true
190178

191179
- name: test vehicle_attribute_recognition
@@ -195,8 +183,7 @@ jobs:
195183
paddlex --pipeline vehicle_attribute_recognition \
196184
--input vehicle_attribute_002.jpg \
197185
--device cpu \
198-
--save_path ./output/
199-
|| exit 1
186+
--save_path ./output/ || exit 1
200187
continue-on-error: true
201188

202189
- name: test PP-ShiTuV2
@@ -205,8 +192,7 @@ jobs:
205192
wget -q https://paddle-model-ecology.bj.bcebos.com/paddlex/data/drink_dataset_v2.0.tar
206193
tar -xf drink_dataset_v2.0.tar
207194
wget -q https://paddle-qa.bj.bcebos.com/suijiaxin/PaddleX/test_PP-ShiTuV2.py
208-
python test_PP-ShiTuV2.py
209-
|| exit 1
195+
python test_PP-ShiTuV2.py || exit 1
210196
continue-on-error: true
211197

212198
- name: test face_recognition
@@ -216,7 +202,6 @@ jobs:
216202
tar -xf ./face_demo_gallery.tar
217203
wget -q https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/friends1.jpg
218204
wget -q https://paddle-qa.bj.bcebos.com/suijiaxin/PaddleX/test_face_recognition.py
219-
python test_face_recognition.py
220-
|| exit 1
205+
python test_face_recognition.py || exit 1
221206
continue-on-error: true
222207

0 commit comments

Comments
 (0)