Update config.json
Browse files- config.json +1 -31
config.json
CHANGED
|
@@ -5,21 +5,12 @@
|
|
| 5 |
"architecture": "YOLOv8",
|
| 6 |
"model_type": "yolov8",
|
| 7 |
"weights": "best1.pt",
|
| 8 |
-
"config": {
|
| 9 |
-
"num_classes": 2,
|
| 10 |
-
"input_size": [640, 640],
|
| 11 |
-
"anchors": "auto",
|
| 12 |
-
"strides": [8, 16, 32],
|
| 13 |
-
"class_names": ["digit", "icon"]
|
| 14 |
-
},
|
| 15 |
"labels": [
|
| 16 |
{
|
| 17 |
-
"id": 0,
|
| 18 |
"name": "digit",
|
| 19 |
"color": "#ff0000"
|
| 20 |
},
|
| 21 |
{
|
| 22 |
-
"id": 1,
|
| 23 |
"name": "icon",
|
| 24 |
"color": "#00ff00"
|
| 25 |
}
|
|
@@ -28,26 +19,5 @@
|
|
| 28 |
"0": "digit",
|
| 29 |
"1": "icon"
|
| 30 |
},
|
| 31 |
-
"
|
| 32 |
-
"digit": 0,
|
| 33 |
-
"icon": 1
|
| 34 |
-
},
|
| 35 |
-
"preprocessing": {
|
| 36 |
-
"resize_mode": "letterbox",
|
| 37 |
-
"size": [640, 640],
|
| 38 |
-
"mean": [0, 0, 0],
|
| 39 |
-
"std": [255, 255, 255],
|
| 40 |
-
"to_rgb": true
|
| 41 |
-
},
|
| 42 |
-
"postprocessing": {
|
| 43 |
-
"confidence_threshold": 0.25,
|
| 44 |
-
"iou_threshold": 0.45,
|
| 45 |
-
"max_detections": 300
|
| 46 |
-
},
|
| 47 |
-
"metadata": {
|
| 48 |
-
"description": "YOLOv8 PyTorch model for detecting digits and icons",
|
| 49 |
-
"author": "Your Name",
|
| 50 |
-
"version": "1.0",
|
| 51 |
-
"license": "MIT"
|
| 52 |
-
}
|
| 53 |
}
|
|
|
|
| 5 |
"architecture": "YOLOv8",
|
| 6 |
"model_type": "yolov8",
|
| 7 |
"weights": "best1.pt",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
"labels": [
|
| 9 |
{
|
|
|
|
| 10 |
"name": "digit",
|
| 11 |
"color": "#ff0000"
|
| 12 |
},
|
| 13 |
{
|
|
|
|
| 14 |
"name": "icon",
|
| 15 |
"color": "#00ff00"
|
| 16 |
}
|
|
|
|
| 19 |
"0": "digit",
|
| 20 |
"1": "icon"
|
| 21 |
},
|
| 22 |
+
"interpretation_script": "yolo"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
}
|