Henrieke commited on
Commit
5183382
1 Parent(s): 2a39fae

End of training

Browse files
Files changed (5) hide show
  1. README.md +1 -1
  2. all_results.json +13 -0
  3. eval_results.json +8 -0
  4. train_results.json +8 -0
  5. trainer_state.json +457 -0
README.md CHANGED
@@ -32,7 +32,7 @@ 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.0711
36
  - Accuracy: 0.9802
37
 
38
  ## Model description
 
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.0779
36
  - Accuracy: 0.9802
37
 
38
  ## Model description
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.99,
3
+ "eval_accuracy": 0.9801980198019802,
4
+ "eval_loss": 0.07785981893539429,
5
+ "eval_runtime": 44.2867,
6
+ "eval_samples_per_second": 9.122,
7
+ "eval_steps_per_second": 2.281,
8
+ "total_flos": 2.696181882987479e+17,
9
+ "train_loss": 0.29536557975596034,
10
+ "train_runtime": 1530.5351,
11
+ "train_samples_per_second": 7.109,
12
+ "train_steps_per_second": 0.443
13
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.99,
3
+ "eval_accuracy": 0.9801980198019802,
4
+ "eval_loss": 0.07785981893539429,
5
+ "eval_runtime": 44.2867,
6
+ "eval_samples_per_second": 9.122,
7
+ "eval_steps_per_second": 2.281
8
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.99,
3
+ "total_flos": 2.696181882987479e+17,
4
+ "train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
+ {
2
+ "best_metric": 0.9801980198019802,
3
+ "best_model_checkpoint": "swin-tiny-patch4-window7-224-finetuned-eurosat\\checkpoint-453",
4
+ "epoch": 2.990077177508269,
5
+ "eval_steps": 500,
6
+ "global_step": 678,
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.04,
13
+ "learning_rate": 7.3529411764705884e-06,
14
+ "loss": 1.8817,
15
+ "step": 10
16
+ },
17
+ {
18
+ "epoch": 0.09,
19
+ "learning_rate": 1.4705882352941177e-05,
20
+ "loss": 1.7748,
21
+ "step": 20
22
+ },
23
+ {
24
+ "epoch": 0.13,
25
+ "learning_rate": 2.2058823529411766e-05,
26
+ "loss": 1.6352,
27
+ "step": 30
28
+ },
29
+ {
30
+ "epoch": 0.18,
31
+ "learning_rate": 2.9411764705882354e-05,
32
+ "loss": 1.2838,
33
+ "step": 40
34
+ },
35
+ {
36
+ "epoch": 0.22,
37
+ "learning_rate": 3.6764705882352945e-05,
38
+ "loss": 0.8832,
39
+ "step": 50
40
+ },
41
+ {
42
+ "epoch": 0.26,
43
+ "learning_rate": 4.411764705882353e-05,
44
+ "loss": 0.5259,
45
+ "step": 60
46
+ },
47
+ {
48
+ "epoch": 0.31,
49
+ "learning_rate": 4.9836065573770496e-05,
50
+ "loss": 0.4059,
51
+ "step": 70
52
+ },
53
+ {
54
+ "epoch": 0.35,
55
+ "learning_rate": 4.9016393442622957e-05,
56
+ "loss": 0.4344,
57
+ "step": 80
58
+ },
59
+ {
60
+ "epoch": 0.4,
61
+ "learning_rate": 4.819672131147541e-05,
62
+ "loss": 0.2773,
63
+ "step": 90
64
+ },
65
+ {
66
+ "epoch": 0.44,
67
+ "learning_rate": 4.737704918032787e-05,
68
+ "loss": 0.3712,
69
+ "step": 100
70
+ },
71
+ {
72
+ "epoch": 0.49,
73
+ "learning_rate": 4.655737704918033e-05,
74
+ "loss": 0.3117,
75
+ "step": 110
76
+ },
77
+ {
78
+ "epoch": 0.53,
79
+ "learning_rate": 4.5737704918032786e-05,
80
+ "loss": 0.2357,
81
+ "step": 120
82
+ },
83
+ {
84
+ "epoch": 0.57,
85
+ "learning_rate": 4.491803278688525e-05,
86
+ "loss": 0.3511,
87
+ "step": 130
88
+ },
89
+ {
90
+ "epoch": 0.62,
91
+ "learning_rate": 4.409836065573771e-05,
92
+ "loss": 0.2619,
93
+ "step": 140
94
+ },
95
+ {
96
+ "epoch": 0.66,
97
+ "learning_rate": 4.327868852459017e-05,
98
+ "loss": 0.2678,
99
+ "step": 150
100
+ },
101
+ {
102
+ "epoch": 0.71,
103
+ "learning_rate": 4.245901639344262e-05,
104
+ "loss": 0.3344,
105
+ "step": 160
106
+ },
107
+ {
108
+ "epoch": 0.75,
109
+ "learning_rate": 4.163934426229508e-05,
110
+ "loss": 0.2304,
111
+ "step": 170
112
+ },
113
+ {
114
+ "epoch": 0.79,
115
+ "learning_rate": 4.081967213114754e-05,
116
+ "loss": 0.3894,
117
+ "step": 180
118
+ },
119
+ {
120
+ "epoch": 0.84,
121
+ "learning_rate": 4e-05,
122
+ "loss": 0.2455,
123
+ "step": 190
124
+ },
125
+ {
126
+ "epoch": 0.88,
127
+ "learning_rate": 3.9180327868852464e-05,
128
+ "loss": 0.202,
129
+ "step": 200
130
+ },
131
+ {
132
+ "epoch": 0.93,
133
+ "learning_rate": 3.836065573770492e-05,
134
+ "loss": 0.2385,
135
+ "step": 210
136
+ },
137
+ {
138
+ "epoch": 0.97,
139
+ "learning_rate": 3.754098360655738e-05,
140
+ "loss": 0.1774,
141
+ "step": 220
142
+ },
143
+ {
144
+ "epoch": 1.0,
145
+ "eval_accuracy": 0.9702970297029703,
146
+ "eval_loss": 0.11055441945791245,
147
+ "eval_runtime": 18.9759,
148
+ "eval_samples_per_second": 21.29,
149
+ "eval_steps_per_second": 5.323,
150
+ "step": 226
151
+ },
152
+ {
153
+ "epoch": 1.01,
154
+ "learning_rate": 3.672131147540984e-05,
155
+ "loss": 0.1992,
156
+ "step": 230
157
+ },
158
+ {
159
+ "epoch": 1.06,
160
+ "learning_rate": 3.590163934426229e-05,
161
+ "loss": 0.1551,
162
+ "step": 240
163
+ },
164
+ {
165
+ "epoch": 1.1,
166
+ "learning_rate": 3.508196721311476e-05,
167
+ "loss": 0.1366,
168
+ "step": 250
169
+ },
170
+ {
171
+ "epoch": 1.15,
172
+ "learning_rate": 3.4262295081967214e-05,
173
+ "loss": 0.2028,
174
+ "step": 260
175
+ },
176
+ {
177
+ "epoch": 1.19,
178
+ "learning_rate": 3.3442622950819675e-05,
179
+ "loss": 0.2502,
180
+ "step": 270
181
+ },
182
+ {
183
+ "epoch": 1.23,
184
+ "learning_rate": 3.2622950819672136e-05,
185
+ "loss": 0.1706,
186
+ "step": 280
187
+ },
188
+ {
189
+ "epoch": 1.28,
190
+ "learning_rate": 3.180327868852459e-05,
191
+ "loss": 0.2043,
192
+ "step": 290
193
+ },
194
+ {
195
+ "epoch": 1.32,
196
+ "learning_rate": 3.098360655737705e-05,
197
+ "loss": 0.1227,
198
+ "step": 300
199
+ },
200
+ {
201
+ "epoch": 1.37,
202
+ "learning_rate": 3.016393442622951e-05,
203
+ "loss": 0.183,
204
+ "step": 310
205
+ },
206
+ {
207
+ "epoch": 1.41,
208
+ "learning_rate": 2.934426229508197e-05,
209
+ "loss": 0.1389,
210
+ "step": 320
211
+ },
212
+ {
213
+ "epoch": 1.46,
214
+ "learning_rate": 2.852459016393443e-05,
215
+ "loss": 0.2355,
216
+ "step": 330
217
+ },
218
+ {
219
+ "epoch": 1.5,
220
+ "learning_rate": 2.7704918032786886e-05,
221
+ "loss": 0.1368,
222
+ "step": 340
223
+ },
224
+ {
225
+ "epoch": 1.54,
226
+ "learning_rate": 2.6885245901639343e-05,
227
+ "loss": 0.1441,
228
+ "step": 350
229
+ },
230
+ {
231
+ "epoch": 1.59,
232
+ "learning_rate": 2.6065573770491804e-05,
233
+ "loss": 0.23,
234
+ "step": 360
235
+ },
236
+ {
237
+ "epoch": 1.63,
238
+ "learning_rate": 2.5245901639344264e-05,
239
+ "loss": 0.2492,
240
+ "step": 370
241
+ },
242
+ {
243
+ "epoch": 1.68,
244
+ "learning_rate": 2.442622950819672e-05,
245
+ "loss": 0.0825,
246
+ "step": 380
247
+ },
248
+ {
249
+ "epoch": 1.72,
250
+ "learning_rate": 2.3606557377049182e-05,
251
+ "loss": 0.1994,
252
+ "step": 390
253
+ },
254
+ {
255
+ "epoch": 1.76,
256
+ "learning_rate": 2.278688524590164e-05,
257
+ "loss": 0.157,
258
+ "step": 400
259
+ },
260
+ {
261
+ "epoch": 1.81,
262
+ "learning_rate": 2.1967213114754097e-05,
263
+ "loss": 0.3219,
264
+ "step": 410
265
+ },
266
+ {
267
+ "epoch": 1.85,
268
+ "learning_rate": 2.114754098360656e-05,
269
+ "loss": 0.2,
270
+ "step": 420
271
+ },
272
+ {
273
+ "epoch": 1.9,
274
+ "learning_rate": 2.0327868852459018e-05,
275
+ "loss": 0.2441,
276
+ "step": 430
277
+ },
278
+ {
279
+ "epoch": 1.94,
280
+ "learning_rate": 1.9508196721311475e-05,
281
+ "loss": 0.2106,
282
+ "step": 440
283
+ },
284
+ {
285
+ "epoch": 1.98,
286
+ "learning_rate": 1.8688524590163936e-05,
287
+ "loss": 0.1347,
288
+ "step": 450
289
+ },
290
+ {
291
+ "epoch": 2.0,
292
+ "eval_accuracy": 0.9801980198019802,
293
+ "eval_loss": 0.07785981893539429,
294
+ "eval_runtime": 39.5393,
295
+ "eval_samples_per_second": 10.218,
296
+ "eval_steps_per_second": 2.554,
297
+ "step": 453
298
+ },
299
+ {
300
+ "epoch": 2.03,
301
+ "learning_rate": 1.7868852459016393e-05,
302
+ "loss": 0.0916,
303
+ "step": 460
304
+ },
305
+ {
306
+ "epoch": 2.07,
307
+ "learning_rate": 1.7049180327868854e-05,
308
+ "loss": 0.1534,
309
+ "step": 470
310
+ },
311
+ {
312
+ "epoch": 2.12,
313
+ "learning_rate": 1.6229508196721314e-05,
314
+ "loss": 0.07,
315
+ "step": 480
316
+ },
317
+ {
318
+ "epoch": 2.16,
319
+ "learning_rate": 1.5409836065573772e-05,
320
+ "loss": 0.0953,
321
+ "step": 490
322
+ },
323
+ {
324
+ "epoch": 2.21,
325
+ "learning_rate": 1.4590163934426229e-05,
326
+ "loss": 0.1831,
327
+ "step": 500
328
+ },
329
+ {
330
+ "epoch": 2.25,
331
+ "learning_rate": 1.377049180327869e-05,
332
+ "loss": 0.1728,
333
+ "step": 510
334
+ },
335
+ {
336
+ "epoch": 2.29,
337
+ "learning_rate": 1.2950819672131149e-05,
338
+ "loss": 0.1736,
339
+ "step": 520
340
+ },
341
+ {
342
+ "epoch": 2.34,
343
+ "learning_rate": 1.2131147540983608e-05,
344
+ "loss": 0.0832,
345
+ "step": 530
346
+ },
347
+ {
348
+ "epoch": 2.38,
349
+ "learning_rate": 1.1311475409836065e-05,
350
+ "loss": 0.2344,
351
+ "step": 540
352
+ },
353
+ {
354
+ "epoch": 2.43,
355
+ "learning_rate": 1.0491803278688525e-05,
356
+ "loss": 0.1703,
357
+ "step": 550
358
+ },
359
+ {
360
+ "epoch": 2.47,
361
+ "learning_rate": 9.672131147540984e-06,
362
+ "loss": 0.0834,
363
+ "step": 560
364
+ },
365
+ {
366
+ "epoch": 2.51,
367
+ "learning_rate": 8.852459016393443e-06,
368
+ "loss": 0.1182,
369
+ "step": 570
370
+ },
371
+ {
372
+ "epoch": 2.56,
373
+ "learning_rate": 8.032786885245902e-06,
374
+ "loss": 0.1647,
375
+ "step": 580
376
+ },
377
+ {
378
+ "epoch": 2.6,
379
+ "learning_rate": 7.213114754098361e-06,
380
+ "loss": 0.0524,
381
+ "step": 590
382
+ },
383
+ {
384
+ "epoch": 2.65,
385
+ "learning_rate": 6.393442622950819e-06,
386
+ "loss": 0.1996,
387
+ "step": 600
388
+ },
389
+ {
390
+ "epoch": 2.69,
391
+ "learning_rate": 5.573770491803279e-06,
392
+ "loss": 0.1121,
393
+ "step": 610
394
+ },
395
+ {
396
+ "epoch": 2.73,
397
+ "learning_rate": 4.754098360655738e-06,
398
+ "loss": 0.1367,
399
+ "step": 620
400
+ },
401
+ {
402
+ "epoch": 2.78,
403
+ "learning_rate": 3.934426229508197e-06,
404
+ "loss": 0.1491,
405
+ "step": 630
406
+ },
407
+ {
408
+ "epoch": 2.82,
409
+ "learning_rate": 3.114754098360656e-06,
410
+ "loss": 0.1707,
411
+ "step": 640
412
+ },
413
+ {
414
+ "epoch": 2.87,
415
+ "learning_rate": 2.295081967213115e-06,
416
+ "loss": 0.141,
417
+ "step": 650
418
+ },
419
+ {
420
+ "epoch": 2.91,
421
+ "learning_rate": 1.4754098360655739e-06,
422
+ "loss": 0.0584,
423
+ "step": 660
424
+ },
425
+ {
426
+ "epoch": 2.95,
427
+ "learning_rate": 6.557377049180328e-07,
428
+ "loss": 0.1468,
429
+ "step": 670
430
+ },
431
+ {
432
+ "epoch": 2.99,
433
+ "eval_accuracy": 0.9801980198019802,
434
+ "eval_loss": 0.07111147046089172,
435
+ "eval_runtime": 42.1047,
436
+ "eval_samples_per_second": 9.595,
437
+ "eval_steps_per_second": 2.399,
438
+ "step": 678
439
+ },
440
+ {
441
+ "epoch": 2.99,
442
+ "step": 678,
443
+ "total_flos": 2.696181882987479e+17,
444
+ "train_loss": 0.29536557975596034,
445
+ "train_runtime": 1530.5351,
446
+ "train_samples_per_second": 7.109,
447
+ "train_steps_per_second": 0.443
448
+ }
449
+ ],
450
+ "logging_steps": 10,
451
+ "max_steps": 678,
452
+ "num_train_epochs": 3,
453
+ "save_steps": 500,
454
+ "total_flos": 2.696181882987479e+17,
455
+ "trial_name": null,
456
+ "trial_params": null
457
+ }