Spaces:
Runtime error
Runtime error
Commit
·
cec17f7
1
Parent(s):
18d4e5f
hot_fix
Browse files
app.py
CHANGED
@@ -100,11 +100,11 @@ content = "".join(content)
|
|
100 |
classes = content.split("\n")
|
101 |
color_palette_pred = np.random.uniform(0, 255, size=(len(classes), 3))
|
102 |
|
103 |
-
model_names =
|
104 |
-
"yolov8s 640 mask_300000_3000_0.3_0.7.onnx",
|
105 |
-
"yolov8m 640 mask_300000_3000_0.3_0.7.onnx",
|
106 |
-
"yolov8l 640 mask_300000_3000_0.3_0.7.onnx",
|
107 |
-
"yolov8x 640 mask_300000_3000_0.3_0.7.onnx"
|
108 |
input_size = 640
|
109 |
|
110 |
|
|
|
100 |
classes = content.split("\n")
|
101 |
color_palette_pred = np.random.uniform(0, 255, size=(len(classes), 3))
|
102 |
|
103 |
+
model_names = {"YOLOv8n":"yolov8n 640 mask_300000_3000_0.3_0.7.onnx",
|
104 |
+
"YOLOv8s":"yolov8s 640 mask_300000_3000_0.3_0.7.onnx",
|
105 |
+
"YOLOv8m":"yolov8m 640 mask_300000_3000_0.3_0.7.onnx",
|
106 |
+
"YOLOv8l":"yolov8l 640 mask_300000_3000_0.3_0.7.onnx",
|
107 |
+
"YOLOv8x":"yolov8x 640 mask_300000_3000_0.3_0.7.onnx"}
|
108 |
input_size = 640
|
109 |
|
110 |
|