File size: 3,700 Bytes
afc4659
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
  "_name_or_path": "microsoft/swin-tiny-patch4-window7-224",
  "architectures": [
    "SwinForImageClassification"
  ],
  "attention_probs_dropout_prob": 0.0,
  "depths": [
    2,
    2,
    6,
    2
  ],
  "drop_path_rate": 0.1,
  "embed_dim": 96,
  "encoder_stride": 32,
  "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": "Blueberry healthy",
    "5": "Cherry (including sour) Powdery mildew",
    "6": "Cherry (including sour) healthy",
    "7": "Corn (maize) Cercospora leaf spot Gray leaf spot",
    "8": "Corn (maize) Common rust ",
    "9": "Corn (maize) Northern Leaf Blight",
    "10": "Corn (maize) 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"
  },
  "image_size": 224,
  "initializer_range": 0.02,
  "label2id": {
    "Apple Apple scab": 0,
    "Apple Black rot": 1,
    "Apple Cedar apple rust": 2,
    "Apple healthy": 3,
    "Blueberry healthy": 4,
    "Cherry (including sour) Powdery mildew": 5,
    "Cherry (including sour) healthy": 6,
    "Corn (maize) Cercospora leaf spot Gray leaf spot": 7,
    "Corn (maize) Common rust ": 8,
    "Corn (maize) Northern Leaf Blight": 9,
    "Corn (maize) healthy": 10,
    "Grape Black rot": 11,
    "Grape Esca (Black Measles)": 12,
    "Grape Leaf blight (Isariopsis Leaf Spot)": 13,
    "Grape healthy": 14,
    "Orange Haunglongbing (Citrus greening)": 15,
    "Peach Bacterial spot": 16,
    "Peach healthy": 17,
    "Pepper, bell Bacterial spot": 18,
    "Pepper, bell healthy": 19,
    "Potato Early blight": 20,
    "Potato Late blight": 21,
    "Potato healthy": 22,
    "Raspberry healthy": 23,
    "Soybean healthy": 24,
    "Squash Powdery mildew": 25,
    "Strawberry Leaf scorch": 26,
    "Strawberry healthy": 27,
    "Tomato Bacterial spot": 28,
    "Tomato Early blight": 29,
    "Tomato Late blight": 30,
    "Tomato Leaf Mold": 31,
    "Tomato Septoria leaf spot": 32,
    "Tomato Spider mites Two-spotted spider mite": 33,
    "Tomato Target Spot": 34,
    "Tomato Tomato Yellow Leaf Curl Virus": 35,
    "Tomato Tomato mosaic virus": 36,
    "Tomato healthy": 37
  },
  "layer_norm_eps": 1e-05,
  "mlp_ratio": 4.0,
  "model_type": "swin",
  "num_channels": 3,
  "num_heads": [
    3,
    6,
    12,
    24
  ],
  "num_layers": 4,
  "out_features": [
    "stage4"
  ],
  "out_indices": [
    4
  ],
  "patch_size": 4,
  "path_norm": true,
  "problem_type": "single_label_classification",
  "qkv_bias": true,
  "stage_names": [
    "stem",
    "stage1",
    "stage2",
    "stage3",
    "stage4"
  ],
  "torch_dtype": "float32",
  "transformers_version": "4.35.2",
  "use_absolute_embeddings": false,
  "window_size": 7
}