vintage-lavender619
commited on
Commit
•
ac6468f
1
Parent(s):
697218e
End of training
Browse files- README.md +1 -1
- all_results.json +13 -0
- eval_results.json +8 -0
- runs/Jun07_11-44-27_deb7c8f53bdf/events.out.tfevents.1717760964.deb7c8f53bdf.1038.1 +3 -0
- train_results.json +8 -0
- trainer_state.json +293 -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.
|
36 |
- Accuracy: 0.9366
|
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.1890
|
36 |
- Accuracy: 0.9366
|
37 |
|
38 |
## Model description
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 9.68421052631579,
|
3 |
+
"eval_accuracy": 0.9365918097754293,
|
4 |
+
"eval_loss": 0.18896903097629547,
|
5 |
+
"eval_runtime": 4.222,
|
6 |
+
"eval_samples_per_second": 179.298,
|
7 |
+
"eval_steps_per_second": 5.684,
|
8 |
+
"total_flos": 7.494072602457047e+17,
|
9 |
+
"train_loss": 0.7879104811212291,
|
10 |
+
"train_runtime": 284.9792,
|
11 |
+
"train_samples_per_second": 106.253,
|
12 |
+
"train_steps_per_second": 0.807
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 9.68421052631579,
|
3 |
+
"eval_accuracy": 0.9365918097754293,
|
4 |
+
"eval_loss": 0.18896903097629547,
|
5 |
+
"eval_runtime": 4.222,
|
6 |
+
"eval_samples_per_second": 179.298,
|
7 |
+
"eval_steps_per_second": 5.684
|
8 |
+
}
|
runs/Jun07_11-44-27_deb7c8f53bdf/events.out.tfevents.1717760964.deb7c8f53bdf.1038.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4fddf0992b85a13ffc1b3f8f2d0721ddd32274349000f124c04ec0f28d4295f1
|
3 |
+
size 411
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 9.68421052631579,
|
3 |
+
"total_flos": 7.494072602457047e+17,
|
4 |
+
"train_loss": 0.7879104811212291,
|
5 |
+
"train_runtime": 284.9792,
|
6 |
+
"train_samples_per_second": 106.253,
|
7 |
+
"train_steps_per_second": 0.807
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,293 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.9365918097754293,
|
3 |
+
"best_model_checkpoint": "swin-tiny-patch4-window7-224-finetuned-landscape/checkpoint-213",
|
4 |
+
"epoch": 9.68421052631579,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 230,
|
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.42105263157894735,
|
13 |
+
"grad_norm": 70.45781707763672,
|
14 |
+
"learning_rate": 2.173913043478261e-05,
|
15 |
+
"loss": 7.8634,
|
16 |
+
"step": 10
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.8421052631578947,
|
20 |
+
"grad_norm": 27.836477279663086,
|
21 |
+
"learning_rate": 4.347826086956522e-05,
|
22 |
+
"loss": 3.6193,
|
23 |
+
"step": 20
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.968421052631579,
|
27 |
+
"eval_accuracy": 0.6618229854689565,
|
28 |
+
"eval_loss": 1.0203161239624023,
|
29 |
+
"eval_runtime": 3.846,
|
30 |
+
"eval_samples_per_second": 196.827,
|
31 |
+
"eval_steps_per_second": 6.24,
|
32 |
+
"step": 23
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 1.263157894736842,
|
36 |
+
"grad_norm": 14.402323722839355,
|
37 |
+
"learning_rate": 4.830917874396135e-05,
|
38 |
+
"loss": 1.2754,
|
39 |
+
"step": 30
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 1.6842105263157894,
|
43 |
+
"grad_norm": 17.051239013671875,
|
44 |
+
"learning_rate": 4.589371980676328e-05,
|
45 |
+
"loss": 0.5876,
|
46 |
+
"step": 40
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"epoch": 1.9789473684210526,
|
50 |
+
"eval_accuracy": 0.8903566710700133,
|
51 |
+
"eval_loss": 0.3358216881752014,
|
52 |
+
"eval_runtime": 3.7597,
|
53 |
+
"eval_samples_per_second": 201.344,
|
54 |
+
"eval_steps_per_second": 6.383,
|
55 |
+
"step": 47
|
56 |
+
},
|
57 |
+
{
|
58 |
+
"epoch": 2.1052631578947367,
|
59 |
+
"grad_norm": 12.79457950592041,
|
60 |
+
"learning_rate": 4.347826086956522e-05,
|
61 |
+
"loss": 0.3806,
|
62 |
+
"step": 50
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 2.526315789473684,
|
66 |
+
"grad_norm": 7.795621395111084,
|
67 |
+
"learning_rate": 4.106280193236715e-05,
|
68 |
+
"loss": 0.3839,
|
69 |
+
"step": 60
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 2.9473684210526314,
|
73 |
+
"grad_norm": 8.323637008666992,
|
74 |
+
"learning_rate": 3.864734299516908e-05,
|
75 |
+
"loss": 0.3585,
|
76 |
+
"step": 70
|
77 |
+
},
|
78 |
+
{
|
79 |
+
"epoch": 2.9894736842105263,
|
80 |
+
"eval_accuracy": 0.9207397622192867,
|
81 |
+
"eval_loss": 0.2493603378534317,
|
82 |
+
"eval_runtime": 3.5421,
|
83 |
+
"eval_samples_per_second": 213.718,
|
84 |
+
"eval_steps_per_second": 6.776,
|
85 |
+
"step": 71
|
86 |
+
},
|
87 |
+
{
|
88 |
+
"epoch": 3.3684210526315788,
|
89 |
+
"grad_norm": 5.737844944000244,
|
90 |
+
"learning_rate": 3.6231884057971014e-05,
|
91 |
+
"loss": 0.2795,
|
92 |
+
"step": 80
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 3.7894736842105265,
|
96 |
+
"grad_norm": 5.775590896606445,
|
97 |
+
"learning_rate": 3.381642512077295e-05,
|
98 |
+
"loss": 0.2906,
|
99 |
+
"step": 90
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 4.0,
|
103 |
+
"eval_accuracy": 0.9207397622192867,
|
104 |
+
"eval_loss": 0.23325380682945251,
|
105 |
+
"eval_runtime": 4.0394,
|
106 |
+
"eval_samples_per_second": 187.403,
|
107 |
+
"eval_steps_per_second": 5.941,
|
108 |
+
"step": 95
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"epoch": 4.2105263157894735,
|
112 |
+
"grad_norm": 7.07818603515625,
|
113 |
+
"learning_rate": 3.140096618357488e-05,
|
114 |
+
"loss": 0.3048,
|
115 |
+
"step": 100
|
116 |
+
},
|
117 |
+
{
|
118 |
+
"epoch": 4.631578947368421,
|
119 |
+
"grad_norm": 7.080397605895996,
|
120 |
+
"learning_rate": 2.8985507246376814e-05,
|
121 |
+
"loss": 0.2591,
|
122 |
+
"step": 110
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 4.968421052631579,
|
126 |
+
"eval_accuracy": 0.9313077939233818,
|
127 |
+
"eval_loss": 0.2077917903661728,
|
128 |
+
"eval_runtime": 3.7706,
|
129 |
+
"eval_samples_per_second": 200.761,
|
130 |
+
"eval_steps_per_second": 6.365,
|
131 |
+
"step": 118
|
132 |
+
},
|
133 |
+
{
|
134 |
+
"epoch": 5.052631578947368,
|
135 |
+
"grad_norm": 5.3396124839782715,
|
136 |
+
"learning_rate": 2.6570048309178748e-05,
|
137 |
+
"loss": 0.2752,
|
138 |
+
"step": 120
|
139 |
+
},
|
140 |
+
{
|
141 |
+
"epoch": 5.473684210526316,
|
142 |
+
"grad_norm": 5.555719375610352,
|
143 |
+
"learning_rate": 2.4154589371980676e-05,
|
144 |
+
"loss": 0.2328,
|
145 |
+
"step": 130
|
146 |
+
},
|
147 |
+
{
|
148 |
+
"epoch": 5.894736842105263,
|
149 |
+
"grad_norm": 5.745518684387207,
|
150 |
+
"learning_rate": 2.173913043478261e-05,
|
151 |
+
"loss": 0.2458,
|
152 |
+
"step": 140
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"epoch": 5.978947368421053,
|
156 |
+
"eval_accuracy": 0.9233817701453104,
|
157 |
+
"eval_loss": 0.22294138371944427,
|
158 |
+
"eval_runtime": 3.6849,
|
159 |
+
"eval_samples_per_second": 205.433,
|
160 |
+
"eval_steps_per_second": 6.513,
|
161 |
+
"step": 142
|
162 |
+
},
|
163 |
+
{
|
164 |
+
"epoch": 6.315789473684211,
|
165 |
+
"grad_norm": 6.548435688018799,
|
166 |
+
"learning_rate": 1.932367149758454e-05,
|
167 |
+
"loss": 0.2252,
|
168 |
+
"step": 150
|
169 |
+
},
|
170 |
+
{
|
171 |
+
"epoch": 6.7368421052631575,
|
172 |
+
"grad_norm": 6.568725109100342,
|
173 |
+
"learning_rate": 1.6908212560386476e-05,
|
174 |
+
"loss": 0.1936,
|
175 |
+
"step": 160
|
176 |
+
},
|
177 |
+
{
|
178 |
+
"epoch": 6.989473684210527,
|
179 |
+
"eval_accuracy": 0.9220607661822986,
|
180 |
+
"eval_loss": 0.20947237312793732,
|
181 |
+
"eval_runtime": 3.5585,
|
182 |
+
"eval_samples_per_second": 212.729,
|
183 |
+
"eval_steps_per_second": 6.744,
|
184 |
+
"step": 166
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 7.157894736842105,
|
188 |
+
"grad_norm": 5.143336772918701,
|
189 |
+
"learning_rate": 1.4492753623188407e-05,
|
190 |
+
"loss": 0.2081,
|
191 |
+
"step": 170
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 7.578947368421053,
|
195 |
+
"grad_norm": 7.358247756958008,
|
196 |
+
"learning_rate": 1.2077294685990338e-05,
|
197 |
+
"loss": 0.2262,
|
198 |
+
"step": 180
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 8.0,
|
202 |
+
"grad_norm": 5.925826549530029,
|
203 |
+
"learning_rate": 9.66183574879227e-06,
|
204 |
+
"loss": 0.1765,
|
205 |
+
"step": 190
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 8.0,
|
209 |
+
"eval_accuracy": 0.9247027741083224,
|
210 |
+
"eval_loss": 0.19408579170703888,
|
211 |
+
"eval_runtime": 3.8932,
|
212 |
+
"eval_samples_per_second": 194.44,
|
213 |
+
"eval_steps_per_second": 6.165,
|
214 |
+
"step": 190
|
215 |
+
},
|
216 |
+
{
|
217 |
+
"epoch": 8.421052631578947,
|
218 |
+
"grad_norm": 4.0063252449035645,
|
219 |
+
"learning_rate": 7.246376811594203e-06,
|
220 |
+
"loss": 0.1819,
|
221 |
+
"step": 200
|
222 |
+
},
|
223 |
+
{
|
224 |
+
"epoch": 8.842105263157894,
|
225 |
+
"grad_norm": 4.924877166748047,
|
226 |
+
"learning_rate": 4.830917874396135e-06,
|
227 |
+
"loss": 0.1915,
|
228 |
+
"step": 210
|
229 |
+
},
|
230 |
+
{
|
231 |
+
"epoch": 8.968421052631578,
|
232 |
+
"eval_accuracy": 0.9365918097754293,
|
233 |
+
"eval_loss": 0.18896903097629547,
|
234 |
+
"eval_runtime": 4.0115,
|
235 |
+
"eval_samples_per_second": 188.708,
|
236 |
+
"eval_steps_per_second": 5.983,
|
237 |
+
"step": 213
|
238 |
+
},
|
239 |
+
{
|
240 |
+
"epoch": 9.263157894736842,
|
241 |
+
"grad_norm": 5.235773086547852,
|
242 |
+
"learning_rate": 2.4154589371980677e-06,
|
243 |
+
"loss": 0.1798,
|
244 |
+
"step": 220
|
245 |
+
},
|
246 |
+
{
|
247 |
+
"epoch": 9.68421052631579,
|
248 |
+
"grad_norm": 4.68380880355835,
|
249 |
+
"learning_rate": 0.0,
|
250 |
+
"loss": 0.1824,
|
251 |
+
"step": 230
|
252 |
+
},
|
253 |
+
{
|
254 |
+
"epoch": 9.68421052631579,
|
255 |
+
"eval_accuracy": 0.9365918097754293,
|
256 |
+
"eval_loss": 0.18814285099506378,
|
257 |
+
"eval_runtime": 3.7835,
|
258 |
+
"eval_samples_per_second": 200.08,
|
259 |
+
"eval_steps_per_second": 6.343,
|
260 |
+
"step": 230
|
261 |
+
},
|
262 |
+
{
|
263 |
+
"epoch": 9.68421052631579,
|
264 |
+
"step": 230,
|
265 |
+
"total_flos": 7.494072602457047e+17,
|
266 |
+
"train_loss": 0.7879104811212291,
|
267 |
+
"train_runtime": 284.9792,
|
268 |
+
"train_samples_per_second": 106.253,
|
269 |
+
"train_steps_per_second": 0.807
|
270 |
+
}
|
271 |
+
],
|
272 |
+
"logging_steps": 10,
|
273 |
+
"max_steps": 230,
|
274 |
+
"num_input_tokens_seen": 0,
|
275 |
+
"num_train_epochs": 10,
|
276 |
+
"save_steps": 500,
|
277 |
+
"stateful_callbacks": {
|
278 |
+
"TrainerControl": {
|
279 |
+
"args": {
|
280 |
+
"should_epoch_stop": false,
|
281 |
+
"should_evaluate": false,
|
282 |
+
"should_log": false,
|
283 |
+
"should_save": true,
|
284 |
+
"should_training_stop": true
|
285 |
+
},
|
286 |
+
"attributes": {}
|
287 |
+
}
|
288 |
+
},
|
289 |
+
"total_flos": 7.494072602457047e+17,
|
290 |
+
"train_batch_size": 32,
|
291 |
+
"trial_name": null,
|
292 |
+
"trial_params": null
|
293 |
+
}
|