End of training
Browse files- README.md +7 -7
- all_results.json +17 -0
- eval_results.json +12 -0
- runs/Sep16_23-37-58_data-science-wbi/events.out.tfevents.1726542285.data-science-wbi +3 -0
- train_results.json +8 -0
- trainer_state.json +294 -0
README.md
CHANGED
@@ -23,7 +23,7 @@ model-index:
|
|
23 |
metrics:
|
24 |
- name: Accuracy
|
25 |
type: accuracy
|
26 |
-
value: 0.
|
27 |
---
|
28 |
|
29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -33,12 +33,12 @@ should probably proofread and complete it, then remove this comment. -->
|
|
33 |
|
34 |
This model is a fine-tuned version of [microsoft/swin-base-patch4-window7-224-in22k](https://huggingface.co/microsoft/swin-base-patch4-window7-224-in22k) on the imagefolder dataset.
|
35 |
It achieves the following results on the evaluation set:
|
36 |
-
- Loss: 0.
|
37 |
-
- Accuracy: 0.
|
38 |
-
- Auc Overall: 0.
|
39 |
-
- Auc Class 0: 0.
|
40 |
-
- Auc Class 1: 0.
|
41 |
-
- Auc Class 2: 0.
|
42 |
|
43 |
## Model description
|
44 |
|
|
|
23 |
metrics:
|
24 |
- name: Accuracy
|
25 |
type: accuracy
|
26 |
+
value: 0.8677685950413223
|
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-base-patch4-window7-224-in22k](https://huggingface.co/microsoft/swin-base-patch4-window7-224-in22k) on the imagefolder dataset.
|
35 |
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 0.3441
|
37 |
+
- Accuracy: 0.8678
|
38 |
+
- Auc Overall: 0.9381
|
39 |
+
- Auc Class 0: 0.9631
|
40 |
+
- Auc Class 1: 0.9189
|
41 |
+
- Auc Class 2: 0.9323
|
42 |
|
43 |
## Model description
|
44 |
|
all_results.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 6.885245901639344,
|
3 |
+
"eval_accuracy": 0.8677685950413223,
|
4 |
+
"eval_auc_class_0": 0.9631310096153847,
|
5 |
+
"eval_auc_class_1": 0.9189268008165645,
|
6 |
+
"eval_auc_class_2": 0.9322997435239486,
|
7 |
+
"eval_auc_overall": 0.938119184651966,
|
8 |
+
"eval_loss": 0.34411147236824036,
|
9 |
+
"eval_runtime": 207.0344,
|
10 |
+
"eval_samples_per_second": 9.351,
|
11 |
+
"eval_steps_per_second": 0.077,
|
12 |
+
"total_flos": 4.180411553219629e+18,
|
13 |
+
"train_loss": 0.4214494603020804,
|
14 |
+
"train_runtime": 12181.9025,
|
15 |
+
"train_samples_per_second": 4.448,
|
16 |
+
"train_steps_per_second": 0.009
|
17 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 6.885245901639344,
|
3 |
+
"eval_accuracy": 0.8677685950413223,
|
4 |
+
"eval_auc_class_0": 0.9631310096153847,
|
5 |
+
"eval_auc_class_1": 0.9189268008165645,
|
6 |
+
"eval_auc_class_2": 0.9322997435239486,
|
7 |
+
"eval_auc_overall": 0.938119184651966,
|
8 |
+
"eval_loss": 0.34411147236824036,
|
9 |
+
"eval_runtime": 207.0344,
|
10 |
+
"eval_samples_per_second": 9.351,
|
11 |
+
"eval_steps_per_second": 0.077
|
12 |
+
}
|
runs/Sep16_23-37-58_data-science-wbi/events.out.tfevents.1726542285.data-science-wbi
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d06acd8cbcf0f52836ead0bfed6927172b0c2960effec2c235ea44fec818a55d
|
3 |
+
size 87
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 6.885245901639344,
|
3 |
+
"total_flos": 4.180411553219629e+18,
|
4 |
+
"train_loss": 0.4214494603020804,
|
5 |
+
"train_runtime": 12181.9025,
|
6 |
+
"train_samples_per_second": 4.448,
|
7 |
+
"train_steps_per_second": 0.009
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,294 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.8677685950413223,
|
3 |
+
"best_model_checkpoint": "swin-base-patch4-window7-224-in22k-MM/NMM_Classification_base_V10/checkpoint-76",
|
4 |
+
"epoch": 6.885245901639344,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 105,
|
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.6557377049180327,
|
13 |
+
"grad_norm": 4.473873615264893,
|
14 |
+
"learning_rate": 4.545454545454546e-05,
|
15 |
+
"loss": 0.8448,
|
16 |
+
"step": 10
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.9836065573770492,
|
20 |
+
"step": 15,
|
21 |
+
"train_accuracy": 0.8035137579124144,
|
22 |
+
"train_auc_class_0": 0.9088436086296741,
|
23 |
+
"train_auc_class_1": 0.8379446511466175,
|
24 |
+
"train_auc_class_2": 0.8758602364377229,
|
25 |
+
"train_auc_overall": 0.8742161654046715,
|
26 |
+
"train_loss": 0.49683675169944763,
|
27 |
+
"train_runtime": 777.5048,
|
28 |
+
"train_samples_per_second": 9.956,
|
29 |
+
"train_steps_per_second": 0.078
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"epoch": 0.9836065573770492,
|
33 |
+
"eval_accuracy": 0.8362603305785123,
|
34 |
+
"eval_auc_class_0": 0.9403517055860806,
|
35 |
+
"eval_auc_class_1": 0.8605572313411073,
|
36 |
+
"eval_auc_class_2": 0.8997462510986076,
|
37 |
+
"eval_auc_overall": 0.9002183960085985,
|
38 |
+
"eval_loss": 0.44267916679382324,
|
39 |
+
"eval_runtime": 267.5178,
|
40 |
+
"eval_samples_per_second": 7.237,
|
41 |
+
"eval_steps_per_second": 0.06,
|
42 |
+
"step": 15
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"epoch": 1.3114754098360657,
|
46 |
+
"grad_norm": 2.1386613845825195,
|
47 |
+
"learning_rate": 4.5212765957446815e-05,
|
48 |
+
"loss": 0.512,
|
49 |
+
"step": 20
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"epoch": 1.9672131147540983,
|
53 |
+
"grad_norm": 1.435038685798645,
|
54 |
+
"learning_rate": 3.9893617021276594e-05,
|
55 |
+
"loss": 0.4434,
|
56 |
+
"step": 30
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 1.9672131147540983,
|
60 |
+
"step": 30,
|
61 |
+
"train_accuracy": 0.840201524350859,
|
62 |
+
"train_auc_class_0": 0.9414490637347536,
|
63 |
+
"train_auc_class_1": 0.8997057391727663,
|
64 |
+
"train_auc_class_2": 0.9139346212557102,
|
65 |
+
"train_auc_overall": 0.9183631413877434,
|
66 |
+
"train_loss": 0.4013007879257202,
|
67 |
+
"train_runtime": 714.2886,
|
68 |
+
"train_samples_per_second": 10.837,
|
69 |
+
"train_steps_per_second": 0.085
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 1.9672131147540983,
|
73 |
+
"eval_accuracy": 0.8445247933884298,
|
74 |
+
"eval_auc_class_0": 0.9560139079670331,
|
75 |
+
"eval_auc_class_1": 0.9042625890669138,
|
76 |
+
"eval_auc_class_2": 0.9195875061825728,
|
77 |
+
"eval_auc_overall": 0.9266213344055066,
|
78 |
+
"eval_loss": 0.3872886896133423,
|
79 |
+
"eval_runtime": 214.551,
|
80 |
+
"eval_samples_per_second": 9.023,
|
81 |
+
"eval_steps_per_second": 0.075,
|
82 |
+
"step": 30
|
83 |
+
},
|
84 |
+
{
|
85 |
+
"epoch": 2.6229508196721314,
|
86 |
+
"grad_norm": 2.210986852645874,
|
87 |
+
"learning_rate": 3.4574468085106386e-05,
|
88 |
+
"loss": 0.3979,
|
89 |
+
"step": 40
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"epoch": 2.9508196721311473,
|
93 |
+
"step": 45,
|
94 |
+
"train_accuracy": 0.8537656633509882,
|
95 |
+
"train_auc_class_0": 0.9565036613124893,
|
96 |
+
"train_auc_class_1": 0.9187875975798461,
|
97 |
+
"train_auc_class_2": 0.9285740636485835,
|
98 |
+
"train_auc_overall": 0.9346217741803063,
|
99 |
+
"train_loss": 0.3611737787723541,
|
100 |
+
"train_runtime": 704.8242,
|
101 |
+
"train_samples_per_second": 10.983,
|
102 |
+
"train_steps_per_second": 0.087
|
103 |
+
},
|
104 |
+
{
|
105 |
+
"epoch": 2.9508196721311473,
|
106 |
+
"eval_accuracy": 0.8584710743801653,
|
107 |
+
"eval_auc_class_0": 0.9593907394688643,
|
108 |
+
"eval_auc_class_1": 0.9080973087319308,
|
109 |
+
"eval_auc_class_2": 0.9256975615561118,
|
110 |
+
"eval_auc_overall": 0.931061869918969,
|
111 |
+
"eval_loss": 0.36146315932273865,
|
112 |
+
"eval_runtime": 207.9281,
|
113 |
+
"eval_samples_per_second": 9.311,
|
114 |
+
"eval_steps_per_second": 0.077,
|
115 |
+
"step": 45
|
116 |
+
},
|
117 |
+
{
|
118 |
+
"epoch": 3.278688524590164,
|
119 |
+
"grad_norm": 2.5246520042419434,
|
120 |
+
"learning_rate": 2.925531914893617e-05,
|
121 |
+
"loss": 0.3733,
|
122 |
+
"step": 50
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 3.9344262295081966,
|
126 |
+
"grad_norm": 2.381304979324341,
|
127 |
+
"learning_rate": 2.393617021276596e-05,
|
128 |
+
"loss": 0.3593,
|
129 |
+
"step": 60
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 4.0,
|
133 |
+
"step": 61,
|
134 |
+
"train_accuracy": 0.865779615036817,
|
135 |
+
"train_auc_class_0": 0.9630790814865717,
|
136 |
+
"train_auc_class_1": 0.9318475950588521,
|
137 |
+
"train_auc_class_2": 0.9373109719652593,
|
138 |
+
"train_auc_overall": 0.9440792161702277,
|
139 |
+
"train_loss": 0.33730149269104004,
|
140 |
+
"train_runtime": 698.4574,
|
141 |
+
"train_samples_per_second": 11.083,
|
142 |
+
"train_steps_per_second": 0.087
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 4.0,
|
146 |
+
"eval_accuracy": 0.862603305785124,
|
147 |
+
"eval_auc_class_0": 0.9629407051282051,
|
148 |
+
"eval_auc_class_1": 0.9201237904963373,
|
149 |
+
"eval_auc_class_2": 0.9316191956643276,
|
150 |
+
"eval_auc_overall": 0.9382278970962901,
|
151 |
+
"eval_loss": 0.34607622027397156,
|
152 |
+
"eval_runtime": 206.0574,
|
153 |
+
"eval_samples_per_second": 9.395,
|
154 |
+
"eval_steps_per_second": 0.078,
|
155 |
+
"step": 61
|
156 |
+
},
|
157 |
+
{
|
158 |
+
"epoch": 4.590163934426229,
|
159 |
+
"grad_norm": 2.1240530014038086,
|
160 |
+
"learning_rate": 1.8617021276595745e-05,
|
161 |
+
"loss": 0.3473,
|
162 |
+
"step": 70
|
163 |
+
},
|
164 |
+
{
|
165 |
+
"epoch": 4.983606557377049,
|
166 |
+
"step": 76,
|
167 |
+
"train_accuracy": 0.8688799896654179,
|
168 |
+
"train_auc_class_0": 0.9654619767508447,
|
169 |
+
"train_auc_class_1": 0.9391473390475861,
|
170 |
+
"train_auc_class_2": 0.9405490167752112,
|
171 |
+
"train_auc_overall": 0.9483861108578807,
|
172 |
+
"train_loss": 0.32362109422683716,
|
173 |
+
"train_runtime": 706.7637,
|
174 |
+
"train_samples_per_second": 10.953,
|
175 |
+
"train_steps_per_second": 0.086
|
176 |
+
},
|
177 |
+
{
|
178 |
+
"epoch": 4.983606557377049,
|
179 |
+
"eval_accuracy": 0.8677685950413223,
|
180 |
+
"eval_auc_class_0": 0.9631310096153847,
|
181 |
+
"eval_auc_class_1": 0.9189268008165645,
|
182 |
+
"eval_auc_class_2": 0.9322997435239486,
|
183 |
+
"eval_auc_overall": 0.938119184651966,
|
184 |
+
"eval_loss": 0.34411147236824036,
|
185 |
+
"eval_runtime": 207.2323,
|
186 |
+
"eval_samples_per_second": 9.342,
|
187 |
+
"eval_steps_per_second": 0.077,
|
188 |
+
"step": 76
|
189 |
+
},
|
190 |
+
{
|
191 |
+
"epoch": 5.245901639344262,
|
192 |
+
"grad_norm": 2.395565986633301,
|
193 |
+
"learning_rate": 1.3297872340425532e-05,
|
194 |
+
"loss": 0.3381,
|
195 |
+
"step": 80
|
196 |
+
},
|
197 |
+
{
|
198 |
+
"epoch": 5.901639344262295,
|
199 |
+
"grad_norm": 1.6295080184936523,
|
200 |
+
"learning_rate": 7.97872340425532e-06,
|
201 |
+
"loss": 0.3318,
|
202 |
+
"step": 90
|
203 |
+
},
|
204 |
+
{
|
205 |
+
"epoch": 5.967213114754099,
|
206 |
+
"step": 91,
|
207 |
+
"train_accuracy": 0.8766309262369203,
|
208 |
+
"train_auc_class_0": 0.9675600734409895,
|
209 |
+
"train_auc_class_1": 0.9360009866648122,
|
210 |
+
"train_auc_class_2": 0.9450547274524197,
|
211 |
+
"train_auc_overall": 0.9495385958527405,
|
212 |
+
"train_loss": 0.31677091121673584,
|
213 |
+
"train_runtime": 712.6133,
|
214 |
+
"train_samples_per_second": 10.863,
|
215 |
+
"train_steps_per_second": 0.086
|
216 |
+
},
|
217 |
+
{
|
218 |
+
"epoch": 5.967213114754099,
|
219 |
+
"eval_accuracy": 0.8667355371900827,
|
220 |
+
"eval_auc_class_0": 0.9631009615384616,
|
221 |
+
"eval_auc_class_1": 0.916550232215998,
|
222 |
+
"eval_auc_class_2": 0.9317034893882878,
|
223 |
+
"eval_auc_overall": 0.9371182277142491,
|
224 |
+
"eval_loss": 0.34614038467407227,
|
225 |
+
"eval_runtime": 209.8829,
|
226 |
+
"eval_samples_per_second": 9.224,
|
227 |
+
"eval_steps_per_second": 0.076,
|
228 |
+
"step": 91
|
229 |
+
},
|
230 |
+
{
|
231 |
+
"epoch": 6.557377049180328,
|
232 |
+
"grad_norm": 3.0411829948425293,
|
233 |
+
"learning_rate": 2.6595744680851065e-06,
|
234 |
+
"loss": 0.3147,
|
235 |
+
"step": 100
|
236 |
+
},
|
237 |
+
{
|
238 |
+
"epoch": 6.885245901639344,
|
239 |
+
"step": 105,
|
240 |
+
"train_accuracy": 0.8770184730654954,
|
241 |
+
"train_auc_class_0": 0.9688894018782569,
|
242 |
+
"train_auc_class_1": 0.9353519937583671,
|
243 |
+
"train_auc_class_2": 0.9460088191382243,
|
244 |
+
"train_auc_overall": 0.9500834049249495,
|
245 |
+
"train_loss": 0.3142475485801697,
|
246 |
+
"train_runtime": 690.6226,
|
247 |
+
"train_samples_per_second": 11.209,
|
248 |
+
"train_steps_per_second": 0.088
|
249 |
+
},
|
250 |
+
{
|
251 |
+
"epoch": 6.885245901639344,
|
252 |
+
"eval_accuracy": 0.862603305785124,
|
253 |
+
"eval_auc_class_0": 0.9628863324175823,
|
254 |
+
"eval_auc_class_1": 0.9189616223345215,
|
255 |
+
"eval_auc_class_2": 0.93194521403788,
|
256 |
+
"eval_auc_overall": 0.937931056263328,
|
257 |
+
"eval_loss": 0.3451487123966217,
|
258 |
+
"eval_runtime": 207.6543,
|
259 |
+
"eval_samples_per_second": 9.323,
|
260 |
+
"eval_steps_per_second": 0.077,
|
261 |
+
"step": 105
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"epoch": 6.885245901639344,
|
265 |
+
"step": 105,
|
266 |
+
"total_flos": 4.180411553219629e+18,
|
267 |
+
"train_loss": 0.4214494603020804,
|
268 |
+
"train_runtime": 12181.9025,
|
269 |
+
"train_samples_per_second": 4.448,
|
270 |
+
"train_steps_per_second": 0.009
|
271 |
+
}
|
272 |
+
],
|
273 |
+
"logging_steps": 10,
|
274 |
+
"max_steps": 105,
|
275 |
+
"num_input_tokens_seen": 0,
|
276 |
+
"num_train_epochs": 7,
|
277 |
+
"save_steps": 500,
|
278 |
+
"stateful_callbacks": {
|
279 |
+
"TrainerControl": {
|
280 |
+
"args": {
|
281 |
+
"should_epoch_stop": false,
|
282 |
+
"should_evaluate": false,
|
283 |
+
"should_log": false,
|
284 |
+
"should_save": true,
|
285 |
+
"should_training_stop": true
|
286 |
+
},
|
287 |
+
"attributes": {}
|
288 |
+
}
|
289 |
+
},
|
290 |
+
"total_flos": 4.180411553219629e+18,
|
291 |
+
"train_batch_size": 128,
|
292 |
+
"trial_name": null,
|
293 |
+
"trial_params": null
|
294 |
+
}
|