ipd805 commited on
Commit
108164a
·
verified ·
1 Parent(s): 05f0237

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +31 -20
config.json CHANGED
@@ -1,23 +1,34 @@
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
- "model_file": "best1-2.onnx",
21
- "export_format": "onnx",
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
+ }