End of training
Browse files- README.md +3 -3
- all_results.json +13 -0
- eval_results.json +8 -0
- runs/Jul30_08-40-19_567981ebf77b/events.out.tfevents.1722335861.567981ebf77b +3 -0
- train_results.json +8 -0
- trainer_state.json +196 -0
README.md
CHANGED
@@ -22,7 +22,7 @@ model-index:
|
|
22 |
metrics:
|
23 |
- name: Accuracy
|
24 |
type: accuracy
|
25 |
-
value: 0.
|
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-in22k](https://huggingface.co/microsoft/swin-base-patch4-window7-224-in22k) on the imagefolder dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
-
- Loss: 0.
|
36 |
-
- Accuracy: 0.
|
37 |
|
38 |
## Model description
|
39 |
|
|
|
22 |
metrics:
|
23 |
- name: Accuracy
|
24 |
type: accuracy
|
25 |
+
value: 0.882202304737516
|
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-in22k](https://huggingface.co/microsoft/swin-base-patch4-window7-224-in22k) on the imagefolder dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.3018
|
36 |
+
- Accuracy: 0.8822
|
37 |
|
38 |
## Model description
|
39 |
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 7.0,
|
3 |
+
"eval_accuracy": 0.882202304737516,
|
4 |
+
"eval_loss": 0.30182477831840515,
|
5 |
+
"eval_runtime": 76.9874,
|
6 |
+
"eval_samples_per_second": 10.145,
|
7 |
+
"eval_steps_per_second": 0.091,
|
8 |
+
"total_flos": 5.277497331917003e+18,
|
9 |
+
"train_loss": 0.41070275199144407,
|
10 |
+
"train_runtime": 6937.9689,
|
11 |
+
"train_samples_per_second": 9.709,
|
12 |
+
"train_steps_per_second": 0.019
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 7.0,
|
3 |
+
"eval_accuracy": 0.882202304737516,
|
4 |
+
"eval_loss": 0.30182477831840515,
|
5 |
+
"eval_runtime": 76.9874,
|
6 |
+
"eval_samples_per_second": 10.145,
|
7 |
+
"eval_steps_per_second": 0.091
|
8 |
+
}
|
runs/Jul30_08-40-19_567981ebf77b/events.out.tfevents.1722335861.567981ebf77b
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b74e042b3d9435989dafb314cbf65f8bc377672c9b5d1a3bfb0a004516ef41fe
|
3 |
+
size 88
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 7.0,
|
3 |
+
"total_flos": 5.277497331917003e+18,
|
4 |
+
"train_loss": 0.41070275199144407,
|
5 |
+
"train_runtime": 6937.9689,
|
6 |
+
"train_samples_per_second": 9.709,
|
7 |
+
"train_steps_per_second": 0.019
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,196 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.882202304737516,
|
3 |
+
"best_model_checkpoint": "swin-base-patch4-window7-224-in22k-MM_Classification_base_V2/checkpoint-95",
|
4 |
+
"epoch": 7.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 133,
|
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.5263157894736842,
|
13 |
+
"grad_norm": 3.8548967838287354,
|
14 |
+
"learning_rate": 3.571428571428572e-05,
|
15 |
+
"loss": 1.0086,
|
16 |
+
"step": 10
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.8104993597951344,
|
21 |
+
"eval_loss": 0.46133849024772644,
|
22 |
+
"eval_runtime": 105.6355,
|
23 |
+
"eval_samples_per_second": 7.393,
|
24 |
+
"eval_steps_per_second": 0.066,
|
25 |
+
"step": 19
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 1.0526315789473684,
|
29 |
+
"grad_norm": 2.950881004333496,
|
30 |
+
"learning_rate": 4.747899159663866e-05,
|
31 |
+
"loss": 0.5973,
|
32 |
+
"step": 20
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 1.5789473684210527,
|
36 |
+
"grad_norm": 2.2539196014404297,
|
37 |
+
"learning_rate": 4.327731092436975e-05,
|
38 |
+
"loss": 0.4528,
|
39 |
+
"step": 30
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 2.0,
|
43 |
+
"eval_accuracy": 0.8591549295774648,
|
44 |
+
"eval_loss": 0.34540724754333496,
|
45 |
+
"eval_runtime": 76.8371,
|
46 |
+
"eval_samples_per_second": 10.164,
|
47 |
+
"eval_steps_per_second": 0.091,
|
48 |
+
"step": 38
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 2.1052631578947367,
|
52 |
+
"grad_norm": 3.1359307765960693,
|
53 |
+
"learning_rate": 3.907563025210084e-05,
|
54 |
+
"loss": 0.4012,
|
55 |
+
"step": 40
|
56 |
+
},
|
57 |
+
{
|
58 |
+
"epoch": 2.6315789473684212,
|
59 |
+
"grad_norm": 2.3296256065368652,
|
60 |
+
"learning_rate": 3.487394957983193e-05,
|
61 |
+
"loss": 0.3556,
|
62 |
+
"step": 50
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 3.0,
|
66 |
+
"eval_accuracy": 0.8604353393085787,
|
67 |
+
"eval_loss": 0.3289111256599426,
|
68 |
+
"eval_runtime": 76.7315,
|
69 |
+
"eval_samples_per_second": 10.178,
|
70 |
+
"eval_steps_per_second": 0.091,
|
71 |
+
"step": 57
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"epoch": 3.1578947368421053,
|
75 |
+
"grad_norm": 2.8277525901794434,
|
76 |
+
"learning_rate": 3.0672268907563026e-05,
|
77 |
+
"loss": 0.3617,
|
78 |
+
"step": 60
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"epoch": 3.6842105263157894,
|
82 |
+
"grad_norm": 4.305710315704346,
|
83 |
+
"learning_rate": 2.647058823529412e-05,
|
84 |
+
"loss": 0.3404,
|
85 |
+
"step": 70
|
86 |
+
},
|
87 |
+
{
|
88 |
+
"epoch": 4.0,
|
89 |
+
"eval_accuracy": 0.8783610755441741,
|
90 |
+
"eval_loss": 0.31966593861579895,
|
91 |
+
"eval_runtime": 76.5627,
|
92 |
+
"eval_samples_per_second": 10.201,
|
93 |
+
"eval_steps_per_second": 0.091,
|
94 |
+
"step": 76
|
95 |
+
},
|
96 |
+
{
|
97 |
+
"epoch": 4.2105263157894735,
|
98 |
+
"grad_norm": 2.8584775924682617,
|
99 |
+
"learning_rate": 2.226890756302521e-05,
|
100 |
+
"loss": 0.3185,
|
101 |
+
"step": 80
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"epoch": 4.7368421052631575,
|
105 |
+
"grad_norm": 2.855238914489746,
|
106 |
+
"learning_rate": 1.8067226890756303e-05,
|
107 |
+
"loss": 0.3175,
|
108 |
+
"step": 90
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"epoch": 5.0,
|
112 |
+
"eval_accuracy": 0.882202304737516,
|
113 |
+
"eval_loss": 0.30182477831840515,
|
114 |
+
"eval_runtime": 76.8406,
|
115 |
+
"eval_samples_per_second": 10.164,
|
116 |
+
"eval_steps_per_second": 0.091,
|
117 |
+
"step": 95
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 5.2631578947368425,
|
121 |
+
"grad_norm": 3.1406571865081787,
|
122 |
+
"learning_rate": 1.3865546218487396e-05,
|
123 |
+
"loss": 0.3057,
|
124 |
+
"step": 100
|
125 |
+
},
|
126 |
+
{
|
127 |
+
"epoch": 5.7894736842105265,
|
128 |
+
"grad_norm": 1.8491476774215698,
|
129 |
+
"learning_rate": 9.663865546218488e-06,
|
130 |
+
"loss": 0.3007,
|
131 |
+
"step": 110
|
132 |
+
},
|
133 |
+
{
|
134 |
+
"epoch": 6.0,
|
135 |
+
"eval_accuracy": 0.8809218950064021,
|
136 |
+
"eval_loss": 0.3006611168384552,
|
137 |
+
"eval_runtime": 76.8476,
|
138 |
+
"eval_samples_per_second": 10.163,
|
139 |
+
"eval_steps_per_second": 0.091,
|
140 |
+
"step": 114
|
141 |
+
},
|
142 |
+
{
|
143 |
+
"epoch": 6.315789473684211,
|
144 |
+
"grad_norm": 1.944622278213501,
|
145 |
+
"learning_rate": 5.46218487394958e-06,
|
146 |
+
"loss": 0.304,
|
147 |
+
"step": 120
|
148 |
+
},
|
149 |
+
{
|
150 |
+
"epoch": 6.842105263157895,
|
151 |
+
"grad_norm": 2.5420796871185303,
|
152 |
+
"learning_rate": 1.2605042016806724e-06,
|
153 |
+
"loss": 0.2968,
|
154 |
+
"step": 130
|
155 |
+
},
|
156 |
+
{
|
157 |
+
"epoch": 7.0,
|
158 |
+
"eval_accuracy": 0.8758002560819462,
|
159 |
+
"eval_loss": 0.2966699004173279,
|
160 |
+
"eval_runtime": 77.233,
|
161 |
+
"eval_samples_per_second": 10.112,
|
162 |
+
"eval_steps_per_second": 0.091,
|
163 |
+
"step": 133
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 7.0,
|
167 |
+
"step": 133,
|
168 |
+
"total_flos": 5.277497331917003e+18,
|
169 |
+
"train_loss": 0.41070275199144407,
|
170 |
+
"train_runtime": 6937.9689,
|
171 |
+
"train_samples_per_second": 9.709,
|
172 |
+
"train_steps_per_second": 0.019
|
173 |
+
}
|
174 |
+
],
|
175 |
+
"logging_steps": 10,
|
176 |
+
"max_steps": 133,
|
177 |
+
"num_input_tokens_seen": 0,
|
178 |
+
"num_train_epochs": 7,
|
179 |
+
"save_steps": 500,
|
180 |
+
"stateful_callbacks": {
|
181 |
+
"TrainerControl": {
|
182 |
+
"args": {
|
183 |
+
"should_epoch_stop": false,
|
184 |
+
"should_evaluate": false,
|
185 |
+
"should_log": false,
|
186 |
+
"should_save": true,
|
187 |
+
"should_training_stop": true
|
188 |
+
},
|
189 |
+
"attributes": {}
|
190 |
+
}
|
191 |
+
},
|
192 |
+
"total_flos": 5.277497331917003e+18,
|
193 |
+
"train_batch_size": 128,
|
194 |
+
"trial_name": null,
|
195 |
+
"trial_params": null
|
196 |
+
}
|