{ | |
"_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": "Anthracnose", | |
"1": "Apple Scab", | |
"10": "Crown Gall", | |
"11": "Downy Mildew", | |
"12": "Fire Blight", | |
"13": "Fusarium", | |
"14": "Gray Mold", | |
"15": "Leaf Spots", | |
"16": "Mosaic Virus", | |
"17": "Nematodes", | |
"18": "Powdery Mildew", | |
"19": "Verticillium", | |
"2": "Black Spot", | |
"3": "Blight", | |
"4": "Blossom End Rot", | |
"5": "Botrytis", | |
"6": "Brown Rot", | |
"7": "Canker", | |
"8": "Cedar Apple Rust", | |
"9": "Clubroot" | |
}, | |
"image_size": 224, | |
"initializer_range": 0.02, | |
"intermediate_size": 3072, | |
"label2id": { | |
"Anthracnose": "0", | |
"Apple Scab": "1", | |
"Black Spot": "2", | |
"Blight": "3", | |
"Blossom End Rot": "4", | |
"Botrytis": "5", | |
"Brown Rot": "6", | |
"Canker": "7", | |
"Cedar Apple Rust": "8", | |
"Clubroot": "9", | |
"Crown Gall": "10", | |
"Downy Mildew": "11", | |
"Fire Blight": "12", | |
"Fusarium": "13", | |
"Gray Mold": "14", | |
"Leaf Spots": "15", | |
"Mosaic Virus": "16", | |
"Nematodes": "17", | |
"Powdery Mildew": "18", | |
"Verticillium": "19" | |
}, | |
"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.41.2" | |
} | |