Augusto777 commited on
Commit
21ffec1
1 Parent(s): 6f2b1d0

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.8043478260869565
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.6450
36
- - Accuracy: 0.8043
37
 
38
  ## Model description
39
 
 
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
+ value: 0.8260869565217391
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.6121
36
+ - Accuracy: 0.8261
37
 
38
  ## Model description
39
 
all_results.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 36.92,
3
+ "eval_accuracy": 0.8260869565217391,
4
+ "eval_loss": 0.6120511293411255,
5
+ "eval_runtime": 0.8007,
6
+ "eval_samples_per_second": 57.448,
7
+ "eval_steps_per_second": 2.498,
8
+ "train_loss": 0.8269948333501815,
9
+ "train_runtime": 291.9837,
10
+ "train_samples_per_second": 112.198,
11
+ "train_steps_per_second": 0.822
12
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 36.92,
3
+ "eval_accuracy": 0.8260869565217391,
4
+ "eval_loss": 0.6120511293411255,
5
+ "eval_runtime": 0.8007,
6
+ "eval_samples_per_second": 57.448,
7
+ "eval_steps_per_second": 2.498
8
+ }
runs/Jun11_21-38-51_DESKTOP-SKBE9FB/events.out.tfevents.1718163868.DESKTOP-SKBE9FB.10432.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6efd4cb553e9ce4704049f63c63c0bdc0e3f8ec240d9adc8b077ea1a74c7723
3
+ size 411
train_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 36.92,
3
+ "train_loss": 0.8269948333501815,
4
+ "train_runtime": 291.9837,
5
+ "train_samples_per_second": 112.198,
6
+ "train_steps_per_second": 0.822
7
+ }
trainer_state.json ADDED
@@ -0,0 +1,507 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.8260869565217391,
3
+ "best_model_checkpoint": "swin-tiny-patch4-window7-224-ve-U11-b-40\\checkpoint-195",
4
+ "epoch": 36.92307692307692,
5
+ "eval_steps": 500,
6
+ "global_step": 240,
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.92,
13
+ "eval_accuracy": 0.4782608695652174,
14
+ "eval_loss": 1.5799462795257568,
15
+ "eval_runtime": 0.5821,
16
+ "eval_samples_per_second": 79.027,
17
+ "eval_steps_per_second": 3.436,
18
+ "step": 6
19
+ },
20
+ {
21
+ "epoch": 1.54,
22
+ "learning_rate": 2.0833333333333336e-05,
23
+ "loss": 2.1773,
24
+ "step": 10
25
+ },
26
+ {
27
+ "epoch": 2.0,
28
+ "eval_accuracy": 0.34782608695652173,
29
+ "eval_loss": 1.5648330450057983,
30
+ "eval_runtime": 0.6134,
31
+ "eval_samples_per_second": 74.998,
32
+ "eval_steps_per_second": 3.261,
33
+ "step": 13
34
+ },
35
+ {
36
+ "epoch": 2.92,
37
+ "eval_accuracy": 0.32608695652173914,
38
+ "eval_loss": 1.5181727409362793,
39
+ "eval_runtime": 0.6128,
40
+ "eval_samples_per_second": 75.067,
41
+ "eval_steps_per_second": 3.264,
42
+ "step": 19
43
+ },
44
+ {
45
+ "epoch": 3.08,
46
+ "learning_rate": 4.166666666666667e-05,
47
+ "loss": 2.1773,
48
+ "step": 20
49
+ },
50
+ {
51
+ "epoch": 4.0,
52
+ "eval_accuracy": 0.32608695652173914,
53
+ "eval_loss": 1.423189401626587,
54
+ "eval_runtime": 0.6036,
55
+ "eval_samples_per_second": 76.205,
56
+ "eval_steps_per_second": 3.313,
57
+ "step": 26
58
+ },
59
+ {
60
+ "epoch": 4.62,
61
+ "learning_rate": 4.8611111111111115e-05,
62
+ "loss": 1.8993,
63
+ "step": 30
64
+ },
65
+ {
66
+ "epoch": 4.92,
67
+ "eval_accuracy": 0.391304347826087,
68
+ "eval_loss": 1.350540280342102,
69
+ "eval_runtime": 0.5704,
70
+ "eval_samples_per_second": 80.642,
71
+ "eval_steps_per_second": 3.506,
72
+ "step": 32
73
+ },
74
+ {
75
+ "epoch": 6.0,
76
+ "eval_accuracy": 0.3695652173913043,
77
+ "eval_loss": 1.2747217416763306,
78
+ "eval_runtime": 0.6013,
79
+ "eval_samples_per_second": 76.504,
80
+ "eval_steps_per_second": 3.326,
81
+ "step": 39
82
+ },
83
+ {
84
+ "epoch": 6.15,
85
+ "learning_rate": 4.62962962962963e-05,
86
+ "loss": 1.5045,
87
+ "step": 40
88
+ },
89
+ {
90
+ "epoch": 6.92,
91
+ "eval_accuracy": 0.3695652173913043,
92
+ "eval_loss": 1.2452056407928467,
93
+ "eval_runtime": 0.6025,
94
+ "eval_samples_per_second": 76.343,
95
+ "eval_steps_per_second": 3.319,
96
+ "step": 45
97
+ },
98
+ {
99
+ "epoch": 7.69,
100
+ "learning_rate": 4.3981481481481486e-05,
101
+ "loss": 1.2431,
102
+ "step": 50
103
+ },
104
+ {
105
+ "epoch": 8.0,
106
+ "eval_accuracy": 0.2826086956521739,
107
+ "eval_loss": 1.1981565952301025,
108
+ "eval_runtime": 0.6075,
109
+ "eval_samples_per_second": 75.724,
110
+ "eval_steps_per_second": 3.292,
111
+ "step": 52
112
+ },
113
+ {
114
+ "epoch": 8.92,
115
+ "eval_accuracy": 0.30434782608695654,
116
+ "eval_loss": 1.211159110069275,
117
+ "eval_runtime": 0.5789,
118
+ "eval_samples_per_second": 79.463,
119
+ "eval_steps_per_second": 3.455,
120
+ "step": 58
121
+ },
122
+ {
123
+ "epoch": 9.23,
124
+ "learning_rate": 4.166666666666667e-05,
125
+ "loss": 1.1225,
126
+ "step": 60
127
+ },
128
+ {
129
+ "epoch": 10.0,
130
+ "eval_accuracy": 0.5,
131
+ "eval_loss": 1.0159635543823242,
132
+ "eval_runtime": 0.5933,
133
+ "eval_samples_per_second": 77.528,
134
+ "eval_steps_per_second": 3.371,
135
+ "step": 65
136
+ },
137
+ {
138
+ "epoch": 10.77,
139
+ "learning_rate": 3.935185185185186e-05,
140
+ "loss": 0.9942,
141
+ "step": 70
142
+ },
143
+ {
144
+ "epoch": 10.92,
145
+ "eval_accuracy": 0.4782608695652174,
146
+ "eval_loss": 1.0138229131698608,
147
+ "eval_runtime": 0.5808,
148
+ "eval_samples_per_second": 79.195,
149
+ "eval_steps_per_second": 3.443,
150
+ "step": 71
151
+ },
152
+ {
153
+ "epoch": 12.0,
154
+ "eval_accuracy": 0.5652173913043478,
155
+ "eval_loss": 0.9093583822250366,
156
+ "eval_runtime": 0.5854,
157
+ "eval_samples_per_second": 78.579,
158
+ "eval_steps_per_second": 3.416,
159
+ "step": 78
160
+ },
161
+ {
162
+ "epoch": 12.31,
163
+ "learning_rate": 3.7037037037037037e-05,
164
+ "loss": 0.9212,
165
+ "step": 80
166
+ },
167
+ {
168
+ "epoch": 12.92,
169
+ "eval_accuracy": 0.5217391304347826,
170
+ "eval_loss": 0.8859941959381104,
171
+ "eval_runtime": 0.6003,
172
+ "eval_samples_per_second": 76.627,
173
+ "eval_steps_per_second": 3.332,
174
+ "step": 84
175
+ },
176
+ {
177
+ "epoch": 13.85,
178
+ "learning_rate": 3.472222222222222e-05,
179
+ "loss": 0.816,
180
+ "step": 90
181
+ },
182
+ {
183
+ "epoch": 14.0,
184
+ "eval_accuracy": 0.6739130434782609,
185
+ "eval_loss": 0.76930171251297,
186
+ "eval_runtime": 0.5807,
187
+ "eval_samples_per_second": 79.208,
188
+ "eval_steps_per_second": 3.444,
189
+ "step": 91
190
+ },
191
+ {
192
+ "epoch": 14.92,
193
+ "eval_accuracy": 0.6304347826086957,
194
+ "eval_loss": 0.8289525508880615,
195
+ "eval_runtime": 0.6004,
196
+ "eval_samples_per_second": 76.619,
197
+ "eval_steps_per_second": 3.331,
198
+ "step": 97
199
+ },
200
+ {
201
+ "epoch": 15.38,
202
+ "learning_rate": 3.240740740740741e-05,
203
+ "loss": 0.741,
204
+ "step": 100
205
+ },
206
+ {
207
+ "epoch": 16.0,
208
+ "eval_accuracy": 0.6739130434782609,
209
+ "eval_loss": 0.7809844017028809,
210
+ "eval_runtime": 0.5868,
211
+ "eval_samples_per_second": 78.396,
212
+ "eval_steps_per_second": 3.409,
213
+ "step": 104
214
+ },
215
+ {
216
+ "epoch": 16.92,
217
+ "learning_rate": 3.0092592592592593e-05,
218
+ "loss": 0.631,
219
+ "step": 110
220
+ },
221
+ {
222
+ "epoch": 16.92,
223
+ "eval_accuracy": 0.782608695652174,
224
+ "eval_loss": 0.6341724991798401,
225
+ "eval_runtime": 0.6046,
226
+ "eval_samples_per_second": 76.081,
227
+ "eval_steps_per_second": 3.308,
228
+ "step": 110
229
+ },
230
+ {
231
+ "epoch": 18.0,
232
+ "eval_accuracy": 0.6956521739130435,
233
+ "eval_loss": 0.7676540613174438,
234
+ "eval_runtime": 0.5863,
235
+ "eval_samples_per_second": 78.453,
236
+ "eval_steps_per_second": 3.411,
237
+ "step": 117
238
+ },
239
+ {
240
+ "epoch": 18.46,
241
+ "learning_rate": 2.777777777777778e-05,
242
+ "loss": 0.6402,
243
+ "step": 120
244
+ },
245
+ {
246
+ "epoch": 18.92,
247
+ "eval_accuracy": 0.7391304347826086,
248
+ "eval_loss": 0.6283207535743713,
249
+ "eval_runtime": 0.5721,
250
+ "eval_samples_per_second": 80.402,
251
+ "eval_steps_per_second": 3.496,
252
+ "step": 123
253
+ },
254
+ {
255
+ "epoch": 20.0,
256
+ "learning_rate": 2.5462962962962965e-05,
257
+ "loss": 0.5477,
258
+ "step": 130
259
+ },
260
+ {
261
+ "epoch": 20.0,
262
+ "eval_accuracy": 0.717391304347826,
263
+ "eval_loss": 0.6686931848526001,
264
+ "eval_runtime": 0.6092,
265
+ "eval_samples_per_second": 75.512,
266
+ "eval_steps_per_second": 3.283,
267
+ "step": 130
268
+ },
269
+ {
270
+ "epoch": 20.92,
271
+ "eval_accuracy": 0.782608695652174,
272
+ "eval_loss": 0.6369442939758301,
273
+ "eval_runtime": 0.6232,
274
+ "eval_samples_per_second": 73.807,
275
+ "eval_steps_per_second": 3.209,
276
+ "step": 136
277
+ },
278
+ {
279
+ "epoch": 21.54,
280
+ "learning_rate": 2.314814814814815e-05,
281
+ "loss": 0.5023,
282
+ "step": 140
283
+ },
284
+ {
285
+ "epoch": 22.0,
286
+ "eval_accuracy": 0.7608695652173914,
287
+ "eval_loss": 0.6333862543106079,
288
+ "eval_runtime": 0.5864,
289
+ "eval_samples_per_second": 78.448,
290
+ "eval_steps_per_second": 3.411,
291
+ "step": 143
292
+ },
293
+ {
294
+ "epoch": 22.92,
295
+ "eval_accuracy": 0.8043478260869565,
296
+ "eval_loss": 0.6355035305023193,
297
+ "eval_runtime": 0.592,
298
+ "eval_samples_per_second": 77.698,
299
+ "eval_steps_per_second": 3.378,
300
+ "step": 149
301
+ },
302
+ {
303
+ "epoch": 23.08,
304
+ "learning_rate": 2.0833333333333336e-05,
305
+ "loss": 0.4802,
306
+ "step": 150
307
+ },
308
+ {
309
+ "epoch": 24.0,
310
+ "eval_accuracy": 0.8043478260869565,
311
+ "eval_loss": 0.5975824594497681,
312
+ "eval_runtime": 0.5851,
313
+ "eval_samples_per_second": 78.623,
314
+ "eval_steps_per_second": 3.418,
315
+ "step": 156
316
+ },
317
+ {
318
+ "epoch": 24.62,
319
+ "learning_rate": 1.8518518518518518e-05,
320
+ "loss": 0.4336,
321
+ "step": 160
322
+ },
323
+ {
324
+ "epoch": 24.92,
325
+ "eval_accuracy": 0.7608695652173914,
326
+ "eval_loss": 0.6111952066421509,
327
+ "eval_runtime": 0.5995,
328
+ "eval_samples_per_second": 76.726,
329
+ "eval_steps_per_second": 3.336,
330
+ "step": 162
331
+ },
332
+ {
333
+ "epoch": 26.0,
334
+ "eval_accuracy": 0.8043478260869565,
335
+ "eval_loss": 0.6147894859313965,
336
+ "eval_runtime": 0.5855,
337
+ "eval_samples_per_second": 78.56,
338
+ "eval_steps_per_second": 3.416,
339
+ "step": 169
340
+ },
341
+ {
342
+ "epoch": 26.15,
343
+ "learning_rate": 1.6203703703703704e-05,
344
+ "loss": 0.4203,
345
+ "step": 170
346
+ },
347
+ {
348
+ "epoch": 26.92,
349
+ "eval_accuracy": 0.7391304347826086,
350
+ "eval_loss": 0.637995719909668,
351
+ "eval_runtime": 0.6015,
352
+ "eval_samples_per_second": 76.478,
353
+ "eval_steps_per_second": 3.325,
354
+ "step": 175
355
+ },
356
+ {
357
+ "epoch": 27.69,
358
+ "learning_rate": 1.388888888888889e-05,
359
+ "loss": 0.429,
360
+ "step": 180
361
+ },
362
+ {
363
+ "epoch": 28.0,
364
+ "eval_accuracy": 0.8043478260869565,
365
+ "eval_loss": 0.6031981706619263,
366
+ "eval_runtime": 0.5868,
367
+ "eval_samples_per_second": 78.388,
368
+ "eval_steps_per_second": 3.408,
369
+ "step": 182
370
+ },
371
+ {
372
+ "epoch": 28.92,
373
+ "eval_accuracy": 0.7391304347826086,
374
+ "eval_loss": 0.6347993612289429,
375
+ "eval_runtime": 0.5954,
376
+ "eval_samples_per_second": 77.256,
377
+ "eval_steps_per_second": 3.359,
378
+ "step": 188
379
+ },
380
+ {
381
+ "epoch": 29.23,
382
+ "learning_rate": 1.1574074074074075e-05,
383
+ "loss": 0.4013,
384
+ "step": 190
385
+ },
386
+ {
387
+ "epoch": 30.0,
388
+ "eval_accuracy": 0.8260869565217391,
389
+ "eval_loss": 0.6120511293411255,
390
+ "eval_runtime": 0.5862,
391
+ "eval_samples_per_second": 78.467,
392
+ "eval_steps_per_second": 3.412,
393
+ "step": 195
394
+ },
395
+ {
396
+ "epoch": 30.77,
397
+ "learning_rate": 9.259259259259259e-06,
398
+ "loss": 0.3747,
399
+ "step": 200
400
+ },
401
+ {
402
+ "epoch": 30.92,
403
+ "eval_accuracy": 0.7391304347826086,
404
+ "eval_loss": 0.6520815491676331,
405
+ "eval_runtime": 0.584,
406
+ "eval_samples_per_second": 78.773,
407
+ "eval_steps_per_second": 3.425,
408
+ "step": 201
409
+ },
410
+ {
411
+ "epoch": 32.0,
412
+ "eval_accuracy": 0.7608695652173914,
413
+ "eval_loss": 0.642352283000946,
414
+ "eval_runtime": 0.5991,
415
+ "eval_samples_per_second": 76.785,
416
+ "eval_steps_per_second": 3.338,
417
+ "step": 208
418
+ },
419
+ {
420
+ "epoch": 32.31,
421
+ "learning_rate": 6.944444444444445e-06,
422
+ "loss": 0.3668,
423
+ "step": 210
424
+ },
425
+ {
426
+ "epoch": 32.92,
427
+ "eval_accuracy": 0.8260869565217391,
428
+ "eval_loss": 0.6149412989616394,
429
+ "eval_runtime": 0.5861,
430
+ "eval_samples_per_second": 78.481,
431
+ "eval_steps_per_second": 3.412,
432
+ "step": 214
433
+ },
434
+ {
435
+ "epoch": 33.85,
436
+ "learning_rate": 4.6296296296296296e-06,
437
+ "loss": 0.3287,
438
+ "step": 220
439
+ },
440
+ {
441
+ "epoch": 34.0,
442
+ "eval_accuracy": 0.782608695652174,
443
+ "eval_loss": 0.6426060795783997,
444
+ "eval_runtime": 0.586,
445
+ "eval_samples_per_second": 78.496,
446
+ "eval_steps_per_second": 3.413,
447
+ "step": 221
448
+ },
449
+ {
450
+ "epoch": 34.92,
451
+ "eval_accuracy": 0.8043478260869565,
452
+ "eval_loss": 0.6378837823867798,
453
+ "eval_runtime": 0.6002,
454
+ "eval_samples_per_second": 76.643,
455
+ "eval_steps_per_second": 3.332,
456
+ "step": 227
457
+ },
458
+ {
459
+ "epoch": 35.38,
460
+ "learning_rate": 2.3148148148148148e-06,
461
+ "loss": 0.372,
462
+ "step": 230
463
+ },
464
+ {
465
+ "epoch": 36.0,
466
+ "eval_accuracy": 0.8043478260869565,
467
+ "eval_loss": 0.6434963941574097,
468
+ "eval_runtime": 0.6209,
469
+ "eval_samples_per_second": 74.08,
470
+ "eval_steps_per_second": 3.221,
471
+ "step": 234
472
+ },
473
+ {
474
+ "epoch": 36.92,
475
+ "learning_rate": 0.0,
476
+ "loss": 0.3236,
477
+ "step": 240
478
+ },
479
+ {
480
+ "epoch": 36.92,
481
+ "eval_accuracy": 0.8043478260869565,
482
+ "eval_loss": 0.6449573636054993,
483
+ "eval_runtime": 0.5774,
484
+ "eval_samples_per_second": 79.664,
485
+ "eval_steps_per_second": 3.464,
486
+ "step": 240
487
+ },
488
+ {
489
+ "epoch": 36.92,
490
+ "step": 240,
491
+ "total_flos": 7.519854010178765e+17,
492
+ "train_loss": 0.8269948333501815,
493
+ "train_runtime": 291.9837,
494
+ "train_samples_per_second": 112.198,
495
+ "train_steps_per_second": 0.822
496
+ }
497
+ ],
498
+ "logging_steps": 10,
499
+ "max_steps": 240,
500
+ "num_input_tokens_seen": 0,
501
+ "num_train_epochs": 40,
502
+ "save_steps": 500,
503
+ "total_flos": 7.519854010178765e+17,
504
+ "train_batch_size": 32,
505
+ "trial_name": null,
506
+ "trial_params": null
507
+ }