Training in progress, epoch 1
Browse files- config.json +151 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/swinv2-tiny-patch4-window8-256",
|
3 |
+
"architectures": [
|
4 |
+
"Swinv2ForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"depths": [
|
8 |
+
2,
|
9 |
+
2,
|
10 |
+
6,
|
11 |
+
2
|
12 |
+
],
|
13 |
+
"drop_path_rate": 0.1,
|
14 |
+
"embed_dim": 96,
|
15 |
+
"encoder_stride": 32,
|
16 |
+
"hidden_act": "gelu",
|
17 |
+
"hidden_dropout_prob": 0.0,
|
18 |
+
"hidden_size": 768,
|
19 |
+
"id2label": {
|
20 |
+
"0": "Apple___Apple_scab",
|
21 |
+
"1": "Apple___Black_rot",
|
22 |
+
"2": "Apple___Cedar_apple_rust",
|
23 |
+
"3": "Apple___healthy",
|
24 |
+
"4": "Blueberry___healthy",
|
25 |
+
"5": "Cherry_(including_sour)___Powdery_mildew",
|
26 |
+
"6": "Cherry_(including_sour)___healthy",
|
27 |
+
"7": "Corn_(maize)___Cercospora_leaf_spot Gray_leaf_spot",
|
28 |
+
"8": "Corn_(maize)___Common_rust_",
|
29 |
+
"9": "Corn_(maize)___Northern_Leaf_Blight",
|
30 |
+
"10": "Corn_(maize)___healthy",
|
31 |
+
"11": "Grape___Black_rot",
|
32 |
+
"12": "Grape___Esca_(Black_Measles)",
|
33 |
+
"13": "Grape___Leaf_blight_(Isariopsis_Leaf_Spot)",
|
34 |
+
"14": "Grape___healthy",
|
35 |
+
"15": "Orange___Haunglongbing_(Citrus_greening)",
|
36 |
+
"16": "Peach___Bacterial_spot",
|
37 |
+
"17": "Peach___healthy",
|
38 |
+
"18": "Pepper,_bell___Bacterial_spot",
|
39 |
+
"19": "Pepper,_bell___healthy",
|
40 |
+
"20": "Potato___Early_blight",
|
41 |
+
"21": "Potato___Late_blight",
|
42 |
+
"22": "Potato___healthy",
|
43 |
+
"23": "Raspberry___healthy",
|
44 |
+
"24": "Soybean___healthy",
|
45 |
+
"25": "Squash___Powdery_mildew",
|
46 |
+
"26": "Strawberry___Leaf_scorch",
|
47 |
+
"27": "Strawberry___healthy",
|
48 |
+
"28": "Tomato___Bacterial_spot",
|
49 |
+
"29": "Tomato___Early_blight",
|
50 |
+
"30": "Tomato___Late_blight",
|
51 |
+
"31": "Tomato___Leaf_Mold",
|
52 |
+
"32": "Tomato___Septoria_leaf_spot",
|
53 |
+
"33": "Tomato___Spider_mites Two-spotted_spider_mite",
|
54 |
+
"34": "Tomato___Target_Spot",
|
55 |
+
"35": "Tomato___Tomato_Yellow_Leaf_Curl_Virus",
|
56 |
+
"36": "Tomato___Tomato_mosaic_virus",
|
57 |
+
"37": "Tomato___healthy",
|
58 |
+
"38": "algal_spot",
|
59 |
+
"39": "brown_blight",
|
60 |
+
"40": "gray_blight",
|
61 |
+
"41": "healthy",
|
62 |
+
"42": "helopeltis",
|
63 |
+
"43": "red_spot"
|
64 |
+
},
|
65 |
+
"image_size": 256,
|
66 |
+
"initializer_range": 0.02,
|
67 |
+
"label2id": {
|
68 |
+
"Apple___Apple_scab": 0,
|
69 |
+
"Apple___Black_rot": 1,
|
70 |
+
"Apple___Cedar_apple_rust": 2,
|
71 |
+
"Apple___healthy": 3,
|
72 |
+
"Blueberry___healthy": 4,
|
73 |
+
"Cherry_(including_sour)___Powdery_mildew": 5,
|
74 |
+
"Cherry_(including_sour)___healthy": 6,
|
75 |
+
"Corn_(maize)___Cercospora_leaf_spot Gray_leaf_spot": 7,
|
76 |
+
"Corn_(maize)___Common_rust_": 8,
|
77 |
+
"Corn_(maize)___Northern_Leaf_Blight": 9,
|
78 |
+
"Corn_(maize)___healthy": 10,
|
79 |
+
"Grape___Black_rot": 11,
|
80 |
+
"Grape___Esca_(Black_Measles)": 12,
|
81 |
+
"Grape___Leaf_blight_(Isariopsis_Leaf_Spot)": 13,
|
82 |
+
"Grape___healthy": 14,
|
83 |
+
"Orange___Haunglongbing_(Citrus_greening)": 15,
|
84 |
+
"Peach___Bacterial_spot": 16,
|
85 |
+
"Peach___healthy": 17,
|
86 |
+
"Pepper,_bell___Bacterial_spot": 18,
|
87 |
+
"Pepper,_bell___healthy": 19,
|
88 |
+
"Potato___Early_blight": 20,
|
89 |
+
"Potato___Late_blight": 21,
|
90 |
+
"Potato___healthy": 22,
|
91 |
+
"Raspberry___healthy": 23,
|
92 |
+
"Soybean___healthy": 24,
|
93 |
+
"Squash___Powdery_mildew": 25,
|
94 |
+
"Strawberry___Leaf_scorch": 26,
|
95 |
+
"Strawberry___healthy": 27,
|
96 |
+
"Tomato___Bacterial_spot": 28,
|
97 |
+
"Tomato___Early_blight": 29,
|
98 |
+
"Tomato___Late_blight": 30,
|
99 |
+
"Tomato___Leaf_Mold": 31,
|
100 |
+
"Tomato___Septoria_leaf_spot": 32,
|
101 |
+
"Tomato___Spider_mites Two-spotted_spider_mite": 33,
|
102 |
+
"Tomato___Target_Spot": 34,
|
103 |
+
"Tomato___Tomato_Yellow_Leaf_Curl_Virus": 35,
|
104 |
+
"Tomato___Tomato_mosaic_virus": 36,
|
105 |
+
"Tomato___healthy": 37,
|
106 |
+
"algal_spot": 38,
|
107 |
+
"brown_blight": 39,
|
108 |
+
"gray_blight": 40,
|
109 |
+
"healthy": 41,
|
110 |
+
"helopeltis": 42,
|
111 |
+
"red_spot": 43
|
112 |
+
},
|
113 |
+
"layer_norm_eps": 1e-05,
|
114 |
+
"mlp_ratio": 4.0,
|
115 |
+
"model_type": "swinv2",
|
116 |
+
"num_channels": 3,
|
117 |
+
"num_heads": [
|
118 |
+
3,
|
119 |
+
6,
|
120 |
+
12,
|
121 |
+
24
|
122 |
+
],
|
123 |
+
"num_layers": 4,
|
124 |
+
"out_features": [
|
125 |
+
"stage4"
|
126 |
+
],
|
127 |
+
"out_indices": [
|
128 |
+
4
|
129 |
+
],
|
130 |
+
"patch_size": 4,
|
131 |
+
"path_norm": true,
|
132 |
+
"pretrained_window_sizes": [
|
133 |
+
0,
|
134 |
+
0,
|
135 |
+
0,
|
136 |
+
0
|
137 |
+
],
|
138 |
+
"problem_type": "single_label_classification",
|
139 |
+
"qkv_bias": true,
|
140 |
+
"stage_names": [
|
141 |
+
"stem",
|
142 |
+
"stage1",
|
143 |
+
"stage2",
|
144 |
+
"stage3",
|
145 |
+
"stage4"
|
146 |
+
],
|
147 |
+
"torch_dtype": "float32",
|
148 |
+
"transformers_version": "4.42.4",
|
149 |
+
"use_absolute_embeddings": false,
|
150 |
+
"window_size": 8
|
151 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ff32169892a1e7db1ccd4f0612633a70a8b660b49f9bd0863d1a718cbe4a9572
|
3 |
+
size 110479360
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.485,
|
7 |
+
0.456,
|
8 |
+
0.406
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.229,
|
13 |
+
0.224,
|
14 |
+
0.225
|
15 |
+
],
|
16 |
+
"resample": 3,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 256,
|
20 |
+
"width": 256
|
21 |
+
}
|
22 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:56c774cbd875a883275517e81706e3570e3e141e5772ccb8f6e0864621731bdf
|
3 |
+
size 5112
|