Shk4 commited on
Commit
e40f5c9
·
verified ·
1 Parent(s): 3b6f8c2

End of training

Browse files
README.md CHANGED
@@ -23,7 +23,7 @@ model-index:
23
  metrics:
24
  - name: Accuracy
25
  type: accuracy
26
- value: 0.8764044943820225
27
  ---
28
 
29
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -33,8 +33,8 @@ should probably proofread and complete it, then remove this comment. -->
33
 
34
  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.
35
  It achieves the following results on the evaluation set:
36
- - Loss: 0.3101
37
- - Accuracy: 0.8764
38
 
39
  ## Model description
40
 
 
23
  metrics:
24
  - name: Accuracy
25
  type: accuracy
26
+ value: 0.898876404494382
27
  ---
28
 
29
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
33
 
34
  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.
35
  It achieves the following results on the evaluation set:
36
+ - Loss: 0.3768
37
+ - Accuracy: 0.8989
38
 
39
  ## Model description
40
 
all_results.json CHANGED
@@ -1,8 +1,13 @@
1
  {
2
- "epoch": 4.615384615384615,
3
- "eval_accuracy": 0.8111111111111111,
4
- "eval_loss": 0.47655045986175537,
5
- "eval_runtime": 0.5645,
6
- "eval_samples_per_second": 159.42,
7
- "eval_steps_per_second": 3.543
 
 
 
 
 
8
  }
 
1
  {
2
+ "epoch": 27.692307692307693,
3
+ "eval_accuracy": 0.898876404494382,
4
+ "eval_loss": 0.3767582178115845,
5
+ "eval_runtime": 0.5712,
6
+ "eval_samples_per_second": 155.804,
7
+ "eval_steps_per_second": 3.501,
8
+ "total_flos": 5.512834219233116e+17,
9
+ "train_loss": 0.7025861872567071,
10
+ "train_runtime": 285.963,
11
+ "train_samples_per_second": 83.927,
12
+ "train_steps_per_second": 0.315
13
  }
eval_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 4.615384615384615,
3
- "eval_accuracy": 0.8111111111111111,
4
- "eval_loss": 0.47655045986175537,
5
- "eval_runtime": 0.5645,
6
- "eval_samples_per_second": 159.42,
7
- "eval_steps_per_second": 3.543
8
  }
 
1
  {
2
+ "epoch": 27.692307692307693,
3
+ "eval_accuracy": 0.898876404494382,
4
+ "eval_loss": 0.3767582178115845,
5
+ "eval_runtime": 0.5712,
6
+ "eval_samples_per_second": 155.804,
7
+ "eval_steps_per_second": 3.501
8
  }
