impcabbie commited on
Commit
e7218ef
1 Parent(s): c69cd90

End of training

Browse files
README.md CHANGED
@@ -22,7 +22,7 @@ model-index:
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
- value: 0.8199233716475096
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 [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on the imagefolder dataset.
34
  It achieves the following results on the evaluation set:
35
- - Loss: 0.4985
36
- - Accuracy: 0.8199
37
 
38
  ## Model description
39
 
 
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
+ value: 0.8314176245210728
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 [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on the imagefolder dataset.
34
  It achieves the following results on the evaluation set:
35
+ - Loss: 0.4836
36
+ - Accuracy: 0.8314
37
 
38
  ## Model description
39
 
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 19.46,
3
+ "eval_accuracy": 0.8314176245210728,
4
+ "eval_loss": 0.483632355928421,
5
+ "eval_runtime": 22.4177,
6
+ "eval_samples_per_second": 11.643,
7
+ "eval_steps_per_second": 0.401,
8
+ "total_flos": 1.133589052022999e+18,
9
+ "train_loss": 0.422045146756702,
10
+ "train_runtime": 3802.191,
11
+ "train_samples_per_second": 12.324,
12
+ "train_steps_per_second": 0.095
13
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 19.46,
3
+ "eval_accuracy": 0.8314176245210728,
4
+ "eval_loss": 0.483632355928421,
5
+ "eval_runtime": 22.4177,
6
+ "eval_samples_per_second": 11.643,
7
+ "eval_steps_per_second": 0.401
8
+ }
runs/Dec11_09-40-10_eb1eee636655/events.out.tfevents.1702292402.eb1eee636655.642.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99a1ddd340c0b5d9c995abf3f0ead7627066c01890a9986ea5d8089349d2c556
3
+ size 411
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 19.46,
3
+ "total_flos": 1.133589052022999e+18,
4
+ "train_loss": 0.422045146756702,
5
+ "train_runtime": 3802.191,
6
+ "train_samples_per_second": 12.324,
7
+ "train_steps_per_second": 0.095
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,424 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.8314176245210728,
3
+ "best_model_checkpoint": "swin-tiny-patch4-window7-224-vit0/checkpoint-296",
4
+ "epoch": 19.45945945945946,
5
+ "eval_steps": 500,
6
+ "global_step": 360,
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.54,
13
+ "learning_rate": 1.388888888888889e-05,
14
+ "loss": 1.13,
15
+ "step": 10
16
+ },
17
+ {
18
+ "epoch": 0.97,
19
+ "eval_accuracy": 0.4329501915708812,
20
+ "eval_loss": 1.0297268629074097,
21
+ "eval_runtime": 147.8115,
22
+ "eval_samples_per_second": 1.766,
23
+ "eval_steps_per_second": 0.061,
24
+ "step": 18
25
+ },
26
+ {
27
+ "epoch": 1.08,
28
+ "learning_rate": 2.777777777777778e-05,
29
+ "loss": 1.0527,
30
+ "step": 20
31
+ },
32
+ {
33
+ "epoch": 1.62,
34
+ "learning_rate": 4.166666666666667e-05,
35
+ "loss": 0.9066,
36
+ "step": 30
37
+ },
38
+ {
39
+ "epoch": 2.0,
40
+ "eval_accuracy": 0.6590038314176245,
41
+ "eval_loss": 0.8349204659461975,
42
+ "eval_runtime": 13.2219,
43
+ "eval_samples_per_second": 19.74,
44
+ "eval_steps_per_second": 0.681,
45
+ "step": 37
46
+ },
47
+ {
48
+ "epoch": 2.16,
49
+ "learning_rate": 4.938271604938271e-05,
50
+ "loss": 0.8065,
51
+ "step": 40
52
+ },
53
+ {
54
+ "epoch": 2.7,
55
+ "learning_rate": 4.783950617283951e-05,
56
+ "loss": 0.7157,
57
+ "step": 50
58
+ },
59
+ {
60
+ "epoch": 2.97,
61
+ "eval_accuracy": 0.6743295019157088,
62
+ "eval_loss": 0.8049836754798889,
63
+ "eval_runtime": 13.1267,
64
+ "eval_samples_per_second": 19.883,
65
+ "eval_steps_per_second": 0.686,
66
+ "step": 55
67
+ },
68
+ {
69
+ "epoch": 3.24,
70
+ "learning_rate": 4.62962962962963e-05,
71
+ "loss": 0.6831,
72
+ "step": 60
73
+ },
74
+ {
75
+ "epoch": 3.78,
76
+ "learning_rate": 4.4753086419753084e-05,
77
+ "loss": 0.6446,
78
+ "step": 70
79
+ },
80
+ {
81
+ "epoch": 4.0,
82
+ "eval_accuracy": 0.7164750957854407,
83
+ "eval_loss": 0.6934032440185547,
84
+ "eval_runtime": 13.1723,
85
+ "eval_samples_per_second": 19.814,
86
+ "eval_steps_per_second": 0.683,
87
+ "step": 74
88
+ },
89
+ {
90
+ "epoch": 4.32,
91
+ "learning_rate": 4.3209876543209875e-05,
92
+ "loss": 0.5756,
93
+ "step": 80
94
+ },
95
+ {
96
+ "epoch": 4.86,
97
+ "learning_rate": 4.166666666666667e-05,
98
+ "loss": 0.5707,
99
+ "step": 90
100
+ },
101
+ {
102
+ "epoch": 4.97,
103
+ "eval_accuracy": 0.7432950191570882,
104
+ "eval_loss": 0.6323675513267517,
105
+ "eval_runtime": 13.1405,
106
+ "eval_samples_per_second": 19.862,
107
+ "eval_steps_per_second": 0.685,
108
+ "step": 92
109
+ },
110
+ {
111
+ "epoch": 5.41,
112
+ "learning_rate": 4.012345679012346e-05,
113
+ "loss": 0.5341,
114
+ "step": 100
115
+ },
116
+ {
117
+ "epoch": 5.95,
118
+ "learning_rate": 3.8580246913580246e-05,
119
+ "loss": 0.5042,
120
+ "step": 110
121
+ },
122
+ {
123
+ "epoch": 6.0,
124
+ "eval_accuracy": 0.735632183908046,
125
+ "eval_loss": 0.6155727505683899,
126
+ "eval_runtime": 12.7114,
127
+ "eval_samples_per_second": 20.533,
128
+ "eval_steps_per_second": 0.708,
129
+ "step": 111
130
+ },
131
+ {
132
+ "epoch": 6.49,
133
+ "learning_rate": 3.7037037037037037e-05,
134
+ "loss": 0.4714,
135
+ "step": 120
136
+ },
137
+ {
138
+ "epoch": 6.97,
139
+ "eval_accuracy": 0.7241379310344828,
140
+ "eval_loss": 0.6825360655784607,
141
+ "eval_runtime": 13.3632,
142
+ "eval_samples_per_second": 19.531,
143
+ "eval_steps_per_second": 0.673,
144
+ "step": 129
145
+ },
146
+ {
147
+ "epoch": 7.03,
148
+ "learning_rate": 3.5493827160493834e-05,
149
+ "loss": 0.4471,
150
+ "step": 130
151
+ },
152
+ {
153
+ "epoch": 7.57,
154
+ "learning_rate": 3.395061728395062e-05,
155
+ "loss": 0.4225,
156
+ "step": 140
157
+ },
158
+ {
159
+ "epoch": 8.0,
160
+ "eval_accuracy": 0.7624521072796935,
161
+ "eval_loss": 0.5692493915557861,
162
+ "eval_runtime": 12.4031,
163
+ "eval_samples_per_second": 21.043,
164
+ "eval_steps_per_second": 0.726,
165
+ "step": 148
166
+ },
167
+ {
168
+ "epoch": 8.11,
169
+ "learning_rate": 3.240740740740741e-05,
170
+ "loss": 0.4066,
171
+ "step": 150
172
+ },
173
+ {
174
+ "epoch": 8.65,
175
+ "learning_rate": 3.08641975308642e-05,
176
+ "loss": 0.3912,
177
+ "step": 160
178
+ },
179
+ {
180
+ "epoch": 8.97,
181
+ "eval_accuracy": 0.7586206896551724,
182
+ "eval_loss": 0.615011990070343,
183
+ "eval_runtime": 13.0398,
184
+ "eval_samples_per_second": 20.016,
185
+ "eval_steps_per_second": 0.69,
186
+ "step": 166
187
+ },
188
+ {
189
+ "epoch": 9.19,
190
+ "learning_rate": 2.9320987654320992e-05,
191
+ "loss": 0.3342,
192
+ "step": 170
193
+ },
194
+ {
195
+ "epoch": 9.73,
196
+ "learning_rate": 2.777777777777778e-05,
197
+ "loss": 0.3442,
198
+ "step": 180
199
+ },
200
+ {
201
+ "epoch": 10.0,
202
+ "eval_accuracy": 0.8007662835249042,
203
+ "eval_loss": 0.4901227355003357,
204
+ "eval_runtime": 12.6622,
205
+ "eval_samples_per_second": 20.613,
206
+ "eval_steps_per_second": 0.711,
207
+ "step": 185
208
+ },
209
+ {
210
+ "epoch": 10.27,
211
+ "learning_rate": 2.623456790123457e-05,
212
+ "loss": 0.3381,
213
+ "step": 190
214
+ },
215
+ {
216
+ "epoch": 10.81,
217
+ "learning_rate": 2.4691358024691357e-05,
218
+ "loss": 0.289,
219
+ "step": 200
220
+ },
221
+ {
222
+ "epoch": 10.97,
223
+ "eval_accuracy": 0.7739463601532567,
224
+ "eval_loss": 0.5579754114151001,
225
+ "eval_runtime": 13.0103,
226
+ "eval_samples_per_second": 20.061,
227
+ "eval_steps_per_second": 0.692,
228
+ "step": 203
229
+ },
230
+ {
231
+ "epoch": 11.35,
232
+ "learning_rate": 2.314814814814815e-05,
233
+ "loss": 0.2695,
234
+ "step": 210
235
+ },
236
+ {
237
+ "epoch": 11.89,
238
+ "learning_rate": 2.1604938271604937e-05,
239
+ "loss": 0.2827,
240
+ "step": 220
241
+ },
242
+ {
243
+ "epoch": 12.0,
244
+ "eval_accuracy": 0.7969348659003831,
245
+ "eval_loss": 0.5307646989822388,
246
+ "eval_runtime": 12.5136,
247
+ "eval_samples_per_second": 20.857,
248
+ "eval_steps_per_second": 0.719,
249
+ "step": 222
250
+ },
251
+ {
252
+ "epoch": 12.43,
253
+ "learning_rate": 2.006172839506173e-05,
254
+ "loss": 0.2516,
255
+ "step": 230
256
+ },
257
+ {
258
+ "epoch": 12.97,
259
+ "learning_rate": 1.8518518518518518e-05,
260
+ "loss": 0.2375,
261
+ "step": 240
262
+ },
263
+ {
264
+ "epoch": 12.97,
265
+ "eval_accuracy": 0.8045977011494253,
266
+ "eval_loss": 0.5273889899253845,
267
+ "eval_runtime": 12.9936,
268
+ "eval_samples_per_second": 20.087,
269
+ "eval_steps_per_second": 0.693,
270
+ "step": 240
271
+ },
272
+ {
273
+ "epoch": 13.51,
274
+ "learning_rate": 1.697530864197531e-05,
275
+ "loss": 0.2493,
276
+ "step": 250
277
+ },
278
+ {
279
+ "epoch": 14.0,
280
+ "eval_accuracy": 0.8045977011494253,
281
+ "eval_loss": 0.5433180332183838,
282
+ "eval_runtime": 12.7166,
283
+ "eval_samples_per_second": 20.524,
284
+ "eval_steps_per_second": 0.708,
285
+ "step": 259
286
+ },
287
+ {
288
+ "epoch": 14.05,
289
+ "learning_rate": 1.54320987654321e-05,
290
+ "loss": 0.2301,
291
+ "step": 260
292
+ },
293
+ {
294
+ "epoch": 14.59,
295
+ "learning_rate": 1.388888888888889e-05,
296
+ "loss": 0.2309,
297
+ "step": 270
298
+ },
299
+ {
300
+ "epoch": 14.97,
301
+ "eval_accuracy": 0.7931034482758621,
302
+ "eval_loss": 0.5354548692703247,
303
+ "eval_runtime": 13.0668,
304
+ "eval_samples_per_second": 19.974,
305
+ "eval_steps_per_second": 0.689,
306
+ "step": 277
307
+ },
308
+ {
309
+ "epoch": 15.14,
310
+ "learning_rate": 1.2345679012345678e-05,
311
+ "loss": 0.2187,
312
+ "step": 280
313
+ },
314
+ {
315
+ "epoch": 15.68,
316
+ "learning_rate": 1.0802469135802469e-05,
317
+ "loss": 0.1963,
318
+ "step": 290
319
+ },
320
+ {
321
+ "epoch": 16.0,
322
+ "eval_accuracy": 0.8314176245210728,
323
+ "eval_loss": 0.483632355928421,
324
+ "eval_runtime": 13.0481,
325
+ "eval_samples_per_second": 20.003,
326
+ "eval_steps_per_second": 0.69,
327
+ "step": 296
328
+ },
329
+ {
330
+ "epoch": 16.22,
331
+ "learning_rate": 9.259259259259259e-06,
332
+ "loss": 0.2209,
333
+ "step": 300
334
+ },
335
+ {
336
+ "epoch": 16.76,
337
+ "learning_rate": 7.71604938271605e-06,
338
+ "loss": 0.2162,
339
+ "step": 310
340
+ },
341
+ {
342
+ "epoch": 16.97,
343
+ "eval_accuracy": 0.8237547892720306,
344
+ "eval_loss": 0.4972710609436035,
345
+ "eval_runtime": 13.0793,
346
+ "eval_samples_per_second": 19.955,
347
+ "eval_steps_per_second": 0.688,
348
+ "step": 314
349
+ },
350
+ {
351
+ "epoch": 17.3,
352
+ "learning_rate": 6.172839506172839e-06,
353
+ "loss": 0.1948,
354
+ "step": 320
355
+ },
356
+ {
357
+ "epoch": 17.84,
358
+ "learning_rate": 4.6296296296296296e-06,
359
+ "loss": 0.2256,
360
+ "step": 330
361
+ },
362
+ {
363
+ "epoch": 18.0,
364
+ "eval_accuracy": 0.8275862068965517,
365
+ "eval_loss": 0.49177083373069763,
366
+ "eval_runtime": 13.1863,
367
+ "eval_samples_per_second": 19.793,
368
+ "eval_steps_per_second": 0.683,
369
+ "step": 333
370
+ },
371
+ {
372
+ "epoch": 18.38,
373
+ "learning_rate": 3.0864197530864196e-06,
374
+ "loss": 0.2093,
375
+ "step": 340
376
+ },
377
+ {
378
+ "epoch": 18.92,
379
+ "learning_rate": 1.5432098765432098e-06,
380
+ "loss": 0.2124,
381
+ "step": 350
382
+ },
383
+ {
384
+ "epoch": 18.97,
385
+ "eval_accuracy": 0.8160919540229885,
386
+ "eval_loss": 0.5070743560791016,
387
+ "eval_runtime": 13.1883,
388
+ "eval_samples_per_second": 19.79,
389
+ "eval_steps_per_second": 0.682,
390
+ "step": 351
391
+ },
392
+ {
393
+ "epoch": 19.46,
394
+ "learning_rate": 0.0,
395
+ "loss": 0.1797,
396
+ "step": 360
397
+ },
398
+ {
399
+ "epoch": 19.46,
400
+ "eval_accuracy": 0.8199233716475096,
401
+ "eval_loss": 0.4984593987464905,
402
+ "eval_runtime": 12.9999,
403
+ "eval_samples_per_second": 20.077,
404
+ "eval_steps_per_second": 0.692,
405
+ "step": 360
406
+ },
407
+ {
408
+ "epoch": 19.46,
409
+ "step": 360,
410
+ "total_flos": 1.133589052022999e+18,
411
+ "train_loss": 0.422045146756702,
412
+ "train_runtime": 3802.191,
413
+ "train_samples_per_second": 12.324,
414
+ "train_steps_per_second": 0.095
415
+ }
416
+ ],
417
+ "logging_steps": 10,
418
+ "max_steps": 360,
419
+ "num_train_epochs": 20,
420
+ "save_steps": 500,
421
+ "total_flos": 1.133589052022999e+18,
422
+ "trial_name": null,
423
+ "trial_params": null
424
+ }