Create config.json
Browse files- config.json +28 -0
config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "custom-sar-cnn-classifier",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"ResNetForImageClassification"
|
| 5 |
+
],
|
| 6 |
+
"model_type": "image_classification",
|
| 7 |
+
"num_labels": 5,
|
| 8 |
+
"in_channels": 2,
|
| 9 |
+
"image_size": [128, 128],
|
| 10 |
+
"hidden_size": 2048,
|
| 11 |
+
"id2label": {
|
| 12 |
+
"0": "Water_Bodies",
|
| 13 |
+
"1": "Urban_Areas",
|
| 14 |
+
"2": "Forests",
|
| 15 |
+
"3": "Agriculture",
|
| 16 |
+
"4": "Barren_Land"
|
| 17 |
+
},
|
| 18 |
+
"label2id": {
|
| 19 |
+
"Water_Bodies": 0,
|
| 20 |
+
"Urban_Areas": 1,
|
| 21 |
+
"Forests": 2,
|
| 22 |
+
"Agriculture": 3,
|
| 23 |
+
"Barren_Land": 4
|
| 24 |
+
},
|
| 25 |
+
"problem_type": "single_label_classification",
|
| 26 |
+
"transformers_version": "4.36.0",
|
| 27 |
+
"base_model": "resnet50"
|
| 28 |
+
}
|