Create pipeline.yaml
Browse files- pipeline.yaml +32 -0
pipeline.yaml
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# pipeline.yaml
|
2 |
+
|
3 |
+
# The name of your pipeline
|
4 |
+
name: "yolov5-inference"
|
5 |
+
|
6 |
+
# The version of your pipeline
|
7 |
+
version: "1.0"
|
8 |
+
|
9 |
+
# The entry point script for your inference code
|
10 |
+
entry_points:
|
11 |
+
- script: inference.py
|
12 |
+
|
13 |
+
# The description of your pipeline
|
14 |
+
description: "YOLOv5 model for object detection inference."
|
15 |
+
|
16 |
+
# The inputs for your pipeline
|
17 |
+
inputs:
|
18 |
+
- name: "image"
|
19 |
+
type: "file"
|
20 |
+
description: "Input image for object detection."
|
21 |
+
|
22 |
+
# The outputs for your pipeline
|
23 |
+
outputs:
|
24 |
+
- name: "predictions"
|
25 |
+
type: "table"
|
26 |
+
description: "Object detection predictions."
|
27 |
+
|
28 |
+
# The requirements for your pipeline
|
29 |
+
requirements:
|
30 |
+
- torch
|
31 |
+
- torchvision
|
32 |
+
- PIL
|