ipd805 commited on
Commit
8186c55
·
verified ·
1 Parent(s): da95646

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +11 -28
config.json CHANGED
@@ -1,34 +1,17 @@
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": "best1-2.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
  }
 
1
  {
2
  "name": "YOLOv8 Digit and Icon Detector",
3
  "framework": "onnx",
4
+ "id2label": {
5
+ "0": "digit",
6
+ "1": "icon"
7
+ },
8
+ "label2id": {
9
+ "digit": 0,
10
+ "icon": 1
11
+ },
 
 
 
 
12
  "interpretation_script": "yolo",
13
  "weights": "best1-2.onnx",
14
+ "image_size": [640, 640],
15
+ "framework": "onnx",
16
+ "inference_framework": "onnx"
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  }