ipd805 commited on
Commit
4a3e6fb
·
verified ·
1 Parent(s): 2ac4e1c

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +27 -19
config.json CHANGED
@@ -1,10 +1,7 @@
1
  {
2
  "name": "YOLOv8 Digit and Icon Detector",
3
  "framework": "onnx",
4
- "task_type": "detection",
5
- "architecture": "yolov8",
6
- "model_type": "yolov8",
7
- "weights": "best1-2.onnx",
8
  "labels": [
9
  {
10
  "name": "digit",
@@ -15,19 +12,30 @@
15
  "color": "#00ff00"
16
  }
17
  ],
18
- "id2label": {
19
- "0": "digit",
20
- "1": "icon"
21
- },
22
- "label2id": {
23
- "digit": 0,
24
- "icon": 1
25
- },
26
- "interpretation_script": "yolo",
27
- "config": {
28
- "input_size": [640, 640],
29
- "confidence_threshold": 0.25,
30
- "iou_threshold": 0.45,
31
- "max_detections": 300
32
- }
 
 
 
 
 
 
 
 
 
 
 
33
  }
 
1
  {
2
  "name": "YOLOv8 Digit and Icon Detector",
3
  "framework": "onnx",
4
+ "type": "detection",
 
 
 
5
  "labels": [
6
  {
7
  "name": "digit",
 
12
  "color": "#00ff00"
13
  }
14
  ],
15
+ "model_attributes": [
16
+ {
17
+ "name": "confidence_threshold",
18
+ "default_value": 0.25,
19
+ "input_type": "number"
20
+ },
21
+ {
22
+ "name": "iou_threshold",
23
+ "default_value": 0.45,
24
+ "input_type": "number"
25
+ }
26
+ ],
27
+ "inputs": [
28
+ {
29
+ "name": "images",
30
+ "shape": [1, 3, 640, 640],
31
+ "layout": "NCHW"
32
+ }
33
+ ],
34
+ "outputs": [
35
+ {
36
+ "name": "output0",
37
+ "shape": [-1, 5]
38
+ }
39
+ ],
40
+ "interpretation_script": "yolo_v8_onnx_detector"
41
  }