|
{ |
|
"_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": "Alternaria Leaf Spot", |
|
"1": "Angular Leaf Spot", |
|
"10": "Fusarium Wilt", |
|
"11": "Gray Mold", |
|
"12": "Leaf Spot", |
|
"13": "Powdery Mildew", |
|
"14": "Rust", |
|
"15": "Septoria Leaf Spot", |
|
"16": "White Rust", |
|
"17": "Yellow Leaf Curl Virus", |
|
"2": "Anthracnose", |
|
"3": "Bacterial Blight", |
|
"4": "Bacterial Spot", |
|
"5": "Black Spot", |
|
"6": "Cercospora Leaf Spot", |
|
"7": "Cucumber Mosaic Virus", |
|
"8": "Downy Mildew", |
|
"9": "Early Blight" |
|
}, |
|
"image_size": 224, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"Alternaria Leaf Spot": "0", |
|
"Angular Leaf Spot": "1", |
|
"Anthracnose": "2", |
|
"Bacterial Blight": "3", |
|
"Bacterial Spot": "4", |
|
"Black Spot": "5", |
|
"Cercospora Leaf Spot": "6", |
|
"Cucumber Mosaic Virus": "7", |
|
"Downy Mildew": "8", |
|
"Early Blight": "9", |
|
"Fusarium Wilt": "10", |
|
"Gray Mold": "11", |
|
"Leaf Spot": "12", |
|
"Powdery Mildew": "13", |
|
"Rust": "14", |
|
"Septoria Leaf Spot": "15", |
|
"White Rust": "16", |
|
"Yellow Leaf Curl Virus": "17" |
|
}, |
|
"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.35.2" |
|
} |
|
|