Update config.json
Browse files- config.json +18 -38
config.json
CHANGED
|
@@ -1,41 +1,21 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
"
|
| 4 |
-
"
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
"
|
| 8 |
-
"color": "#ff0000"
|
| 9 |
-
},
|
| 10 |
-
{
|
| 11 |
-
"name": "icon",
|
| 12 |
-
"color": "#00ff00"
|
| 13 |
-
}
|
| 14 |
-
],
|
| 15 |
-
"model_attributes": [
|
| 16 |
-
{
|
| 17 |
-
"name": "confidence_threshold",
|
| 18 |
-
"default_value": 0.25,
|
| 19 |
-
"input_type": "number"
|
| 20 |
-
},
|
| 21 |
-
{
|
| 22 |
-
"name": "iou_threshold",
|
| 23 |
-
"default_value": 0.45,
|
| 24 |
-
"input_type": "number"
|
| 25 |
-
}
|
| 26 |
-
],
|
| 27 |
-
"inputs": [
|
| 28 |
-
{
|
| 29 |
-
"name": "images",
|
| 30 |
-
"shape": [1, 3, 640, 640],
|
| 31 |
-
"layout": "NCHW"
|
| 32 |
}
|
| 33 |
-
|
| 34 |
-
"
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"architectures": ["YOLOv8"],
|
| 3 |
+
"model_type": "yolov8",
|
| 4 |
+
"task_specific_params": {
|
| 5 |
+
"object-detection": {
|
| 6 |
+
"confidence_threshold": 0.25,
|
| 7 |
+
"iou_threshold": 0.45
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
}
|
| 9 |
+
},
|
| 10 |
+
"id2label": {
|
| 11 |
+
"0": "digit",
|
| 12 |
+
"1": "icon"
|
| 13 |
+
},
|
| 14 |
+
"label2id": {
|
| 15 |
+
"digit": 0,
|
| 16 |
+
"icon": 1
|
| 17 |
+
},
|
| 18 |
+
"image_size": [640, 640],
|
| 19 |
+
"framework": "onnx",
|
| 20 |
+
"inference_framework": "onnx"
|
| 21 |
}
|