|
{ |
|
"_name_or_path": "facebook/deit-base-distilled-patch16-224", |
|
"architectures": [ |
|
"DeiTForImageClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.0, |
|
"encoder_stride": 16, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.0, |
|
"hidden_size": 768, |
|
"id2label": { |
|
"0": "Tomato leaf mosaic virus", |
|
"1": "Apple Scab Leaf", |
|
"2": "Tomato leaf bacterial spot", |
|
"3": "Potato leaf early blight", |
|
"4": "Bell_pepper leaf", |
|
"5": "Tomato leaf yellow virus", |
|
"6": "Squash Powdery mildew leaf", |
|
"7": "Tomato mold leaf", |
|
"8": "Apple rust leaf", |
|
"9": "Tomato leaf late blight", |
|
"10": "Tomato Early blight leaf", |
|
"11": "Corn leaf blight", |
|
"12": "Peach leaf", |
|
"13": "Strawberry leaf", |
|
"14": "Raspberry leaf", |
|
"15": "grape leaf", |
|
"16": "Blueberry leaf", |
|
"17": "Potato leaf late blight", |
|
"18": "Cherry leaf", |
|
"19": "Tomato two spotted spider mites leaf", |
|
"20": "Tomato Septoria leaf spot", |
|
"21": "Apple leaf", |
|
"22": "Soyabean leaf", |
|
"23": "Bell_pepper leaf spot", |
|
"24": "Tomato leaf", |
|
"25": "Corn Gray leaf spot", |
|
"26": "grape leaf black rot", |
|
"27": "Corn rust leaf" |
|
}, |
|
"image_size": 224, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"Apple Scab Leaf": 1, |
|
"Apple leaf": 21, |
|
"Apple rust leaf": 8, |
|
"Bell_pepper leaf": 4, |
|
"Bell_pepper leaf spot": 23, |
|
"Blueberry leaf": 16, |
|
"Cherry leaf": 18, |
|
"Corn Gray leaf spot": 25, |
|
"Corn leaf blight": 11, |
|
"Corn rust leaf": 27, |
|
"Peach leaf": 12, |
|
"Potato leaf early blight": 3, |
|
"Potato leaf late blight": 17, |
|
"Raspberry leaf": 14, |
|
"Soyabean leaf": 22, |
|
"Squash Powdery mildew leaf": 6, |
|
"Strawberry leaf": 13, |
|
"Tomato Early blight leaf": 10, |
|
"Tomato Septoria leaf spot": 20, |
|
"Tomato leaf": 24, |
|
"Tomato leaf bacterial spot": 2, |
|
"Tomato leaf late blight": 9, |
|
"Tomato leaf mosaic virus": 0, |
|
"Tomato leaf yellow virus": 5, |
|
"Tomato mold leaf": 7, |
|
"Tomato two spotted spider mites leaf": 19, |
|
"grape leaf": 15, |
|
"grape leaf black rot": 26 |
|
}, |
|
"layer_norm_eps": 1e-12, |
|
"model_type": "deit", |
|
"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.38.0" |
|
} |
|
|