ipd805 commited on
Commit
f76733d
·
verified ·
1 Parent(s): a89e31b

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +37 -13
config.json CHANGED
@@ -1,17 +1,41 @@
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
  }
 
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
  }