runs/Dec15_10-24-13_8e47523e7715/events.out.tfevents.1734258547.8e47523e7715.23.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2f21c062470977adcdb89a5a561473c9ec990d673c4f7ffa3497abbe944c8f6
3
+ size 405
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 27.692307692307693,
3
+ "total_flos": 5.512834219233116e+17,
4
+ "train_loss": 0.7025861872567071,
5
+ "train_runtime": 285.963,
6
+ "train_samples_per_second": 83.927,
7
+ "train_steps_per_second": 0.315
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,357 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.898876404494382,
3
+ "best_model_checkpoint": "swin-tiny-patch4-window7-224-finetuned-eurosat/checkpoint-52",
4
+ "epoch": 27.692307692307693,
5
+ "eval_steps": 500,
6
+ "global_step": 90,
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.9230769230769231,
13
+ "eval_accuracy": 0.24719101123595505,
14
+ "eval_loss": 1.8888534307479858,
15
+ "eval_runtime": 0.8953,
16
+ "eval_samples_per_second": 99.405,
17
+ "eval_steps_per_second": 2.234,
18
+ "step": 3
19
+ },
20
+ {
21
+ "epoch": 1.8461538461538463,
22
+ "eval_accuracy": 0.38202247191011235,
23
+ "eval_loss": 1.7625091075897217,
24
+ "eval_runtime": 0.4339,
25
+ "eval_samples_per_second": 205.122,
26
+ "eval_steps_per_second": 4.609,
27
+ "step": 6
28
+ },
29
+ {
30
+ "epoch": 2.769230769230769,
31
+ "eval_accuracy": 0.449438202247191,
32
+ "eval_loss": 1.5602569580078125,
33
+ "eval_runtime": 0.4301,
34
+ "eval_samples_per_second": 206.928,
35
+ "eval_steps_per_second": 4.65,
36
+ "step": 9
37
+ },
38
+ {
39
+ "epoch": 3.076923076923077,
40
+ "grad_norm": 24.15924644470215,
41
+ "learning_rate": 4.938271604938271e-05,
42
+ "loss": 1.7854,
43
+ "step": 10
44
+ },
45
+ {
46
+ "epoch": 4.0,
47
+ "eval_accuracy": 0.5280898876404494,
48
+ "eval_loss": 1.3004920482635498,
49
+ "eval_runtime": 0.433,
50
+ "eval_samples_per_second": 205.529,
51
+ "eval_steps_per_second": 4.619,
52
+ "step": 13
53
+ },
54
+ {
55
+ "epoch": 4.923076923076923,
56
+ "eval_accuracy": 0.6292134831460674,
57
+ "eval_loss": 1.0408316850662231,
58
+ "eval_runtime": 0.4328,
59
+ "eval_samples_per_second": 205.62,
60
+ "eval_steps_per_second": 4.621,
61
+ "step": 16
62
+ },
63
+ {
64
+ "epoch": 5.846153846153846,
65
+ "eval_accuracy": 0.6853932584269663,
66
+ "eval_loss": 0.8925455212593079,
67
+ "eval_runtime": 0.4391,
68
+ "eval_samples_per_second": 202.683,
69
+ "eval_steps_per_second": 4.555,
70
+ "step": 19
71
+ },
72
+ {
73
+ "epoch": 6.153846153846154,
74
+ "grad_norm": 42.52753448486328,
75
+ "learning_rate": 4.3209876543209875e-05,
76
+ "loss": 1.1431,
77
+ "step": 20
78
+ },
79
+ {
80
+ "epoch": 6.769230769230769,
81
+ "eval_accuracy": 0.7303370786516854,
82
+ "eval_loss": 0.761424720287323,
83
+ "eval_runtime": 0.4374,
84
+ "eval_samples_per_second": 203.488,
85
+ "eval_steps_per_second": 4.573,
86
+ "step": 22
87
+ },
88
+ {
89
+ "epoch": 8.0,
90
+ "eval_accuracy": 0.7752808988764045,
91
+ "eval_loss": 0.634343683719635,
92
+ "eval_runtime": 0.4474,
93
+ "eval_samples_per_second": 198.926,
94
+ "eval_steps_per_second": 4.47,
95
+ "step": 26
96
+ },
97
+ {
98
+ "epoch": 8.923076923076923,
99
+ "eval_accuracy": 0.797752808988764,
100
+ "eval_loss": 0.5810024738311768,
101
+ "eval_runtime": 0.4478,
102
+ "eval_samples_per_second": 198.744,
103
+ "eval_steps_per_second": 4.466,
104
+ "step": 29
105
+ },
106
+ {
107
+ "epoch": 9.23076923076923,
108
+ "grad_norm": 40.938568115234375,
109
+ "learning_rate": 3.7037037037037037e-05,
110
+ "loss": 0.7715,
111
+ "step": 30
112
+ },
113
+ {
114
+ "epoch": 9.846153846153847,
115
+ "eval_accuracy": 0.8426966292134831,
116
+ "eval_loss": 0.5550972819328308,
117
+ "eval_runtime": 0.4609,
118
+ "eval_samples_per_second": 193.105,
119
+ "eval_steps_per_second": 4.339,
120
+ "step": 32
121
+ },
122
+ {
123
+ "epoch": 10.76923076923077,
124
+ "eval_accuracy": 0.8539325842696629,
125
+ "eval_loss": 0.5209007859230042,
126
+ "eval_runtime": 0.4554,
127
+ "eval_samples_per_second": 195.413,
128
+ "eval_steps_per_second": 4.391,
129
+ "step": 35
130
+ },
131
+ {
132
+ "epoch": 12.0,
133
+ "eval_accuracy": 0.8202247191011236,
134
+ "eval_loss": 0.5689600110054016,
135
+ "eval_runtime": 0.4644,
136
+ "eval_samples_per_second": 191.632,
137
+ "eval_steps_per_second": 4.306,
138
+ "step": 39
139
+ },
140
+ {
141
+ "epoch": 12.307692307692308,
142
+ "grad_norm": 41.01618957519531,
143
+ "learning_rate": 3.08641975308642e-05,
144
+ "loss": 0.5645,
145
+ "step": 40
146
+ },
147
+ {
148
+ "epoch": 12.923076923076923,
149
+ "eval_accuracy": 0.8876404494382022,
150
+ "eval_loss": 0.4430869519710541,
151
+ "eval_runtime": 0.5046,
152
+ "eval_samples_per_second": 176.377,
153
+ "eval_steps_per_second": 3.964,
154
+ "step": 42
155
+ },
156
+ {
157
+ "epoch": 13.846153846153847,
158
+ "eval_accuracy": 0.8202247191011236,
159
+ "eval_loss": 0.4921651780605316,
160
+ "eval_runtime": 0.4657,
161
+ "eval_samples_per_second": 191.097,
162
+ "eval_steps_per_second": 4.294,
163
+ "step": 45
164
+ },
165
+ {
166
+ "epoch": 14.76923076923077,
167
+ "eval_accuracy": 0.8314606741573034,
168
+ "eval_loss": 0.4914401173591614,
169
+ "eval_runtime": 0.5376,
170
+ "eval_samples_per_second": 165.548,
171
+ "eval_steps_per_second": 3.72,
172
+ "step": 48
173
+ },
174
+ {
175
+ "epoch": 15.384615384615385,
176
+ "grad_norm": 45.103057861328125,
177
+ "learning_rate": 2.4691358024691357e-05,
178
+ "loss": 0.4999,
179
+ "step": 50
180
+ },
181
+ {
182
+ "epoch": 16.0,
183
+ "eval_accuracy": 0.898876404494382,
184
+ "eval_loss": 0.3767582178115845,
185
+ "eval_runtime": 0.4592,
186
+ "eval_samples_per_second": 193.816,
187
+ "eval_steps_per_second": 4.355,
188
+ "step": 52
189
+ },
190
+ {
191
+ "epoch": 16.923076923076923,
192
+ "eval_accuracy": 0.8539325842696629,
193
+ "eval_loss": 0.42921027541160583,
194
+ "eval_runtime": 0.4521,
195
+ "eval_samples_per_second": 196.876,
196
+ "eval_steps_per_second": 4.424,
197
+ "step": 55
198
+ },
199
+ {
200
+ "epoch": 17.846153846153847,
201
+ "eval_accuracy": 0.8651685393258427,
202
+ "eval_loss": 0.3845795691013336,
203
+ "eval_runtime": 0.4679,
204
+ "eval_samples_per_second": 190.193,
205
+ "eval_steps_per_second": 4.274,
206
+ "step": 58
207
+ },
208
+ {
209
+ "epoch": 18.46153846153846,
210
+ "grad_norm": 36.70952224731445,
211
+ "learning_rate": 1.8518518518518518e-05,
212
+ "loss": 0.4555,
213
+ "step": 60
214
+ },
215
+ {
216
+ "epoch": 18.76923076923077,
217
+ "eval_accuracy": 0.8876404494382022,
218
+ "eval_loss": 0.3498174548149109,
219
+ "eval_runtime": 0.488,
220
+ "eval_samples_per_second": 182.38,
221
+ "eval_steps_per_second": 4.098,
222
+ "step": 61
223
+ },
224
+ {
225
+ "epoch": 20.0,
226
+ "eval_accuracy": 0.8651685393258427,
227
+ "eval_loss": 0.3523467183113098,
228
+ "eval_runtime": 0.4442,
229
+ "eval_samples_per_second": 200.357,
230
+ "eval_steps_per_second": 4.502,
231
+ "step": 65
232
+ },
233
+ {
234
+ "epoch": 20.923076923076923,
235
+ "eval_accuracy": 0.8876404494382022,
236
+ "eval_loss": 0.3540913164615631,
237
+ "eval_runtime": 0.4584,
238
+ "eval_samples_per_second": 194.157,
239
+ "eval_steps_per_second": 4.363,
240
+ "step": 68
241
+ },
242
+ {
243
+ "epoch": 21.53846153846154,
244
+ "grad_norm": 48.17884063720703,
245
+ "learning_rate": 1.2345679012345678e-05,
246
+ "loss": 0.3941,
247
+ "step": 70
248
+ },
249
+ {
250
+ "epoch": 21.846153846153847,
251
+ "eval_accuracy": 0.898876404494382,
252
+ "eval_loss": 0.32396575808525085,
253
+ "eval_runtime": 0.4491,
254
+ "eval_samples_per_second": 198.193,
255
+ "eval_steps_per_second": 4.454,
256
+ "step": 71
257
+ },
258
+ {
259
+ "epoch": 22.76923076923077,
260
+ "eval_accuracy": 0.898876404494382,
261
+ "eval_loss": 0.31694793701171875,
262
+ "eval_runtime": 0.4762,
263
+ "eval_samples_per_second": 186.89,
264
+ "eval_steps_per_second": 4.2,
265
+ "step": 74
266
+ },
267
+ {
268
+ "epoch": 24.0,
269
+ "eval_accuracy": 0.8764044943820225,
270
+ "eval_loss": 0.3317168951034546,
271
+ "eval_runtime": 0.4808,
272
+ "eval_samples_per_second": 185.122,
273
+ "eval_steps_per_second": 4.16,
274
+ "step": 78
275
+ },
276
+ {
277
+ "epoch": 24.615384615384617,
278
+ "grad_norm": 53.90333938598633,
279
+ "learning_rate": 6.172839506172839e-06,
280
+ "loss": 0.361,
281
+ "step": 80
282
+ },
283
+ {
284
+ "epoch": 24.923076923076923,
285
+ "eval_accuracy": 0.8876404494382022,
286
+ "eval_loss": 0.32509633898735046,
287
+ "eval_runtime": 0.4625,
288
+ "eval_samples_per_second": 192.419,
289
+ "eval_steps_per_second": 4.324,
290
+ "step": 81
291
+ },
292
+ {
293
+ "epoch": 25.846153846153847,
294
+ "eval_accuracy": 0.8764044943820225,
295
+ "eval_loss": 0.3197612166404724,
296
+ "eval_runtime": 0.4547,
297
+ "eval_samples_per_second": 195.751,
298
+ "eval_steps_per_second": 4.399,
299
+ "step": 84
300
+ },
301
+ {
302
+ "epoch": 26.76923076923077,
303
+ "eval_accuracy": 0.8764044943820225,
304
+ "eval_loss": 0.3116617500782013,
305
+ "eval_runtime": 0.4618,
306
+ "eval_samples_per_second": 192.737,
307
+ "eval_steps_per_second": 4.331,
308
+ "step": 87
309
+ },
310
+ {
311
+ "epoch": 27.692307692307693,
312
+ "grad_norm": 35.301124572753906,
313
+ "learning_rate": 0.0,
314
+ "loss": 0.3485,
315
+ "step": 90
316
+ },
317
+ {
318
+ "epoch": 27.692307692307693,
319
+ "eval_accuracy": 0.8764044943820225,
320
+ "eval_loss": 0.3100605309009552,
321
+ "eval_runtime": 0.4918,
322
+ "eval_samples_per_second": 180.964,
323
+ "eval_steps_per_second": 4.067,
324
+ "step": 90
325
+ },
326
+ {
327
+ "epoch": 27.692307692307693,
328
+ "step": 90,
329
+ "total_flos": 5.512834219233116e+17,
330
+ "train_loss": 0.7025861872567071,
331
+ "train_runtime": 285.963,
332
+ "train_samples_per_second": 83.927,
333
+ "train_steps_per_second": 0.315
334
+ }
335
+ ],
336
+ "logging_steps": 10,
337
+ "max_steps": 90,
338
+ "num_input_tokens_seen": 0,
339
+ "num_train_epochs": 30,
340
+ "save_steps": 500,
341
+ "stateful_callbacks": {
342
+ "TrainerControl": {
343
+ "args": {
344
+ "should_epoch_stop": false,
345
+ "should_evaluate": false,
346
+ "should_log": false,
347
+ "should_save": true,
348
+ "should_training_stop": true
349
+ },
350
+ "attributes": {}
351
+ }
352
+ },
353
+ "total_flos": 5.512834219233116e+17,
354
+ "train_batch_size": 64,
355
+ "trial_name": null,
356
+ "trial_params": null
357
+ }