Update config.json
Browse files- config.json +7 -28
config.json
CHANGED
|
@@ -2,44 +2,23 @@
|
|
| 2 |
"model_type": "custom_resnet",
|
| 3 |
"auto_map": {
|
| 4 |
"AutoConfig": "modeling_resnet.ResNetConfig",
|
| 5 |
-
"AutoModel": "modeling_resnet.ResNet"
|
|
|
|
| 6 |
},
|
| 7 |
"architectures": [
|
| 8 |
"ResNet"
|
| 9 |
],
|
| 10 |
"num_classes": 10,
|
| 11 |
-
"
|
| 12 |
"image_size": 64,
|
| 13 |
"activation_function": "relu",
|
| 14 |
-
"block_type": "resnet",
|
| 15 |
-
"layers": [3, 4, 6, 3],
|
| 16 |
-
"hidden_sizes": [64, 128, 256, 512],
|
| 17 |
-
"classifier_dropout": 0.0,
|
| 18 |
-
"label_smoothing": 0.1,
|
| 19 |
-
"problem_type": "single_label_classification",
|
| 20 |
"id2label": {
|
| 21 |
-
"0": "0",
|
| 22 |
-
"
|
| 23 |
-
"2": "2",
|
| 24 |
-
"3": "3",
|
| 25 |
-
"4": "4",
|
| 26 |
-
"5": "5",
|
| 27 |
-
"6": "6",
|
| 28 |
-
"7": "7",
|
| 29 |
-
"8": "8",
|
| 30 |
-
"9": "9"
|
| 31 |
},
|
| 32 |
"label2id": {
|
| 33 |
-
"0": 0,
|
| 34 |
-
"
|
| 35 |
-
"2": 2,
|
| 36 |
-
"3": 3,
|
| 37 |
-
"4": 4,
|
| 38 |
-
"5": 5,
|
| 39 |
-
"6": 6,
|
| 40 |
-
"7": 7,
|
| 41 |
-
"8": 8,
|
| 42 |
-
"9": 9
|
| 43 |
},
|
| 44 |
"torch_dtype": "float32",
|
| 45 |
"transformers_version": "4.47.1"
|
|
|
|
| 2 |
"model_type": "custom_resnet",
|
| 3 |
"auto_map": {
|
| 4 |
"AutoConfig": "modeling_resnet.ResNetConfig",
|
| 5 |
+
"AutoModel": "modeling_resnet.ResNet",
|
| 6 |
+
"AutoModelForImageClassification": "modeling_resnet.ResNet"
|
| 7 |
},
|
| 8 |
"architectures": [
|
| 9 |
"ResNet"
|
| 10 |
],
|
| 11 |
"num_classes": 10,
|
| 12 |
+
"num_channels": 3,
|
| 13 |
"image_size": 64,
|
| 14 |
"activation_function": "relu",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
"id2label": {
|
| 16 |
+
"0": "0", "1": "1", "2": "2", "3": "3", "4": "4",
|
| 17 |
+
"5": "5", "6": "6", "7": "7", "8": "8", "9": "9"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
},
|
| 19 |
"label2id": {
|
| 20 |
+
"0": 0, "1": 1, "2": 2, "3": 3, "4": 4,
|
| 21 |
+
"5": 5, "6": 6, "7": 7, "8": 8, "9": 9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
},
|
| 23 |
"torch_dtype": "float32",
|
| 24 |
"transformers_version": "4.47.1"
|