End of training
Browse files- README.md +3 -3
- all_results.json +13 -0
- eval_results.json +8 -0
- runs/Nov24_10-15-30_4981a2ded6dd/events.out.tfevents.1700821377.4981a2ded6dd.1909.1 +3 -0
- train_results.json +8 -0
- trainer_state.json +358 -0
README.md
CHANGED
@@ -22,7 +22,7 @@ model-index:
|
|
22 |
metrics:
|
23 |
- name: Accuracy
|
24 |
type: accuracy
|
25 |
-
value: 0.
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -32,8 +32,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
32 |
|
33 |
This model is a fine-tuned version of [100rab25/swin-tiny-patch4-window7-224-spa_saloon_classification](https://huggingface.co/100rab25/swin-tiny-patch4-window7-224-spa_saloon_classification) on the imagefolder dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
-
- Loss: 0.
|
36 |
-
- Accuracy: 0.
|
37 |
|
38 |
## Model description
|
39 |
|
|
|
22 |
metrics:
|
23 |
- name: Accuracy
|
24 |
type: accuracy
|
25 |
+
value: 0.9825783972125436
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
32 |
|
33 |
This model is a fine-tuned version of [100rab25/swin-tiny-patch4-window7-224-spa_saloon_classification](https://huggingface.co/100rab25/swin-tiny-patch4-window7-224-spa_saloon_classification) on the imagefolder dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.0797
|
36 |
+
- Accuracy: 0.9826
|
37 |
|
38 |
## Model description
|
39 |
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 9.88,
|
3 |
+
"eval_accuracy": 0.9825783972125436,
|
4 |
+
"eval_loss": 0.07965687662363052,
|
5 |
+
"eval_runtime": 1.9325,
|
6 |
+
"eval_samples_per_second": 148.513,
|
7 |
+
"eval_steps_per_second": 4.657,
|
8 |
+
"total_flos": 6.325810471729889e+17,
|
9 |
+
"train_loss": 0.1487744191288948,
|
10 |
+
"train_runtime": 421.2195,
|
11 |
+
"train_samples_per_second": 61.132,
|
12 |
+
"train_steps_per_second": 0.475
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 9.88,
|
3 |
+
"eval_accuracy": 0.9825783972125436,
|
4 |
+
"eval_loss": 0.07965687662363052,
|
5 |
+
"eval_runtime": 1.9325,
|
6 |
+
"eval_samples_per_second": 148.513,
|
7 |
+
"eval_steps_per_second": 4.657
|
8 |
+
}
|
runs/Nov24_10-15-30_4981a2ded6dd/events.out.tfevents.1700821377.4981a2ded6dd.1909.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:303c263a6acc42e1b271c49181fc500cc8fe8d33524e79b5d2716a4cecf4d1d0
|
3 |
+
size 411
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 9.88,
|
3 |
+
"total_flos": 6.325810471729889e+17,
|
4 |
+
"train_loss": 0.1487744191288948,
|
5 |
+
"train_runtime": 421.2195,
|
6 |
+
"train_samples_per_second": 61.132,
|
7 |
+
"train_steps_per_second": 0.475
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,358 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.9825783972125436,
|
3 |
+
"best_model_checkpoint": "swin-tiny-patch4-window7-224-spa_saloon_classification-spa-saloon/checkpoint-101",
|
4 |
+
"epoch": 9.876543209876543,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 200,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.25,
|
13 |
+
"learning_rate": 1.25e-05,
|
14 |
+
"loss": 0.3456,
|
15 |
+
"step": 5
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.49,
|
19 |
+
"learning_rate": 2.5e-05,
|
20 |
+
"loss": 0.2937,
|
21 |
+
"step": 10
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.74,
|
25 |
+
"learning_rate": 3.7500000000000003e-05,
|
26 |
+
"loss": 0.3306,
|
27 |
+
"step": 15
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.99,
|
31 |
+
"learning_rate": 5e-05,
|
32 |
+
"loss": 0.2585,
|
33 |
+
"step": 20
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0.99,
|
37 |
+
"eval_accuracy": 0.9407665505226481,
|
38 |
+
"eval_loss": 0.16160520911216736,
|
39 |
+
"eval_runtime": 1.8112,
|
40 |
+
"eval_samples_per_second": 158.456,
|
41 |
+
"eval_steps_per_second": 4.969,
|
42 |
+
"step": 20
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"epoch": 1.23,
|
46 |
+
"learning_rate": 4.8611111111111115e-05,
|
47 |
+
"loss": 0.2229,
|
48 |
+
"step": 25
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 1.48,
|
52 |
+
"learning_rate": 4.722222222222222e-05,
|
53 |
+
"loss": 0.2354,
|
54 |
+
"step": 30
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 1.73,
|
58 |
+
"learning_rate": 4.5833333333333334e-05,
|
59 |
+
"loss": 0.1735,
|
60 |
+
"step": 35
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"epoch": 1.98,
|
64 |
+
"learning_rate": 4.4444444444444447e-05,
|
65 |
+
"loss": 0.2042,
|
66 |
+
"step": 40
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"epoch": 1.98,
|
70 |
+
"eval_accuracy": 0.9337979094076655,
|
71 |
+
"eval_loss": 0.2162116914987564,
|
72 |
+
"eval_runtime": 1.8419,
|
73 |
+
"eval_samples_per_second": 155.818,
|
74 |
+
"eval_steps_per_second": 4.886,
|
75 |
+
"step": 40
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 2.22,
|
79 |
+
"learning_rate": 4.305555555555556e-05,
|
80 |
+
"loss": 0.2087,
|
81 |
+
"step": 45
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 2.47,
|
85 |
+
"learning_rate": 4.166666666666667e-05,
|
86 |
+
"loss": 0.1561,
|
87 |
+
"step": 50
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 2.72,
|
91 |
+
"learning_rate": 4.027777777777778e-05,
|
92 |
+
"loss": 0.1463,
|
93 |
+
"step": 55
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 2.96,
|
97 |
+
"learning_rate": 3.888888888888889e-05,
|
98 |
+
"loss": 0.1464,
|
99 |
+
"step": 60
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 2.96,
|
103 |
+
"eval_accuracy": 0.9721254355400697,
|
104 |
+
"eval_loss": 0.10012032091617584,
|
105 |
+
"eval_runtime": 1.9543,
|
106 |
+
"eval_samples_per_second": 146.855,
|
107 |
+
"eval_steps_per_second": 4.605,
|
108 |
+
"step": 60
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"epoch": 3.21,
|
112 |
+
"learning_rate": 3.7500000000000003e-05,
|
113 |
+
"loss": 0.1456,
|
114 |
+
"step": 65
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 3.46,
|
118 |
+
"learning_rate": 3.611111111111111e-05,
|
119 |
+
"loss": 0.1674,
|
120 |
+
"step": 70
|
121 |
+
},
|
122 |
+
{
|
123 |
+
"epoch": 3.7,
|
124 |
+
"learning_rate": 3.472222222222222e-05,
|
125 |
+
"loss": 0.1502,
|
126 |
+
"step": 75
|
127 |
+
},
|
128 |
+
{
|
129 |
+
"epoch": 3.95,
|
130 |
+
"learning_rate": 3.3333333333333335e-05,
|
131 |
+
"loss": 0.1621,
|
132 |
+
"step": 80
|
133 |
+
},
|
134 |
+
{
|
135 |
+
"epoch": 4.0,
|
136 |
+
"eval_accuracy": 0.9790940766550522,
|
137 |
+
"eval_loss": 0.09151919186115265,
|
138 |
+
"eval_runtime": 1.8539,
|
139 |
+
"eval_samples_per_second": 154.81,
|
140 |
+
"eval_steps_per_second": 4.855,
|
141 |
+
"step": 81
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"epoch": 4.2,
|
145 |
+
"learning_rate": 3.194444444444444e-05,
|
146 |
+
"loss": 0.1445,
|
147 |
+
"step": 85
|
148 |
+
},
|
149 |
+
{
|
150 |
+
"epoch": 4.44,
|
151 |
+
"learning_rate": 3.055555555555556e-05,
|
152 |
+
"loss": 0.1356,
|
153 |
+
"step": 90
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"epoch": 4.69,
|
157 |
+
"learning_rate": 2.916666666666667e-05,
|
158 |
+
"loss": 0.1197,
|
159 |
+
"step": 95
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 4.94,
|
163 |
+
"learning_rate": 2.777777777777778e-05,
|
164 |
+
"loss": 0.1469,
|
165 |
+
"step": 100
|
166 |
+
},
|
167 |
+
{
|
168 |
+
"epoch": 4.99,
|
169 |
+
"eval_accuracy": 0.9825783972125436,
|
170 |
+
"eval_loss": 0.07965687662363052,
|
171 |
+
"eval_runtime": 2.379,
|
172 |
+
"eval_samples_per_second": 120.638,
|
173 |
+
"eval_steps_per_second": 3.783,
|
174 |
+
"step": 101
|
175 |
+
},
|
176 |
+
{
|
177 |
+
"epoch": 5.19,
|
178 |
+
"learning_rate": 2.6388888888888892e-05,
|
179 |
+
"loss": 0.1085,
|
180 |
+
"step": 105
|
181 |
+
},
|
182 |
+
{
|
183 |
+
"epoch": 5.43,
|
184 |
+
"learning_rate": 2.5e-05,
|
185 |
+
"loss": 0.1257,
|
186 |
+
"step": 110
|
187 |
+
},
|
188 |
+
{
|
189 |
+
"epoch": 5.68,
|
190 |
+
"learning_rate": 2.361111111111111e-05,
|
191 |
+
"loss": 0.1157,
|
192 |
+
"step": 115
|
193 |
+
},
|
194 |
+
{
|
195 |
+
"epoch": 5.93,
|
196 |
+
"learning_rate": 2.2222222222222223e-05,
|
197 |
+
"loss": 0.1272,
|
198 |
+
"step": 120
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 5.98,
|
202 |
+
"eval_accuracy": 0.975609756097561,
|
203 |
+
"eval_loss": 0.07534805685281754,
|
204 |
+
"eval_runtime": 1.8754,
|
205 |
+
"eval_samples_per_second": 153.031,
|
206 |
+
"eval_steps_per_second": 4.799,
|
207 |
+
"step": 121
|
208 |
+
},
|
209 |
+
{
|
210 |
+
"epoch": 6.17,
|
211 |
+
"learning_rate": 2.0833333333333336e-05,
|
212 |
+
"loss": 0.093,
|
213 |
+
"step": 125
|
214 |
+
},
|
215 |
+
{
|
216 |
+
"epoch": 6.42,
|
217 |
+
"learning_rate": 1.9444444444444445e-05,
|
218 |
+
"loss": 0.0924,
|
219 |
+
"step": 130
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 6.67,
|
223 |
+
"learning_rate": 1.8055555555555555e-05,
|
224 |
+
"loss": 0.1556,
|
225 |
+
"step": 135
|
226 |
+
},
|
227 |
+
{
|
228 |
+
"epoch": 6.91,
|
229 |
+
"learning_rate": 1.6666666666666667e-05,
|
230 |
+
"loss": 0.0985,
|
231 |
+
"step": 140
|
232 |
+
},
|
233 |
+
{
|
234 |
+
"epoch": 6.96,
|
235 |
+
"eval_accuracy": 0.9790940766550522,
|
236 |
+
"eval_loss": 0.08600831031799316,
|
237 |
+
"eval_runtime": 2.1983,
|
238 |
+
"eval_samples_per_second": 130.553,
|
239 |
+
"eval_steps_per_second": 4.094,
|
240 |
+
"step": 141
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 7.16,
|
244 |
+
"learning_rate": 1.527777777777778e-05,
|
245 |
+
"loss": 0.1133,
|
246 |
+
"step": 145
|
247 |
+
},
|
248 |
+
{
|
249 |
+
"epoch": 7.41,
|
250 |
+
"learning_rate": 1.388888888888889e-05,
|
251 |
+
"loss": 0.0928,
|
252 |
+
"step": 150
|
253 |
+
},
|
254 |
+
{
|
255 |
+
"epoch": 7.65,
|
256 |
+
"learning_rate": 1.25e-05,
|
257 |
+
"loss": 0.0923,
|
258 |
+
"step": 155
|
259 |
+
},
|
260 |
+
{
|
261 |
+
"epoch": 7.9,
|
262 |
+
"learning_rate": 1.1111111111111112e-05,
|
263 |
+
"loss": 0.1013,
|
264 |
+
"step": 160
|
265 |
+
},
|
266 |
+
{
|
267 |
+
"epoch": 8.0,
|
268 |
+
"eval_accuracy": 0.9651567944250871,
|
269 |
+
"eval_loss": 0.11782138049602509,
|
270 |
+
"eval_runtime": 1.8695,
|
271 |
+
"eval_samples_per_second": 153.521,
|
272 |
+
"eval_steps_per_second": 4.814,
|
273 |
+
"step": 162
|
274 |
+
},
|
275 |
+
{
|
276 |
+
"epoch": 8.15,
|
277 |
+
"learning_rate": 9.722222222222223e-06,
|
278 |
+
"loss": 0.1086,
|
279 |
+
"step": 165
|
280 |
+
},
|
281 |
+
{
|
282 |
+
"epoch": 8.4,
|
283 |
+
"learning_rate": 8.333333333333334e-06,
|
284 |
+
"loss": 0.1161,
|
285 |
+
"step": 170
|
286 |
+
},
|
287 |
+
{
|
288 |
+
"epoch": 8.64,
|
289 |
+
"learning_rate": 6.944444444444445e-06,
|
290 |
+
"loss": 0.0612,
|
291 |
+
"step": 175
|
292 |
+
},
|
293 |
+
{
|
294 |
+
"epoch": 8.89,
|
295 |
+
"learning_rate": 5.555555555555556e-06,
|
296 |
+
"loss": 0.111,
|
297 |
+
"step": 180
|
298 |
+
},
|
299 |
+
{
|
300 |
+
"epoch": 8.99,
|
301 |
+
"eval_accuracy": 0.9651567944250871,
|
302 |
+
"eval_loss": 0.10362739115953445,
|
303 |
+
"eval_runtime": 2.1015,
|
304 |
+
"eval_samples_per_second": 136.567,
|
305 |
+
"eval_steps_per_second": 4.283,
|
306 |
+
"step": 182
|
307 |
+
},
|
308 |
+
{
|
309 |
+
"epoch": 9.14,
|
310 |
+
"learning_rate": 4.166666666666667e-06,
|
311 |
+
"loss": 0.1008,
|
312 |
+
"step": 185
|
313 |
+
},
|
314 |
+
{
|
315 |
+
"epoch": 9.38,
|
316 |
+
"learning_rate": 2.777777777777778e-06,
|
317 |
+
"loss": 0.1,
|
318 |
+
"step": 190
|
319 |
+
},
|
320 |
+
{
|
321 |
+
"epoch": 9.63,
|
322 |
+
"learning_rate": 1.388888888888889e-06,
|
323 |
+
"loss": 0.0694,
|
324 |
+
"step": 195
|
325 |
+
},
|
326 |
+
{
|
327 |
+
"epoch": 9.88,
|
328 |
+
"learning_rate": 0.0,
|
329 |
+
"loss": 0.0737,
|
330 |
+
"step": 200
|
331 |
+
},
|
332 |
+
{
|
333 |
+
"epoch": 9.88,
|
334 |
+
"eval_accuracy": 0.9686411149825784,
|
335 |
+
"eval_loss": 0.09821867197751999,
|
336 |
+
"eval_runtime": 1.893,
|
337 |
+
"eval_samples_per_second": 151.615,
|
338 |
+
"eval_steps_per_second": 4.754,
|
339 |
+
"step": 200
|
340 |
+
},
|
341 |
+
{
|
342 |
+
"epoch": 9.88,
|
343 |
+
"step": 200,
|
344 |
+
"total_flos": 6.325810471729889e+17,
|
345 |
+
"train_loss": 0.1487744191288948,
|
346 |
+
"train_runtime": 421.2195,
|
347 |
+
"train_samples_per_second": 61.132,
|
348 |
+
"train_steps_per_second": 0.475
|
349 |
+
}
|
350 |
+
],
|
351 |
+
"logging_steps": 5,
|
352 |
+
"max_steps": 200,
|
353 |
+
"num_train_epochs": 10,
|
354 |
+
"save_steps": 500,
|
355 |
+
"total_flos": 6.325810471729889e+17,
|
356 |
+
"trial_name": null,
|
357 |
+
"trial_params": null
|
358 |
+
}
|