ipd805 commited on
Commit
da9ca8b
·
verified ·
1 Parent(s): 19c460a

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +50 -22
config.json CHANGED
@@ -1,25 +1,53 @@
1
  {
2
- "model_name": "ipd805/digit",
3
- "model_type": "ObjectDetection",
4
- "framework": "onnx",
5
- "class_set": {
6
- "name": "digit-icon-classes",
7
- "classes": [
8
- {
9
- "name": "digit",
10
- "id": 0,
11
- "color": "#ff0000"
12
- },
13
- {
14
- "name": "icon",
15
- "id": 1,
16
- "color": "#00ff00"
17
- }
18
- ]
19
  },
20
- "input_shape": [640, 640, 3],
21
- "input_type": "image",
22
- "output_type": "tensor",
23
- "confidence_threshold": 0.5,
24
- "iou_threshold": 0.5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  }
 
1
  {
2
+ "name": "YOLOv8 Digit and Icon Detector",
3
+ "framework": "yolov8",
4
+ "task_type": "object-detection",
5
+ "architecture": "YOLOv8",
6
+ "model_type": "yolov8",
7
+ "weights": "best1-2.onnx",
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
+ }
26
+ ],
27
+ "id2label": {
28
+ "0": "digit",
29
+ "1": "icon"
30
+ },
31
+ "label2id": {
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 model for detecting digits and icons",
49
+ "author": "Your Name",
50
+ "version": "1.0",
51
+ "license": "MIT"
52
+ }
53
  }