Jayanth2002 commited on
Commit
9b36842
1 Parent(s): 701b468

End of training

Browse files
Files changed (5) hide show
  1. README.md +3 -3
  2. all_results.json +13 -0
  3. eval_results.json +8 -0
  4. train_results.json +8 -0
  5. trainer_state.json +322 -0
README.md CHANGED
@@ -22,7 +22,7 @@ model-index:
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
- value: 0.8737270875763747
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-base-patch4-window7-224](https://huggingface.co/microsoft/swin-base-patch4-window7-224) on the image_folder dataset.
34
  It achieves the following results on the evaluation set:
35
- - Loss: 0.3801
36
- - Accuracy: 0.8737
37
 
38
  ## Model description
39
 
 
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
+ value: 0.8818737270875764
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-base-patch4-window7-224](https://huggingface.co/microsoft/swin-base-patch4-window7-224) on the image_folder dataset.
34
  It achieves the following results on the evaluation set:
35
+ - Loss: 0.3867
36
+ - Accuracy: 0.8819
37
 
38
  ## Model description
39
 
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 9.78,
3
+ "eval_accuracy": 0.8818737270875764,
4
+ "eval_loss": 0.3866692781448364,
5
+ "eval_runtime": 12.9329,
6
+ "eval_samples_per_second": 37.965,
7
+ "eval_steps_per_second": 1.237,
8
+ "total_flos": 3.3903117509586555e+18,
9
+ "train_loss": 0.8251947872778949,
10
+ "train_runtime": 2327.3974,
11
+ "train_samples_per_second": 18.987,
12
+ "train_steps_per_second": 0.146
13
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 9.78,
3
+ "eval_accuracy": 0.8818737270875764,
4
+ "eval_loss": 0.3866692781448364,
5
+ "eval_runtime": 12.9329,
6
+ "eval_samples_per_second": 37.965,
7
+ "eval_steps_per_second": 1.237
8
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 9.78,
3
+ "total_flos": 3.3903117509586555e+18,
4
+ "train_loss": 0.8251947872778949,
5
+ "train_runtime": 2327.3974,
6
+ "train_samples_per_second": 18.987,
7
+ "train_steps_per_second": 0.146
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,322 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.8818737270875764,
3
+ "best_model_checkpoint": "swin-base-patch4-window7-224-rawdata-finetuned-SkinDisease/checkpoint-312",
4
+ "epoch": 9.784172661870503,
5
+ "eval_steps": 500,
6
+ "global_step": 340,
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.29,
13
+ "learning_rate": 1.4705882352941177e-05,
14
+ "loss": 3.4756,
15
+ "step": 10
16
+ },
17
+ {
18
+ "epoch": 0.58,
19
+ "learning_rate": 2.9411764705882354e-05,
20
+ "loss": 3.155,
21
+ "step": 20
22
+ },
23
+ {
24
+ "epoch": 0.86,
25
+ "learning_rate": 4.411764705882353e-05,
26
+ "loss": 2.7301,
27
+ "step": 30
28
+ },
29
+ {
30
+ "epoch": 0.98,
31
+ "eval_accuracy": 0.3910386965376782,
32
+ "eval_loss": 2.06650972366333,
33
+ "eval_runtime": 12.7411,
34
+ "eval_samples_per_second": 38.537,
35
+ "eval_steps_per_second": 1.256,
36
+ "step": 34
37
+ },
38
+ {
39
+ "epoch": 1.15,
40
+ "learning_rate": 4.901960784313725e-05,
41
+ "loss": 2.0677,
42
+ "step": 40
43
+ },
44
+ {
45
+ "epoch": 1.44,
46
+ "learning_rate": 4.738562091503268e-05,
47
+ "loss": 1.5173,
48
+ "step": 50
49
+ },
50
+ {
51
+ "epoch": 1.73,
52
+ "learning_rate": 4.5751633986928104e-05,
53
+ "loss": 1.3672,
54
+ "step": 60
55
+ },
56
+ {
57
+ "epoch": 1.99,
58
+ "eval_accuracy": 0.6659877800407332,
59
+ "eval_loss": 1.0139312744140625,
60
+ "eval_runtime": 12.9257,
61
+ "eval_samples_per_second": 37.986,
62
+ "eval_steps_per_second": 1.238,
63
+ "step": 69
64
+ },
65
+ {
66
+ "epoch": 2.01,
67
+ "learning_rate": 4.411764705882353e-05,
68
+ "loss": 1.1572,
69
+ "step": 70
70
+ },
71
+ {
72
+ "epoch": 2.3,
73
+ "learning_rate": 4.2483660130718954e-05,
74
+ "loss": 1.0105,
75
+ "step": 80
76
+ },
77
+ {
78
+ "epoch": 2.59,
79
+ "learning_rate": 4.084967320261438e-05,
80
+ "loss": 0.8916,
81
+ "step": 90
82
+ },
83
+ {
84
+ "epoch": 2.88,
85
+ "learning_rate": 3.9215686274509805e-05,
86
+ "loss": 0.7673,
87
+ "step": 100
88
+ },
89
+ {
90
+ "epoch": 2.99,
91
+ "eval_accuracy": 0.7759674134419552,
92
+ "eval_loss": 0.7393080592155457,
93
+ "eval_runtime": 13.412,
94
+ "eval_samples_per_second": 36.609,
95
+ "eval_steps_per_second": 1.193,
96
+ "step": 104
97
+ },
98
+ {
99
+ "epoch": 3.17,
100
+ "learning_rate": 3.758169934640523e-05,
101
+ "loss": 0.7056,
102
+ "step": 110
103
+ },
104
+ {
105
+ "epoch": 3.45,
106
+ "learning_rate": 3.5947712418300656e-05,
107
+ "loss": 0.71,
108
+ "step": 120
109
+ },
110
+ {
111
+ "epoch": 3.74,
112
+ "learning_rate": 3.431372549019608e-05,
113
+ "loss": 0.605,
114
+ "step": 130
115
+ },
116
+ {
117
+ "epoch": 4.0,
118
+ "eval_accuracy": 0.7841140529531568,
119
+ "eval_loss": 0.6479684710502625,
120
+ "eval_runtime": 11.9648,
121
+ "eval_samples_per_second": 41.037,
122
+ "eval_steps_per_second": 1.337,
123
+ "step": 139
124
+ },
125
+ {
126
+ "epoch": 4.03,
127
+ "learning_rate": 3.2679738562091506e-05,
128
+ "loss": 0.5906,
129
+ "step": 140
130
+ },
131
+ {
132
+ "epoch": 4.32,
133
+ "learning_rate": 3.104575163398693e-05,
134
+ "loss": 0.5106,
135
+ "step": 150
136
+ },
137
+ {
138
+ "epoch": 4.6,
139
+ "learning_rate": 2.9411764705882354e-05,
140
+ "loss": 0.4869,
141
+ "step": 160
142
+ },
143
+ {
144
+ "epoch": 4.89,
145
+ "learning_rate": 2.777777777777778e-05,
146
+ "loss": 0.5142,
147
+ "step": 170
148
+ },
149
+ {
150
+ "epoch": 4.98,
151
+ "eval_accuracy": 0.824847250509165,
152
+ "eval_loss": 0.5228626132011414,
153
+ "eval_runtime": 11.7934,
154
+ "eval_samples_per_second": 41.634,
155
+ "eval_steps_per_second": 1.357,
156
+ "step": 173
157
+ },
158
+ {
159
+ "epoch": 5.18,
160
+ "learning_rate": 2.6143790849673204e-05,
161
+ "loss": 0.4987,
162
+ "step": 180
163
+ },
164
+ {
165
+ "epoch": 5.47,
166
+ "learning_rate": 2.4509803921568626e-05,
167
+ "loss": 0.3847,
168
+ "step": 190
169
+ },
170
+ {
171
+ "epoch": 5.76,
172
+ "learning_rate": 2.2875816993464052e-05,
173
+ "loss": 0.4081,
174
+ "step": 200
175
+ },
176
+ {
177
+ "epoch": 5.99,
178
+ "eval_accuracy": 0.8615071283095723,
179
+ "eval_loss": 0.4560604393482208,
180
+ "eval_runtime": 12.548,
181
+ "eval_samples_per_second": 39.13,
182
+ "eval_steps_per_second": 1.275,
183
+ "step": 208
184
+ },
185
+ {
186
+ "epoch": 6.04,
187
+ "learning_rate": 2.1241830065359477e-05,
188
+ "loss": 0.4134,
189
+ "step": 210
190
+ },
191
+ {
192
+ "epoch": 6.33,
193
+ "learning_rate": 1.9607843137254903e-05,
194
+ "loss": 0.3651,
195
+ "step": 220
196
+ },
197
+ {
198
+ "epoch": 6.62,
199
+ "learning_rate": 1.7973856209150328e-05,
200
+ "loss": 0.353,
201
+ "step": 230
202
+ },
203
+ {
204
+ "epoch": 6.91,
205
+ "learning_rate": 1.6339869281045753e-05,
206
+ "loss": 0.3966,
207
+ "step": 240
208
+ },
209
+ {
210
+ "epoch": 6.99,
211
+ "eval_accuracy": 0.8655804480651731,
212
+ "eval_loss": 0.4205726981163025,
213
+ "eval_runtime": 13.6829,
214
+ "eval_samples_per_second": 35.884,
215
+ "eval_steps_per_second": 1.169,
216
+ "step": 243
217
+ },
218
+ {
219
+ "epoch": 7.19,
220
+ "learning_rate": 1.4705882352941177e-05,
221
+ "loss": 0.3264,
222
+ "step": 250
223
+ },
224
+ {
225
+ "epoch": 7.48,
226
+ "learning_rate": 1.3071895424836602e-05,
227
+ "loss": 0.3041,
228
+ "step": 260
229
+ },
230
+ {
231
+ "epoch": 7.77,
232
+ "learning_rate": 1.1437908496732026e-05,
233
+ "loss": 0.3247,
234
+ "step": 270
235
+ },
236
+ {
237
+ "epoch": 8.0,
238
+ "eval_accuracy": 0.8716904276985743,
239
+ "eval_loss": 0.40013936161994934,
240
+ "eval_runtime": 11.9942,
241
+ "eval_samples_per_second": 40.936,
242
+ "eval_steps_per_second": 1.334,
243
+ "step": 278
244
+ },
245
+ {
246
+ "epoch": 8.06,
247
+ "learning_rate": 9.803921568627451e-06,
248
+ "loss": 0.2936,
249
+ "step": 280
250
+ },
251
+ {
252
+ "epoch": 8.35,
253
+ "learning_rate": 8.169934640522877e-06,
254
+ "loss": 0.3208,
255
+ "step": 290
256
+ },
257
+ {
258
+ "epoch": 8.63,
259
+ "learning_rate": 6.535947712418301e-06,
260
+ "loss": 0.3067,
261
+ "step": 300
262
+ },
263
+ {
264
+ "epoch": 8.92,
265
+ "learning_rate": 4.901960784313726e-06,
266
+ "loss": 0.3235,
267
+ "step": 310
268
+ },
269
+ {
270
+ "epoch": 8.98,
271
+ "eval_accuracy": 0.8818737270875764,
272
+ "eval_loss": 0.3866692781448364,
273
+ "eval_runtime": 12.0492,
274
+ "eval_samples_per_second": 40.75,
275
+ "eval_steps_per_second": 1.328,
276
+ "step": 312
277
+ },
278
+ {
279
+ "epoch": 9.21,
280
+ "learning_rate": 3.2679738562091506e-06,
281
+ "loss": 0.2504,
282
+ "step": 320
283
+ },
284
+ {
285
+ "epoch": 9.5,
286
+ "learning_rate": 1.6339869281045753e-06,
287
+ "loss": 0.2453,
288
+ "step": 330
289
+ },
290
+ {
291
+ "epoch": 9.78,
292
+ "learning_rate": 0.0,
293
+ "loss": 0.2788,
294
+ "step": 340
295
+ },
296
+ {
297
+ "epoch": 9.78,
298
+ "eval_accuracy": 0.8737270875763747,
299
+ "eval_loss": 0.38014131784439087,
300
+ "eval_runtime": 12.8105,
301
+ "eval_samples_per_second": 38.328,
302
+ "eval_steps_per_second": 1.249,
303
+ "step": 340
304
+ },
305
+ {
306
+ "epoch": 9.78,
307
+ "step": 340,
308
+ "total_flos": 3.3903117509586555e+18,
309
+ "train_loss": 0.8251947872778949,
310
+ "train_runtime": 2327.3974,
311
+ "train_samples_per_second": 18.987,
312
+ "train_steps_per_second": 0.146
313
+ }
314
+ ],
315
+ "logging_steps": 10,
316
+ "max_steps": 340,
317
+ "num_train_epochs": 10,
318
+ "save_steps": 500,
319
+ "total_flos": 3.3903117509586555e+18,
320
+ "trial_name": null,
321
+ "trial_params": null
322
+ }