ibelem commited on
Commit
7cbe025
·
verified ·
1 Parent(s): 3239fd1

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +5 -6
config.json CHANGED
@@ -1,5 +1,5 @@
1
- # New id2label with English + Chinese translations
2
- id2label_translated = {
3
  "0": "person 人",
4
  "1": "bicycle 自行车",
5
  "2": "car 汽车",
@@ -80,10 +80,8 @@ id2label_translated = {
80
  "77": "teddy bear 泰迪熊",
81
  "78": "hair drier 吹风机",
82
  "79": "toothbrush 牙刷"
83
- }
84
-
85
- # New label2id with English + Chinese translations
86
- label2id_translated = {
87
  "person 人": 0,
88
  "bicycle 自行车": 1,
89
  "car 汽车": 2,
@@ -164,4 +162,5 @@ label2id_translated = {
164
  "teddy bear 泰迪熊": 77,
165
  "hair drier 吹风机": 78,
166
  "toothbrush 牙刷": 79
 
167
  }
 
1
+ {
2
+ "id2label": {
3
  "0": "person 人",
4
  "1": "bicycle 自行车",
5
  "2": "car 汽车",
 
80
  "77": "teddy bear 泰迪熊",
81
  "78": "hair drier 吹风机",
82
  "79": "toothbrush 牙刷"
83
+ },
84
+ "label2id": {
 
 
85
  "person 人": 0,
86
  "bicycle 自行车": 1,
87
  "car 汽车": 2,
 
162
  "teddy bear 泰迪熊": 77,
163
  "hair drier 吹风机": 78,
164
  "toothbrush 牙刷": 79
165
+ }
166
  }