{ "_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": " Raspberry leaf", "1": " Tomato leaf late blight", "2": " Apple rust leaf", "3": " Tomato leaf mosaic virus", "4": " Tomato mold leaf", "5": " Potato leaf late blight", "6": " Bell_pepper leaf spot", "7": " Apple leaf", "8": " grape leaf black rot", "9": " Corn leaf blight", "10": " Tomato leaf bacterial spot", "11": " Cherry leaf", "12": " Apple Scab Leaf", "13": " Strawberry leaf", "14": " Bell_pepper leaf", "15": " Blueberry leaf", "16": " Peach leaf", "17": " Soyabean leaf", "18": " Corn rust leaf", "19": " Tomato Early blight leaf", "20": " Potato leaf early blight", "21": " Corn Gray leaf spot", "22": " Tomato leaf yellow virus", "23": " grape leaf", "24": " Squash Powdery mildew leaf", "25": " Tomato Septoria leaf spot", "26": " Tomato leaf" }, "image_size": 224, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { " Apple Scab Leaf": 12, " Apple leaf": 7, " Apple rust leaf": 2, " Bell_pepper leaf": 14, " Bell_pepper leaf spot": 6, " Blueberry leaf": 15, " Cherry leaf": 11, " Corn Gray leaf spot": 21, " Corn leaf blight": 9, " Corn rust leaf": 18, " Peach leaf": 16, " Potato leaf early blight": 20, " Potato leaf late blight": 5, " Raspberry leaf": 0, " Soyabean leaf": 17, " Squash Powdery mildew leaf": 24, " Strawberry leaf": 13, " Tomato Early blight leaf": 19, " Tomato Septoria leaf spot": 25, " Tomato leaf": 26, " Tomato leaf bacterial spot": 10, " Tomato leaf late blight": 1, " Tomato leaf mosaic virus": 3, " Tomato leaf yellow virus": 22, " Tomato mold leaf": 4, " grape leaf": 23, " grape leaf black rot": 8 }, "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" }