|
{ |
|
"_name_or_path": "google/vit-base-patch16-224-in21k", |
|
"architectures": [ |
|
"ViTForImageClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.0, |
|
"encoder_stride": 16, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.0, |
|
"hidden_size": 768, |
|
"id2label": { |
|
"0": "Maize_Leaf_Blight (MLB)", |
|
"1":"Bean_Rust (BR)", |
|
"2": "Tomato_Spider_Mite", |
|
"3":"Bean_Angular_Leaf_Spot (ALS)", |
|
"4":"Cassava_Brown_Streak_Disease (CBSD)", |
|
"5":"Bean_Healthy", |
|
"6":"Maize_Lethal_Necrosis (MLN)", |
|
"7":"Maize_Fall_Army_Worm (FAW)", |
|
"8":"Tomato_Mosaic_Virus", |
|
"9":"Tomato_Early_Blight", |
|
"10":"Cassava_Healthy", |
|
"11":"Tomato_Bacterial_Spot", |
|
"12":"Tomato_YellowLeaf_Curl_Virus", |
|
"13":"Tomato_Healthy", |
|
"14":"Maize_Healthy", |
|
"15":"Maize_Cercospora_Leaf_Spot (CLS)", |
|
"16":"Tomato_Target_Spot", |
|
"17": "Tomato_Leaf_Mold", |
|
"18": "Maize_Streak_Virus (MSV)", |
|
"19":"Tomato_Late_Blight", |
|
"20":"Tomato_Septoria_Leaf_Spot", |
|
"21":"Cassava_Mosaic_Disease (CMD)" |
|
}, |
|
"image_size": 224, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"Maize_Leaf_Blight (MLB)":"0", |
|
"Bean_Rust (BR)":"1", |
|
"Tomato_Spider_Mite":"2", |
|
"Bean_Angular_Leaf_Spot (ALS)" :"3", |
|
"Cassava_Brown_Streak_Disease (CBSD)":"4", |
|
"Bean_Healthy":"5", |
|
"Maize_Lethal_Necrosis (MLN)":"6", |
|
"Maize_Fall_Army_Worm (FAW)": "7", |
|
"Tomato_Mosaic_Virus":"8", |
|
"Tomato_Early_Blight":"9", |
|
"Cassava_Healthy":"10", |
|
"Tomato_Bacterial_Spot":"11", |
|
"Tomato_YellowLeaf_Curl_Virus":"12", |
|
"Tomato_Healthy":"13", |
|
"Maize_Healthy":"14", |
|
"Maize_Cercospora_Leaf_Spot (CLS)":"15", |
|
"Tomato_Target_Spot": "16", |
|
"Tomato_Leaf_Mold":"17", |
|
"Maize_Streak_Virus (MSV)":"18", |
|
"Tomato_Late_Blight":"19", |
|
"Tomato_Septoria_Leaf_Spot":"20", |
|
"Cassava_Mosaic_Disease (CMD)": "21" |
|
}, |
|
"layer_norm_eps": 1e-12, |
|
"model_type": "vit", |
|
"num_attention_heads": 12, |
|
"num_channels": 3, |
|
"num_hidden_layers": 12, |
|
"patch_size": 16, |
|
"problem_type": "single_label_classification", |
|
"qkv_bias": true, |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.28.0" |
|
} |
|
|