File size: 3,457 Bytes
a30ec48
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
  "_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": "Apple___Apple_scab",
    "1": "Apple___Black_rot",
    "2": "Apple___Cedar_apple_rust",
    "3": "Apple___healthy",
    "4": "Background_without_leaves",
    "5": "Blueberry___healthy",
    "6": "Cherry___Powdery_mildew",
    "7": "Cherry___healthy",
    "8": "Corn___Cercospora_leaf_spot Gray_leaf_spot",
    "9": "Corn___Common_rust",
    "10": "Corn___Northern_Leaf_Blight",
    "11": "Corn___healthy",
    "12": "Grape___Black_rot",
    "13": "Grape___Esca_(Black_Measles)",
    "14": "Grape___Leaf_blight_(Isariopsis_Leaf_Spot)",
    "15": "Grape___healthy",
    "16": "Orange___Haunglongbing_(Citrus_greening)",
    "17": "Peach___Bacterial_spot",
    "18": "Peach___healthy",
    "19": "Pepper,_bell___Bacterial_spot",
    "20": "Pepper,_bell___healthy",
    "21": "Potato___Early_blight",
    "22": "Potato___Late_blight",
    "23": "Potato___healthy",
    "24": "Raspberry___healthy",
    "25": "Soybean___healthy",
    "26": "Squash___Powdery_mildew",
    "27": "Strawberry___Leaf_scorch",
    "28": "Strawberry___healthy",
    "29": "Tomato___Bacterial_spot",
    "30": "Tomato___Early_blight",
    "31": "Tomato___Late_blight",
    "32": "Tomato___Leaf_Mold",
    "33": "Tomato___Septoria_leaf_spot",
    "34": "Tomato___Spider_mites Two-spotted_spider_mite",
    "35": "Tomato___Target_Spot",
    "36": "Tomato___Tomato_Yellow_Leaf_Curl_Virus",
    "37": "Tomato___Tomato_mosaic_virus",
    "38": "Tomato___healthy"
  },
  "image_size": 224,
  "initializer_range": 0.02,
  "intermediate_size": 3072,
  "label2id": {
    "Apple___Apple_scab": 0,
    "Apple___Black_rot": 1,
    "Apple___Cedar_apple_rust": 2,
    "Apple___healthy": 3,
    "Background_without_leaves": 4,
    "Blueberry___healthy": 5,
    "Cherry___Powdery_mildew": 6,
    "Cherry___healthy": 7,
    "Corn___Cercospora_leaf_spot Gray_leaf_spot": 8,
    "Corn___Common_rust": 9,
    "Corn___Northern_Leaf_Blight": 10,
    "Corn___healthy": 11,
    "Grape___Black_rot": 12,
    "Grape___Esca_(Black_Measles)": 13,
    "Grape___Leaf_blight_(Isariopsis_Leaf_Spot)": 14,
    "Grape___healthy": 15,
    "Orange___Haunglongbing_(Citrus_greening)": 16,
    "Peach___Bacterial_spot": 17,
    "Peach___healthy": 18,
    "Pepper,_bell___Bacterial_spot": 19,
    "Pepper,_bell___healthy": 20,
    "Potato___Early_blight": 21,
    "Potato___Late_blight": 22,
    "Potato___healthy": 23,
    "Raspberry___healthy": 24,
    "Soybean___healthy": 25,
    "Squash___Powdery_mildew": 26,
    "Strawberry___Leaf_scorch": 27,
    "Strawberry___healthy": 28,
    "Tomato___Bacterial_spot": 29,
    "Tomato___Early_blight": 30,
    "Tomato___Late_blight": 31,
    "Tomato___Leaf_Mold": 32,
    "Tomato___Septoria_leaf_spot": 33,
    "Tomato___Spider_mites Two-spotted_spider_mite": 34,
    "Tomato___Target_Spot": 35,
    "Tomato___Tomato_Yellow_Leaf_Curl_Virus": 36,
    "Tomato___Tomato_mosaic_virus": 37,
    "Tomato___healthy": 38
  },
  "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.37.1"
}