Upload config.json
Browse files- config.json +54 -0
config.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "WinKawaks/vit-tiny-patch16-224",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"ViTForImageClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.0,
|
| 7 |
+
"encoder_stride": 16,
|
| 8 |
+
"hidden_act": "gelu",
|
| 9 |
+
"hidden_dropout_prob": 0.0,
|
| 10 |
+
"hidden_size": 192,
|
| 11 |
+
"id2label": {
|
| 12 |
+
"0": "Corn___Common_Rust",
|
| 13 |
+
"1": "Corn___Gray_Leaf_Spot",
|
| 14 |
+
"10": "Wheat___Brown_Rust",
|
| 15 |
+
"11": "Wheat___Healthy",
|
| 16 |
+
"12": "Wheat___Yellow_Rust",
|
| 17 |
+
"2": "Corn___Healthy",
|
| 18 |
+
"3": "Invalid",
|
| 19 |
+
"4": "Potato___Early_Blight",
|
| 20 |
+
"5": "Potato___Healthy",
|
| 21 |
+
"6": "Potato___Late_Blight",
|
| 22 |
+
"7": "Rice___Brown_Spot",
|
| 23 |
+
"8": "Rice___Healthy",
|
| 24 |
+
"9": "Rice___Leaf_Blast"
|
| 25 |
+
},
|
| 26 |
+
"image_size": 224,
|
| 27 |
+
"initializer_range": 0.02,
|
| 28 |
+
"intermediate_size": 768,
|
| 29 |
+
"label2id": {
|
| 30 |
+
"Corn___Common_Rust": "0",
|
| 31 |
+
"Corn___Gray_Leaf_Spot": "1",
|
| 32 |
+
"Corn___Healthy": "2",
|
| 33 |
+
"Invalid": "3",
|
| 34 |
+
"Potato___Early_Blight": "4",
|
| 35 |
+
"Potato___Healthy": "5",
|
| 36 |
+
"Potato___Late_Blight": "6",
|
| 37 |
+
"Rice___Brown_Spot": "7",
|
| 38 |
+
"Rice___Healthy": "8",
|
| 39 |
+
"Rice___Leaf_Blast": "9",
|
| 40 |
+
"Wheat___Brown_Rust": "10",
|
| 41 |
+
"Wheat___Healthy": "11",
|
| 42 |
+
"Wheat___Yellow_Rust": "12"
|
| 43 |
+
},
|
| 44 |
+
"layer_norm_eps": 1e-12,
|
| 45 |
+
"model_type": "vit",
|
| 46 |
+
"num_attention_heads": 3,
|
| 47 |
+
"num_channels": 3,
|
| 48 |
+
"num_hidden_layers": 12,
|
| 49 |
+
"patch_size": 16,
|
| 50 |
+
"problem_type": "single_label_classification",
|
| 51 |
+
"qkv_bias": true,
|
| 52 |
+
"torch_dtype": "float32",
|
| 53 |
+
"transformers_version": "4.44.2"
|
| 54 |
+
}
|