Update config.json
Browse files- config.json +31 -20
config.json
CHANGED
|
@@ -1,23 +1,34 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
"
|
| 4 |
-
"
|
| 5 |
-
|
| 6 |
-
"
|
| 7 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
},
|
| 10 |
-
"
|
| 11 |
-
|
| 12 |
-
"
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
"
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
"social_visibility": "increase"
|
| 23 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "YOLOv8 Digit and Icon Detector",
|
| 3 |
+
"framework": "onnx",
|
| 4 |
+
"labels": [
|
| 5 |
+
{
|
| 6 |
+
"name": "digit",
|
| 7 |
+
"color": "#ff0000",
|
| 8 |
+
"attributes": []
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"name": "icon",
|
| 12 |
+
"color": "#00ff00",
|
| 13 |
+
"attributes": []
|
| 14 |
}
|
| 15 |
+
],
|
| 16 |
+
"interpretation_script": "yolo",
|
| 17 |
+
"weights": "digit.onnx",
|
| 18 |
+
"class_to_idx": {"digit": 0, "icon": 1},
|
| 19 |
+
"model_parameters": {
|
| 20 |
+
"confidence_threshold": 0.5,
|
| 21 |
+
"nms_threshold": 0.4
|
| 22 |
},
|
| 23 |
+
"input_size": [640, 640],
|
| 24 |
+
"preprocessing": {
|
| 25 |
+
"resize": {
|
| 26 |
+
"width": 640,
|
| 27 |
+
"height": 640
|
| 28 |
+
},
|
| 29 |
+
"normalize": {
|
| 30 |
+
"mean": [0.485, 0.456, 0.406],
|
| 31 |
+
"std": [0.229, 0.224, 0.225]
|
| 32 |
+
}
|
| 33 |
+
}
|
| 34 |
+
}
|
|
|
|
|
|