andres.salguero
commited on
Commit
•
78440cf
1
Parent(s):
e71b026
Add id2label and label2id mappings
Browse files- config.json +13 -2
config.json
CHANGED
@@ -1,7 +1,18 @@
|
|
1 |
{
|
2 |
-
"num_labels": 4,
|
3 |
"model_type": "resnet",
|
4 |
"architectures": ["ResNetForImageClassification"],
|
5 |
"hidden_size": 2048,
|
6 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
}
|
|
|
1 |
{
|
2 |
+
"num_labels": 4,
|
3 |
"model_type": "resnet",
|
4 |
"architectures": ["ResNetForImageClassification"],
|
5 |
"hidden_size": 2048,
|
6 |
+
"id2label": {
|
7 |
+
"0": "level0",
|
8 |
+
"1": "level1",
|
9 |
+
"2": "level2",
|
10 |
+
"3": "level3"
|
11 |
+
},
|
12 |
+
"label2id": {
|
13 |
+
"level0": 0,
|
14 |
+
"level1": 1,
|
15 |
+
"level2": 2,
|
16 |
+
"level3": 3
|
17 |
+
}
|
18 |
}
|