File size: 2,379 Bytes
6b6fb9c
cc53634
6b6fb9c
 
 
 
 
 
 
 
 
cc53634
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6b6fb9c
 
 
 
 
cc53634
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6b6fb9c
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
  "_name_or_path": "Professor/Plant_Classification_model_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": " Strawberry leaf",
    "1": " Bell_pepper leaf spot",
    "2": " Tomato Early blight leaf",
    "3": " Blueberry leaf",
    "4": " Tomato leaf yellow virus",
    "5": " Corn rust leaf",
    "6": " Tomato Septoria leaf spot",
    "7": " Tomato mold leaf",
    "8": " grape leaf",
    "9": " Apple leaf",
    "10": " Squash Powdery mildew leaf",
    "11": " Tomato leaf bacterial spot",
    "12": " Tomato leaf mosaic virus",
    "13": " Cherry leaf",
    "14": " Apple rust leaf",
    "15": " Corn Gray leaf spot",
    "16": " Tomato leaf late blight",
    "17": " grape leaf black rot",
    "18": " Peach leaf",
    "19": " Corn leaf blight",
    "20": " Tomato leaf",
    "21": " Raspberry leaf",
    "22": " Potato leaf early blight",
    "23": " Bell_pepper leaf",
    "24": " Soyabean leaf",
    "25": " Apple Scab Leaf",
    "26": " Potato leaf late blight"
  },
  "image_size": 224,
  "initializer_range": 0.02,
  "intermediate_size": 3072,
  "label2id": {
    " Apple Scab Leaf": 25,
    " Apple leaf": 9,
    " Apple rust leaf": 14,
    " Bell_pepper leaf": 23,
    " Bell_pepper leaf spot": 1,
    " Blueberry leaf": 3,
    " Cherry leaf": 13,
    " Corn Gray leaf spot": 15,
    " Corn leaf blight": 19,
    " Corn rust leaf": 5,
    " Peach leaf": 18,
    " Potato leaf early blight": 22,
    " Potato leaf late blight": 26,
    " Raspberry leaf": 21,
    " Soyabean leaf": 24,
    " Squash Powdery mildew leaf": 10,
    " Strawberry leaf": 0,
    " Tomato Early blight leaf": 2,
    " Tomato Septoria leaf spot": 6,
    " Tomato leaf": 20,
    " Tomato leaf bacterial spot": 11,
    " Tomato leaf late blight": 16,
    " Tomato leaf mosaic virus": 12,
    " Tomato leaf yellow virus": 4,
    " Tomato mold leaf": 7,
    " grape leaf": 8,
    " grape leaf black rot": 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"
}