Upload folder using huggingface_hub
Browse files- checkpoint-5934/config.json +290 -0
- checkpoint-5934/optimizer.pt +3 -0
- checkpoint-5934/preprocessor_config.json +22 -0
- checkpoint-5934/pytorch_model.bin +3 -0
- checkpoint-5934/rng_state.pth +3 -0
- checkpoint-5934/scheduler.pt +3 -0
- checkpoint-5934/trainer_state.json +109 -0
- checkpoint-5934/training_args.bin +3 -0
- config.json +290 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
checkpoint-5934/config.json
ADDED
@@ -0,0 +1,290 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "Onion White",
|
13 |
+
"1": "Avocado",
|
14 |
+
"2": "Apple Crimson Snow",
|
15 |
+
"3": "Tomato 2",
|
16 |
+
"4": "Pear Red",
|
17 |
+
"5": "Apricot",
|
18 |
+
"6": "Carambula",
|
19 |
+
"7": "Cherry Wax Red",
|
20 |
+
"8": "Apple Red 2",
|
21 |
+
"9": "Plum 2",
|
22 |
+
"10": "Cucumber Ripe 2",
|
23 |
+
"11": "Passion Fruit",
|
24 |
+
"12": "Kiwi",
|
25 |
+
"13": "Tomato Maroon",
|
26 |
+
"14": "Cherry Wax Yellow",
|
27 |
+
"15": "Cactus fruit",
|
28 |
+
"16": "Strawberry",
|
29 |
+
"17": "Rambutan",
|
30 |
+
"18": "Cocos",
|
31 |
+
"19": "Mango Red",
|
32 |
+
"20": "Onion Red",
|
33 |
+
"21": "Raspberry",
|
34 |
+
"22": "Pear",
|
35 |
+
"23": "Pear Forelle",
|
36 |
+
"24": "Pomegranate",
|
37 |
+
"25": "Potato Sweet",
|
38 |
+
"26": "Pepper Green",
|
39 |
+
"27": "Apple Granny Smith",
|
40 |
+
"28": "Pear Williams",
|
41 |
+
"29": "Papaya",
|
42 |
+
"30": "Beetroot",
|
43 |
+
"31": "Pepino",
|
44 |
+
"32": "Kohlrabi",
|
45 |
+
"33": "Cherry Wax Black",
|
46 |
+
"34": "Cherry Rainier",
|
47 |
+
"35": "Limes",
|
48 |
+
"36": "Grape White 4",
|
49 |
+
"37": "Kumquats",
|
50 |
+
"38": "Pear Kaiser",
|
51 |
+
"39": "Cherry 1",
|
52 |
+
"40": "Cucumber Ripe",
|
53 |
+
"41": "Strawberry Wedge",
|
54 |
+
"42": "Walnut",
|
55 |
+
"43": "Eggplant",
|
56 |
+
"44": "Peach Flat",
|
57 |
+
"45": "Tomato Yellow",
|
58 |
+
"46": "Grape Pink",
|
59 |
+
"47": "Apple Red Yellow 1",
|
60 |
+
"48": "Physalis with Husk",
|
61 |
+
"49": "Blueberry",
|
62 |
+
"50": "Apple Red Yellow 2",
|
63 |
+
"51": "Mango",
|
64 |
+
"52": "Ginger Root",
|
65 |
+
"53": "Banana",
|
66 |
+
"54": "Grape White 3",
|
67 |
+
"55": "Apple Golden 2",
|
68 |
+
"56": "Apple Red Delicious",
|
69 |
+
"57": "Corn",
|
70 |
+
"58": "Tomato 4",
|
71 |
+
"59": "Potato White",
|
72 |
+
"60": "Salak",
|
73 |
+
"61": "Grape White 2",
|
74 |
+
"62": "Fig",
|
75 |
+
"63": "Tomato Cherry Red",
|
76 |
+
"64": "Chestnut",
|
77 |
+
"65": "Pineapple",
|
78 |
+
"66": "Mangostan",
|
79 |
+
"67": "Potato Red Washed",
|
80 |
+
"68": "Watermelon",
|
81 |
+
"69": "Peach",
|
82 |
+
"70": "Onion Red Peeled",
|
83 |
+
"71": "Lemon",
|
84 |
+
"72": "Pineapple Mini",
|
85 |
+
"73": "Dates",
|
86 |
+
"74": "Pear Abate",
|
87 |
+
"75": "Pear Stone",
|
88 |
+
"76": "Quince",
|
89 |
+
"77": "Grape Blue",
|
90 |
+
"78": "Grapefruit Pink",
|
91 |
+
"79": "Pepper Yellow",
|
92 |
+
"80": "Pepper Orange",
|
93 |
+
"81": "Nectarine",
|
94 |
+
"82": "Avocado ripe",
|
95 |
+
"83": "Mandarine",
|
96 |
+
"84": "Tangelo",
|
97 |
+
"85": "Apple Golden 3",
|
98 |
+
"86": "Tamarillo",
|
99 |
+
"87": "Lemon Meyer",
|
100 |
+
"88": "Apple Red 1",
|
101 |
+
"89": "Cauliflower",
|
102 |
+
"90": "Nut Forest",
|
103 |
+
"91": "Physalis",
|
104 |
+
"92": "Peach 2",
|
105 |
+
"93": "Grape White",
|
106 |
+
"94": "Melon Piel de Sapo",
|
107 |
+
"95": "Clementine",
|
108 |
+
"96": "Nectarine Flat",
|
109 |
+
"97": "Huckleberry",
|
110 |
+
"98": "Pomelo Sweetie",
|
111 |
+
"99": "Apple Braeburn",
|
112 |
+
"100": "Tomato Heart",
|
113 |
+
"101": "Plum 3",
|
114 |
+
"102": "Guava",
|
115 |
+
"103": "Cantaloupe 1",
|
116 |
+
"104": "Tomato 1",
|
117 |
+
"105": "Corn Husk",
|
118 |
+
"106": "Cantaloupe 2",
|
119 |
+
"107": "Tomato not Ripened",
|
120 |
+
"108": "Potato Red",
|
121 |
+
"109": "Lychee",
|
122 |
+
"110": "Banana Lady Finger",
|
123 |
+
"111": "Cherry 2",
|
124 |
+
"112": "Maracuja",
|
125 |
+
"113": "Pear 2",
|
126 |
+
"114": "Orange",
|
127 |
+
"115": "Granadilla",
|
128 |
+
"116": "Banana Red",
|
129 |
+
"117": "Apple Pink Lady",
|
130 |
+
"118": "Redcurrant",
|
131 |
+
"119": "Apple Red 3",
|
132 |
+
"120": "Pepper Red",
|
133 |
+
"121": "Pear Monster",
|
134 |
+
"122": "Tomato 3",
|
135 |
+
"123": "Apple Golden 1",
|
136 |
+
"124": "Plum",
|
137 |
+
"125": "Kaki",
|
138 |
+
"126": "Grapefruit White",
|
139 |
+
"127": "Mulberry",
|
140 |
+
"128": "Nut Pecan",
|
141 |
+
"129": "Hazelnut",
|
142 |
+
"130": "Pitahaya Red"
|
143 |
+
},
|
144 |
+
"image_size": 224,
|
145 |
+
"initializer_range": 0.02,
|
146 |
+
"intermediate_size": 3072,
|
147 |
+
"label2id": {
|
148 |
+
"Apple Braeburn": 99,
|
149 |
+
"Apple Crimson Snow": 2,
|
150 |
+
"Apple Golden 1": 123,
|
151 |
+
"Apple Golden 2": 55,
|
152 |
+
"Apple Golden 3": 85,
|
153 |
+
"Apple Granny Smith": 27,
|
154 |
+
"Apple Pink Lady": 117,
|
155 |
+
"Apple Red 1": 88,
|
156 |
+
"Apple Red 2": 8,
|
157 |
+
"Apple Red 3": 119,
|
158 |
+
"Apple Red Delicious": 56,
|
159 |
+
"Apple Red Yellow 1": 47,
|
160 |
+
"Apple Red Yellow 2": 50,
|
161 |
+
"Apricot": 5,
|
162 |
+
"Avocado": 1,
|
163 |
+
"Avocado ripe": 82,
|
164 |
+
"Banana": 53,
|
165 |
+
"Banana Lady Finger": 110,
|
166 |
+
"Banana Red": 116,
|
167 |
+
"Beetroot": 30,
|
168 |
+
"Blueberry": 49,
|
169 |
+
"Cactus fruit": 15,
|
170 |
+
"Cantaloupe 1": 103,
|
171 |
+
"Cantaloupe 2": 106,
|
172 |
+
"Carambula": 6,
|
173 |
+
"Cauliflower": 89,
|
174 |
+
"Cherry 1": 39,
|
175 |
+
"Cherry 2": 111,
|
176 |
+
"Cherry Rainier": 34,
|
177 |
+
"Cherry Wax Black": 33,
|
178 |
+
"Cherry Wax Red": 7,
|
179 |
+
"Cherry Wax Yellow": 14,
|
180 |
+
"Chestnut": 64,
|
181 |
+
"Clementine": 95,
|
182 |
+
"Cocos": 18,
|
183 |
+
"Corn": 57,
|
184 |
+
"Corn Husk": 105,
|
185 |
+
"Cucumber Ripe": 40,
|
186 |
+
"Cucumber Ripe 2": 10,
|
187 |
+
"Dates": 73,
|
188 |
+
"Eggplant": 43,
|
189 |
+
"Fig": 62,
|
190 |
+
"Ginger Root": 52,
|
191 |
+
"Granadilla": 115,
|
192 |
+
"Grape Blue": 77,
|
193 |
+
"Grape Pink": 46,
|
194 |
+
"Grape White": 93,
|
195 |
+
"Grape White 2": 61,
|
196 |
+
"Grape White 3": 54,
|
197 |
+
"Grape White 4": 36,
|
198 |
+
"Grapefruit Pink": 78,
|
199 |
+
"Grapefruit White": 126,
|
200 |
+
"Guava": 102,
|
201 |
+
"Hazelnut": 129,
|
202 |
+
"Huckleberry": 97,
|
203 |
+
"Kaki": 125,
|
204 |
+
"Kiwi": 12,
|
205 |
+
"Kohlrabi": 32,
|
206 |
+
"Kumquats": 37,
|
207 |
+
"Lemon": 71,
|
208 |
+
"Lemon Meyer": 87,
|
209 |
+
"Limes": 35,
|
210 |
+
"Lychee": 109,
|
211 |
+
"Mandarine": 83,
|
212 |
+
"Mango": 51,
|
213 |
+
"Mango Red": 19,
|
214 |
+
"Mangostan": 66,
|
215 |
+
"Maracuja": 112,
|
216 |
+
"Melon Piel de Sapo": 94,
|
217 |
+
"Mulberry": 127,
|
218 |
+
"Nectarine": 81,
|
219 |
+
"Nectarine Flat": 96,
|
220 |
+
"Nut Forest": 90,
|
221 |
+
"Nut Pecan": 128,
|
222 |
+
"Onion Red": 20,
|
223 |
+
"Onion Red Peeled": 70,
|
224 |
+
"Onion White": 0,
|
225 |
+
"Orange": 114,
|
226 |
+
"Papaya": 29,
|
227 |
+
"Passion Fruit": 11,
|
228 |
+
"Peach": 69,
|
229 |
+
"Peach 2": 92,
|
230 |
+
"Peach Flat": 44,
|
231 |
+
"Pear": 22,
|
232 |
+
"Pear 2": 113,
|
233 |
+
"Pear Abate": 74,
|
234 |
+
"Pear Forelle": 23,
|
235 |
+
"Pear Kaiser": 38,
|
236 |
+
"Pear Monster": 121,
|
237 |
+
"Pear Red": 4,
|
238 |
+
"Pear Stone": 75,
|
239 |
+
"Pear Williams": 28,
|
240 |
+
"Pepino": 31,
|
241 |
+
"Pepper Green": 26,
|
242 |
+
"Pepper Orange": 80,
|
243 |
+
"Pepper Red": 120,
|
244 |
+
"Pepper Yellow": 79,
|
245 |
+
"Physalis": 91,
|
246 |
+
"Physalis with Husk": 48,
|
247 |
+
"Pineapple": 65,
|
248 |
+
"Pineapple Mini": 72,
|
249 |
+
"Pitahaya Red": 130,
|
250 |
+
"Plum": 124,
|
251 |
+
"Plum 2": 9,
|
252 |
+
"Plum 3": 101,
|
253 |
+
"Pomegranate": 24,
|
254 |
+
"Pomelo Sweetie": 98,
|
255 |
+
"Potato Red": 108,
|
256 |
+
"Potato Red Washed": 67,
|
257 |
+
"Potato Sweet": 25,
|
258 |
+
"Potato White": 59,
|
259 |
+
"Quince": 76,
|
260 |
+
"Rambutan": 17,
|
261 |
+
"Raspberry": 21,
|
262 |
+
"Redcurrant": 118,
|
263 |
+
"Salak": 60,
|
264 |
+
"Strawberry": 16,
|
265 |
+
"Strawberry Wedge": 41,
|
266 |
+
"Tamarillo": 86,
|
267 |
+
"Tangelo": 84,
|
268 |
+
"Tomato 1": 104,
|
269 |
+
"Tomato 2": 3,
|
270 |
+
"Tomato 3": 122,
|
271 |
+
"Tomato 4": 58,
|
272 |
+
"Tomato Cherry Red": 63,
|
273 |
+
"Tomato Heart": 100,
|
274 |
+
"Tomato Maroon": 13,
|
275 |
+
"Tomato Yellow": 45,
|
276 |
+
"Tomato not Ripened": 107,
|
277 |
+
"Walnut": 42,
|
278 |
+
"Watermelon": 68
|
279 |
+
},
|
280 |
+
"layer_norm_eps": 1e-12,
|
281 |
+
"model_type": "vit",
|
282 |
+
"num_attention_heads": 12,
|
283 |
+
"num_channels": 3,
|
284 |
+
"num_hidden_layers": 12,
|
285 |
+
"patch_size": 16,
|
286 |
+
"problem_type": "single_label_classification",
|
287 |
+
"qkv_bias": true,
|
288 |
+
"torch_dtype": "float32",
|
289 |
+
"transformers_version": "4.30.2"
|
290 |
+
}
|
checkpoint-5934/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2ff543c34a8e0d029e4fdf4d4e794d36cfd5d57052092a5c7a6c6ed6c42d469f
|
3 |
+
size 687312517
|
checkpoint-5934/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.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.5,
|
13 |
+
0.5,
|
14 |
+
0.5
|
15 |
+
],
|
16 |
+
"resample": 2,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
checkpoint-5934/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:64d1e72937261dcf9522bc079bd4d43f0beebd26978602788a41438380c88bac
|
3 |
+
size 343665517
|
checkpoint-5934/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:59faddebd10c1019339a6f0ad436009411a4dc6222e8f7fa89921fd060a4cad7
|
3 |
+
size 14575
|
checkpoint-5934/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:edae779df90e703d6c6f2e8813efad1de9f24ea3d1b439267d82b01a8740f6dc
|
3 |
+
size 627
|
checkpoint-5934/trainer_state.json
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.8047621846199036,
|
3 |
+
"best_model_checkpoint": "fruits_type_detection/checkpoint-5934",
|
4 |
+
"epoch": 3.0,
|
5 |
+
"global_step": 5934,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 0.25,
|
12 |
+
"learning_rate": 9.23521414004079e-06,
|
13 |
+
"loss": 4.3293,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.51,
|
18 |
+
"learning_rate": 8.385452073419444e-06,
|
19 |
+
"loss": 3.2832,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.76,
|
24 |
+
"learning_rate": 7.535690006798097e-06,
|
25 |
+
"loss": 2.5765,
|
26 |
+
"step": 1500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 1.0,
|
30 |
+
"eval_accuracy": 0.9999631186840746,
|
31 |
+
"eval_loss": 1.9951210021972656,
|
32 |
+
"eval_runtime": 323.7247,
|
33 |
+
"eval_samples_per_second": 83.756,
|
34 |
+
"eval_steps_per_second": 20.941,
|
35 |
+
"step": 1978
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"epoch": 1.01,
|
39 |
+
"learning_rate": 6.685927940176751e-06,
|
40 |
+
"loss": 2.0663,
|
41 |
+
"step": 2000
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 1.26,
|
45 |
+
"learning_rate": 5.836165873555405e-06,
|
46 |
+
"loss": 1.6881,
|
47 |
+
"step": 2500
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"epoch": 1.52,
|
51 |
+
"learning_rate": 4.986403806934059e-06,
|
52 |
+
"loss": 1.4031,
|
53 |
+
"step": 3000
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 1.77,
|
57 |
+
"learning_rate": 4.136641740312713e-06,
|
58 |
+
"loss": 1.1901,
|
59 |
+
"step": 3500
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 2.0,
|
63 |
+
"eval_accuracy": 1.0,
|
64 |
+
"eval_loss": 1.039145588874817,
|
65 |
+
"eval_runtime": 292.0862,
|
66 |
+
"eval_samples_per_second": 92.829,
|
67 |
+
"eval_steps_per_second": 23.209,
|
68 |
+
"step": 3956
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 2.02,
|
72 |
+
"learning_rate": 3.2868796736913666e-06,
|
73 |
+
"loss": 1.0283,
|
74 |
+
"step": 4000
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 2.28,
|
78 |
+
"learning_rate": 2.4371176070700208e-06,
|
79 |
+
"loss": 0.9093,
|
80 |
+
"step": 4500
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 2.53,
|
84 |
+
"learning_rate": 1.5873555404486745e-06,
|
85 |
+
"loss": 0.8284,
|
86 |
+
"step": 5000
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 2.78,
|
90 |
+
"learning_rate": 7.375934738273284e-07,
|
91 |
+
"loss": 0.7806,
|
92 |
+
"step": 5500
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 3.0,
|
96 |
+
"eval_accuracy": 1.0,
|
97 |
+
"eval_loss": 0.8047621846199036,
|
98 |
+
"eval_runtime": 290.2115,
|
99 |
+
"eval_samples_per_second": 93.428,
|
100 |
+
"eval_steps_per_second": 23.359,
|
101 |
+
"step": 5934
|
102 |
+
}
|
103 |
+
],
|
104 |
+
"max_steps": 5934,
|
105 |
+
"num_train_epochs": 3,
|
106 |
+
"total_flos": 1.4724829628712161e+19,
|
107 |
+
"trial_name": null,
|
108 |
+
"trial_params": null
|
109 |
+
}
|
checkpoint-5934/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b4a1b7f52fc13f55b771022cfe24c30dbb510672818fdf3e8dc77ce522e8c5dd
|
3 |
+
size 3899
|
config.json
ADDED
@@ -0,0 +1,290 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "Onion White",
|
13 |
+
"1": "Avocado",
|
14 |
+
"2": "Apple Crimson Snow",
|
15 |
+
"3": "Tomato 2",
|
16 |
+
"4": "Pear Red",
|
17 |
+
"5": "Apricot",
|
18 |
+
"6": "Carambula",
|
19 |
+
"7": "Cherry Wax Red",
|
20 |
+
"8": "Apple Red 2",
|
21 |
+
"9": "Plum 2",
|
22 |
+
"10": "Cucumber Ripe 2",
|
23 |
+
"11": "Passion Fruit",
|
24 |
+
"12": "Kiwi",
|
25 |
+
"13": "Tomato Maroon",
|
26 |
+
"14": "Cherry Wax Yellow",
|
27 |
+
"15": "Cactus fruit",
|
28 |
+
"16": "Strawberry",
|
29 |
+
"17": "Rambutan",
|
30 |
+
"18": "Cocos",
|
31 |
+
"19": "Mango Red",
|
32 |
+
"20": "Onion Red",
|
33 |
+
"21": "Raspberry",
|
34 |
+
"22": "Pear",
|
35 |
+
"23": "Pear Forelle",
|
36 |
+
"24": "Pomegranate",
|
37 |
+
"25": "Potato Sweet",
|
38 |
+
"26": "Pepper Green",
|
39 |
+
"27": "Apple Granny Smith",
|
40 |
+
"28": "Pear Williams",
|
41 |
+
"29": "Papaya",
|
42 |
+
"30": "Beetroot",
|
43 |
+
"31": "Pepino",
|
44 |
+
"32": "Kohlrabi",
|
45 |
+
"33": "Cherry Wax Black",
|
46 |
+
"34": "Cherry Rainier",
|
47 |
+
"35": "Limes",
|
48 |
+
"36": "Grape White 4",
|
49 |
+
"37": "Kumquats",
|
50 |
+
"38": "Pear Kaiser",
|
51 |
+
"39": "Cherry 1",
|
52 |
+
"40": "Cucumber Ripe",
|
53 |
+
"41": "Strawberry Wedge",
|
54 |
+
"42": "Walnut",
|
55 |
+
"43": "Eggplant",
|
56 |
+
"44": "Peach Flat",
|
57 |
+
"45": "Tomato Yellow",
|
58 |
+
"46": "Grape Pink",
|
59 |
+
"47": "Apple Red Yellow 1",
|
60 |
+
"48": "Physalis with Husk",
|
61 |
+
"49": "Blueberry",
|
62 |
+
"50": "Apple Red Yellow 2",
|
63 |
+
"51": "Mango",
|
64 |
+
"52": "Ginger Root",
|
65 |
+
"53": "Banana",
|
66 |
+
"54": "Grape White 3",
|
67 |
+
"55": "Apple Golden 2",
|
68 |
+
"56": "Apple Red Delicious",
|
69 |
+
"57": "Corn",
|
70 |
+
"58": "Tomato 4",
|
71 |
+
"59": "Potato White",
|
72 |
+
"60": "Salak",
|
73 |
+
"61": "Grape White 2",
|
74 |
+
"62": "Fig",
|
75 |
+
"63": "Tomato Cherry Red",
|
76 |
+
"64": "Chestnut",
|
77 |
+
"65": "Pineapple",
|
78 |
+
"66": "Mangostan",
|
79 |
+
"67": "Potato Red Washed",
|
80 |
+
"68": "Watermelon",
|
81 |
+
"69": "Peach",
|
82 |
+
"70": "Onion Red Peeled",
|
83 |
+
"71": "Lemon",
|
84 |
+
"72": "Pineapple Mini",
|
85 |
+
"73": "Dates",
|
86 |
+
"74": "Pear Abate",
|
87 |
+
"75": "Pear Stone",
|
88 |
+
"76": "Quince",
|
89 |
+
"77": "Grape Blue",
|
90 |
+
"78": "Grapefruit Pink",
|
91 |
+
"79": "Pepper Yellow",
|
92 |
+
"80": "Pepper Orange",
|
93 |
+
"81": "Nectarine",
|
94 |
+
"82": "Avocado ripe",
|
95 |
+
"83": "Mandarine",
|
96 |
+
"84": "Tangelo",
|
97 |
+
"85": "Apple Golden 3",
|
98 |
+
"86": "Tamarillo",
|
99 |
+
"87": "Lemon Meyer",
|
100 |
+
"88": "Apple Red 1",
|
101 |
+
"89": "Cauliflower",
|
102 |
+
"90": "Nut Forest",
|
103 |
+
"91": "Physalis",
|
104 |
+
"92": "Peach 2",
|
105 |
+
"93": "Grape White",
|
106 |
+
"94": "Melon Piel de Sapo",
|
107 |
+
"95": "Clementine",
|
108 |
+
"96": "Nectarine Flat",
|
109 |
+
"97": "Huckleberry",
|
110 |
+
"98": "Pomelo Sweetie",
|
111 |
+
"99": "Apple Braeburn",
|
112 |
+
"100": "Tomato Heart",
|
113 |
+
"101": "Plum 3",
|
114 |
+
"102": "Guava",
|
115 |
+
"103": "Cantaloupe 1",
|
116 |
+
"104": "Tomato 1",
|
117 |
+
"105": "Corn Husk",
|
118 |
+
"106": "Cantaloupe 2",
|
119 |
+
"107": "Tomato not Ripened",
|
120 |
+
"108": "Potato Red",
|
121 |
+
"109": "Lychee",
|
122 |
+
"110": "Banana Lady Finger",
|
123 |
+
"111": "Cherry 2",
|
124 |
+
"112": "Maracuja",
|
125 |
+
"113": "Pear 2",
|
126 |
+
"114": "Orange",
|
127 |
+
"115": "Granadilla",
|
128 |
+
"116": "Banana Red",
|
129 |
+
"117": "Apple Pink Lady",
|
130 |
+
"118": "Redcurrant",
|
131 |
+
"119": "Apple Red 3",
|
132 |
+
"120": "Pepper Red",
|
133 |
+
"121": "Pear Monster",
|
134 |
+
"122": "Tomato 3",
|
135 |
+
"123": "Apple Golden 1",
|
136 |
+
"124": "Plum",
|
137 |
+
"125": "Kaki",
|
138 |
+
"126": "Grapefruit White",
|
139 |
+
"127": "Mulberry",
|
140 |
+
"128": "Nut Pecan",
|
141 |
+
"129": "Hazelnut",
|
142 |
+
"130": "Pitahaya Red"
|
143 |
+
},
|
144 |
+
"image_size": 224,
|
145 |
+
"initializer_range": 0.02,
|
146 |
+
"intermediate_size": 3072,
|
147 |
+
"label2id": {
|
148 |
+
"Apple Braeburn": 99,
|
149 |
+
"Apple Crimson Snow": 2,
|
150 |
+
"Apple Golden 1": 123,
|
151 |
+
"Apple Golden 2": 55,
|
152 |
+
"Apple Golden 3": 85,
|
153 |
+
"Apple Granny Smith": 27,
|
154 |
+
"Apple Pink Lady": 117,
|
155 |
+
"Apple Red 1": 88,
|
156 |
+
"Apple Red 2": 8,
|
157 |
+
"Apple Red 3": 119,
|
158 |
+
"Apple Red Delicious": 56,
|
159 |
+
"Apple Red Yellow 1": 47,
|
160 |
+
"Apple Red Yellow 2": 50,
|
161 |
+
"Apricot": 5,
|
162 |
+
"Avocado": 1,
|
163 |
+
"Avocado ripe": 82,
|
164 |
+
"Banana": 53,
|
165 |
+
"Banana Lady Finger": 110,
|
166 |
+
"Banana Red": 116,
|
167 |
+
"Beetroot": 30,
|
168 |
+
"Blueberry": 49,
|
169 |
+
"Cactus fruit": 15,
|
170 |
+
"Cantaloupe 1": 103,
|
171 |
+
"Cantaloupe 2": 106,
|
172 |
+
"Carambula": 6,
|
173 |
+
"Cauliflower": 89,
|
174 |
+
"Cherry 1": 39,
|
175 |
+
"Cherry 2": 111,
|
176 |
+
"Cherry Rainier": 34,
|
177 |
+
"Cherry Wax Black": 33,
|
178 |
+
"Cherry Wax Red": 7,
|
179 |
+
"Cherry Wax Yellow": 14,
|
180 |
+
"Chestnut": 64,
|
181 |
+
"Clementine": 95,
|
182 |
+
"Cocos": 18,
|
183 |
+
"Corn": 57,
|
184 |
+
"Corn Husk": 105,
|
185 |
+
"Cucumber Ripe": 40,
|
186 |
+
"Cucumber Ripe 2": 10,
|
187 |
+
"Dates": 73,
|
188 |
+
"Eggplant": 43,
|
189 |
+
"Fig": 62,
|
190 |
+
"Ginger Root": 52,
|
191 |
+
"Granadilla": 115,
|
192 |
+
"Grape Blue": 77,
|
193 |
+
"Grape Pink": 46,
|
194 |
+
"Grape White": 93,
|
195 |
+
"Grape White 2": 61,
|
196 |
+
"Grape White 3": 54,
|
197 |
+
"Grape White 4": 36,
|
198 |
+
"Grapefruit Pink": 78,
|
199 |
+
"Grapefruit White": 126,
|
200 |
+
"Guava": 102,
|
201 |
+
"Hazelnut": 129,
|
202 |
+
"Huckleberry": 97,
|
203 |
+
"Kaki": 125,
|
204 |
+
"Kiwi": 12,
|
205 |
+
"Kohlrabi": 32,
|
206 |
+
"Kumquats": 37,
|
207 |
+
"Lemon": 71,
|
208 |
+
"Lemon Meyer": 87,
|
209 |
+
"Limes": 35,
|
210 |
+
"Lychee": 109,
|
211 |
+
"Mandarine": 83,
|
212 |
+
"Mango": 51,
|
213 |
+
"Mango Red": 19,
|
214 |
+
"Mangostan": 66,
|
215 |
+
"Maracuja": 112,
|
216 |
+
"Melon Piel de Sapo": 94,
|
217 |
+
"Mulberry": 127,
|
218 |
+
"Nectarine": 81,
|
219 |
+
"Nectarine Flat": 96,
|
220 |
+
"Nut Forest": 90,
|
221 |
+
"Nut Pecan": 128,
|
222 |
+
"Onion Red": 20,
|
223 |
+
"Onion Red Peeled": 70,
|
224 |
+
"Onion White": 0,
|
225 |
+
"Orange": 114,
|
226 |
+
"Papaya": 29,
|
227 |
+
"Passion Fruit": 11,
|
228 |
+
"Peach": 69,
|
229 |
+
"Peach 2": 92,
|
230 |
+
"Peach Flat": 44,
|
231 |
+
"Pear": 22,
|
232 |
+
"Pear 2": 113,
|
233 |
+
"Pear Abate": 74,
|
234 |
+
"Pear Forelle": 23,
|
235 |
+
"Pear Kaiser": 38,
|
236 |
+
"Pear Monster": 121,
|
237 |
+
"Pear Red": 4,
|
238 |
+
"Pear Stone": 75,
|
239 |
+
"Pear Williams": 28,
|
240 |
+
"Pepino": 31,
|
241 |
+
"Pepper Green": 26,
|
242 |
+
"Pepper Orange": 80,
|
243 |
+
"Pepper Red": 120,
|
244 |
+
"Pepper Yellow": 79,
|
245 |
+
"Physalis": 91,
|
246 |
+
"Physalis with Husk": 48,
|
247 |
+
"Pineapple": 65,
|
248 |
+
"Pineapple Mini": 72,
|
249 |
+
"Pitahaya Red": 130,
|
250 |
+
"Plum": 124,
|
251 |
+
"Plum 2": 9,
|
252 |
+
"Plum 3": 101,
|
253 |
+
"Pomegranate": 24,
|
254 |
+
"Pomelo Sweetie": 98,
|
255 |
+
"Potato Red": 108,
|
256 |
+
"Potato Red Washed": 67,
|
257 |
+
"Potato Sweet": 25,
|
258 |
+
"Potato White": 59,
|
259 |
+
"Quince": 76,
|
260 |
+
"Rambutan": 17,
|
261 |
+
"Raspberry": 21,
|
262 |
+
"Redcurrant": 118,
|
263 |
+
"Salak": 60,
|
264 |
+
"Strawberry": 16,
|
265 |
+
"Strawberry Wedge": 41,
|
266 |
+
"Tamarillo": 86,
|
267 |
+
"Tangelo": 84,
|
268 |
+
"Tomato 1": 104,
|
269 |
+
"Tomato 2": 3,
|
270 |
+
"Tomato 3": 122,
|
271 |
+
"Tomato 4": 58,
|
272 |
+
"Tomato Cherry Red": 63,
|
273 |
+
"Tomato Heart": 100,
|
274 |
+
"Tomato Maroon": 13,
|
275 |
+
"Tomato Yellow": 45,
|
276 |
+
"Tomato not Ripened": 107,
|
277 |
+
"Walnut": 42,
|
278 |
+
"Watermelon": 68
|
279 |
+
},
|
280 |
+
"layer_norm_eps": 1e-12,
|
281 |
+
"model_type": "vit",
|
282 |
+
"num_attention_heads": 12,
|
283 |
+
"num_channels": 3,
|
284 |
+
"num_hidden_layers": 12,
|
285 |
+
"patch_size": 16,
|
286 |
+
"problem_type": "single_label_classification",
|
287 |
+
"qkv_bias": true,
|
288 |
+
"torch_dtype": "float32",
|
289 |
+
"transformers_version": "4.30.2"
|
290 |
+
}
|
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.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.5,
|
13 |
+
0.5,
|
14 |
+
0.5
|
15 |
+
],
|
16 |
+
"resample": 2,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:64d1e72937261dcf9522bc079bd4d43f0beebd26978602788a41438380c88bac
|
3 |
+
size 343665517
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b4a1b7f52fc13f55b771022cfe24c30dbb510672818fdf3e8dc77ce522e8c5dd
|
3 |
+
size 3899
|