ipd805 commited on
Commit
744b796
·
verified ·
1 Parent(s): 4a3e6fb

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +18 -38
config.json CHANGED
@@ -1,41 +1,21 @@
1
  {
2
- "name": "YOLOv8 Digit and Icon Detector",
3
- "framework": "onnx",
4
- "type": "detection",
5
- "labels": [
6
- {
7
- "name": "digit",
8
- "color": "#ff0000"
9
- },
10
- {
11
- "name": "icon",
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
  }
 
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
+ "inference_framework": "onnx"
21
  }