DouglasBraga commited on
Commit
e922588
1 Parent(s): a27351a

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.885
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.3423
36
- - Accuracy: 0.885
37
 
38
  ## Model description
39
 
 
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
+ value: 0.945
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.2078
36
+ - Accuracy: 0.945
37
 
38
  ## Model description
39
 
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 9.824561403508772,
3
+ "eval_accuracy": 0.945,
4
+ "eval_loss": 0.20781494677066803,
5
+ "eval_runtime": 59.5914,
6
+ "eval_samples_per_second": 3.356,
7
+ "eval_steps_per_second": 0.117,
8
+ "total_flos": 4.400504290055946e+17,
9
+ "train_loss": 0.2603792348078319,
10
+ "train_runtime": 15640.9233,
11
+ "train_samples_per_second": 1.151,
12
+ "train_steps_per_second": 0.009
13
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 9.824561403508772,
3
+ "eval_accuracy": 0.945,
4
+ "eval_loss": 0.20781494677066803,
5
+ "eval_runtime": 59.5914,
6
+ "eval_samples_per_second": 3.356,
7
+ "eval_steps_per_second": 0.117
8
+ }
runs/Apr23_10-10-14_42ece461816d/events.out.tfevents.1713882724.42ece461816d.20321.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fbb84e500312f782a03653c7272057e3171510c7c1d6c4ee0f734a4c46eed6f
3
+ size 411
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 9.824561403508772,
3
+ "total_flos": 4.400504290055946e+17,
4
+ "train_loss": 0.2603792348078319,
5
+ "train_runtime": 15640.9233,
6
+ "train_samples_per_second": 1.151,
7
+ "train_steps_per_second": 0.009
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.945,
3
+ "best_model_checkpoint": "swin-tiny-patch4-window7-224-finetuned-eurosat-leukemia-1000/checkpoint-114",
4
+ "epoch": 9.824561403508772,
5
+ "eval_steps": 500,
6
+ "global_step": 140,
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.7017543859649122,
13
+ "grad_norm": 3.293278217315674,
14
+ "learning_rate": 3.571428571428572e-05,
15
+ "loss": 0.6899,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.9824561403508771,
20
+ "eval_accuracy": 0.6,
21
+ "eval_loss": 0.6197624206542969,
22
+ "eval_runtime": 59.5649,
23
+ "eval_samples_per_second": 3.358,
24
+ "eval_steps_per_second": 0.118,
25
+ "step": 14
26
+ },
27
+ {
28
+ "epoch": 1.4035087719298245,
29
+ "grad_norm": 15.828011512756348,
30
+ "learning_rate": 4.761904761904762e-05,
31
+ "loss": 0.5494,
32
+ "step": 20
33
+ },
34
+ {
35
+ "epoch": 1.9649122807017543,
36
+ "eval_accuracy": 0.805,
37
+ "eval_loss": 0.40077194571495056,
38
+ "eval_runtime": 63.3088,
39
+ "eval_samples_per_second": 3.159,
40
+ "eval_steps_per_second": 0.111,
41
+ "step": 28
42
+ },
43
+ {
44
+ "epoch": 2.1052631578947367,
45
+ "grad_norm": 17.80167579650879,
46
+ "learning_rate": 4.3650793650793655e-05,
47
+ "loss": 0.4802,
48
+ "step": 30
49
+ },
50
+ {
51
+ "epoch": 2.807017543859649,
52
+ "grad_norm": 10.38412857055664,
53
+ "learning_rate": 3.968253968253968e-05,
54
+ "loss": 0.376,
55
+ "step": 40
56
+ },
57
+ {
58
+ "epoch": 2.9473684210526314,
59
+ "eval_accuracy": 0.815,
60
+ "eval_loss": 0.40858185291290283,
61
+ "eval_runtime": 61.4384,
62
+ "eval_samples_per_second": 3.255,
63
+ "eval_steps_per_second": 0.114,
64
+ "step": 42
65
+ },
66
+ {
67
+ "epoch": 3.5087719298245617,
68
+ "grad_norm": 13.256275177001953,
69
+ "learning_rate": 3.571428571428572e-05,
70
+ "loss": 0.2852,
71
+ "step": 50
72
+ },
73
+ {
74
+ "epoch": 4.0,
75
+ "eval_accuracy": 0.81,
76
+ "eval_loss": 0.44540536403656006,
77
+ "eval_runtime": 59.681,
78
+ "eval_samples_per_second": 3.351,
79
+ "eval_steps_per_second": 0.117,
80
+ "step": 57
81
+ },
82
+ {
83
+ "epoch": 4.2105263157894735,
84
+ "grad_norm": 14.636404991149902,
85
+ "learning_rate": 3.1746031746031745e-05,
86
+ "loss": 0.2214,
87
+ "step": 60
88
+ },
89
+ {
90
+ "epoch": 4.912280701754386,
91
+ "grad_norm": 15.16395378112793,
92
+ "learning_rate": 2.777777777777778e-05,
93
+ "loss": 0.184,
94
+ "step": 70
95
+ },
96
+ {
97
+ "epoch": 4.982456140350877,
98
+ "eval_accuracy": 0.715,
99
+ "eval_loss": 0.8480778336524963,
100
+ "eval_runtime": 60.6095,
101
+ "eval_samples_per_second": 3.3,
102
+ "eval_steps_per_second": 0.115,
103
+ "step": 71
104
+ },
105
+ {
106
+ "epoch": 5.614035087719298,
107
+ "grad_norm": 20.521684646606445,
108
+ "learning_rate": 2.380952380952381e-05,
109
+ "loss": 0.183,
110
+ "step": 80
111
+ },
112
+ {
113
+ "epoch": 5.964912280701754,
114
+ "eval_accuracy": 0.94,
115
+ "eval_loss": 0.18698543310165405,
116
+ "eval_runtime": 62.558,
117
+ "eval_samples_per_second": 3.197,
118
+ "eval_steps_per_second": 0.112,
119
+ "step": 85
120
+ },
121
+ {
122
+ "epoch": 6.315789473684211,
123
+ "grad_norm": 22.951629638671875,
124
+ "learning_rate": 1.984126984126984e-05,
125
+ "loss": 0.1465,
126
+ "step": 90
127
+ },
128
+ {
129
+ "epoch": 6.947368421052632,
130
+ "eval_accuracy": 0.8,
131
+ "eval_loss": 0.7121139764785767,
132
+ "eval_runtime": 63.8208,
133
+ "eval_samples_per_second": 3.134,
134
+ "eval_steps_per_second": 0.11,
135
+ "step": 99
136
+ },
137
+ {
138
+ "epoch": 7.017543859649122,
139
+ "grad_norm": 23.46278190612793,
140
+ "learning_rate": 1.5873015873015872e-05,
141
+ "loss": 0.111,
142
+ "step": 100
143
+ },
144
+ {
145
+ "epoch": 7.719298245614035,
146
+ "grad_norm": 20.50105857849121,
147
+ "learning_rate": 1.1904761904761905e-05,
148
+ "loss": 0.1319,
149
+ "step": 110
150
+ },
151
+ {
152
+ "epoch": 8.0,
153
+ "eval_accuracy": 0.945,
154
+ "eval_loss": 0.20781494677066803,
155
+ "eval_runtime": 59.8995,
156
+ "eval_samples_per_second": 3.339,
157
+ "eval_steps_per_second": 0.117,
158
+ "step": 114
159
+ },
160
+ {
161
+ "epoch": 8.421052631578947,
162
+ "grad_norm": 14.028729438781738,
163
+ "learning_rate": 7.936507936507936e-06,
164
+ "loss": 0.1054,
165
+ "step": 120
166
+ },
167
+ {
168
+ "epoch": 8.982456140350877,
169
+ "eval_accuracy": 0.885,
170
+ "eval_loss": 0.3320530354976654,
171
+ "eval_runtime": 60.1547,
172
+ "eval_samples_per_second": 3.325,
173
+ "eval_steps_per_second": 0.116,
174
+ "step": 128
175
+ },
176
+ {
177
+ "epoch": 9.12280701754386,
178
+ "grad_norm": 8.052062034606934,
179
+ "learning_rate": 3.968253968253968e-06,
180
+ "loss": 0.0852,
181
+ "step": 130
182
+ },
183
+ {
184
+ "epoch": 9.824561403508772,
185
+ "grad_norm": 9.103638648986816,
186
+ "learning_rate": 0.0,
187
+ "loss": 0.096,
188
+ "step": 140
189
+ },
190
+ {
191
+ "epoch": 9.824561403508772,
192
+ "eval_accuracy": 0.885,
193
+ "eval_loss": 0.3423093855381012,
194
+ "eval_runtime": 61.212,
195
+ "eval_samples_per_second": 3.267,
196
+ "eval_steps_per_second": 0.114,
197
+ "step": 140
198
+ },
199
+ {
200
+ "epoch": 9.824561403508772,
201
+ "step": 140,
202
+ "total_flos": 4.400504290055946e+17,
203
+ "train_loss": 0.2603792348078319,
204
+ "train_runtime": 15640.9233,
205
+ "train_samples_per_second": 1.151,
206
+ "train_steps_per_second": 0.009
207
+ }
208
+ ],
209
+ "logging_steps": 10,
210
+ "max_steps": 140,
211
+ "num_input_tokens_seen": 0,
212
+ "num_train_epochs": 10,
213
+ "save_steps": 500,
214
+ "total_flos": 4.400504290055946e+17,
215
+ "train_batch_size": 32,
216
+ "trial_name": null,
217
+ "trial_params": null
218
+ }