Update config.json
Browse files- config.json +26 -29
config.json
CHANGED
|
@@ -1,37 +1,34 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
"framework": "onnx",
|
| 4 |
-
"
|
| 5 |
-
"architecture": "
|
| 6 |
-
"
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
}
|
| 17 |
-
],
|
| 18 |
"input_shape": [1, 3, 640, 640],
|
| 19 |
-
"
|
| 20 |
-
"
|
| 21 |
-
"
|
| 22 |
-
"size":
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
| 26 |
},
|
| 27 |
-
"
|
|
|
|
| 28 |
"confidence_threshold": 0.25,
|
| 29 |
"iou_threshold": 0.45,
|
| 30 |
-
"
|
| 31 |
-
},
|
| 32 |
-
"metadata": {
|
| 33 |
-
"description": "ONNX model for detecting digits and icons",
|
| 34 |
-
"author": "Your Name",
|
| 35 |
-
"version": "1.0"
|
| 36 |
}
|
| 37 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"model_type": "object_detection",
|
| 3 |
"framework": "onnx",
|
| 4 |
+
"task": "object-detection",
|
| 5 |
+
"architecture": "YOLOv8",
|
| 6 |
+
"format": "ONNX",
|
| 7 |
+
"num_labels": 2,
|
| 8 |
+
"id2label": {
|
| 9 |
+
"0": "digit",
|
| 10 |
+
"1": "icon"
|
| 11 |
+
},
|
| 12 |
+
"label2id": {
|
| 13 |
+
"digit": 0,
|
| 14 |
+
"icon": 1
|
| 15 |
+
},
|
|
|
|
|
|
|
| 16 |
"input_shape": [1, 3, 640, 640],
|
| 17 |
+
"inference_framework": "onnxruntime",
|
| 18 |
+
"preprocessor": {
|
| 19 |
+
"type": "YOLOv8ImageProcessor",
|
| 20 |
+
"size": {
|
| 21 |
+
"height": 640,
|
| 22 |
+
"width": 640
|
| 23 |
+
},
|
| 24 |
+
"do_normalize": true,
|
| 25 |
+
"do_resize": true,
|
| 26 |
+
"resize_method": "letterbox"
|
| 27 |
},
|
| 28 |
+
"postprocessor": {
|
| 29 |
+
"type": "YOLOv8Postprocessor",
|
| 30 |
"confidence_threshold": 0.25,
|
| 31 |
"iou_threshold": 0.45,
|
| 32 |
+
"max_detections_per_image": 300
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
}
|
| 34 |
}
|