zbbg1111 commited on
Commit
5616cf6
1 Parent(s): 114b104

End of training

Browse files
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.0305
36
  - Accuracy: 0.9922
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.0360
36
  - Accuracy: 0.9922
37
 
38
  ## Model description
all_results.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
- "epoch": 2.4,
3
- "eval_accuracy": 0.9803921568627451,
4
- "eval_loss": 0.14262183010578156,
5
- "eval_runtime": 4.3531,
6
- "eval_samples_per_second": 11.716,
7
- "eval_steps_per_second": 0.459,
8
- "total_flos": 2.759014777430016e+16,
9
- "train_loss": 0.25441352526346844,
10
- "train_runtime": 263.5301,
11
- "train_samples_per_second": 5.225,
12
- "train_steps_per_second": 0.034
13
  }
 
1
  {
2
+ "epoch": 3.0,
3
+ "eval_accuracy": 0.9921875,
4
+ "eval_loss": 0.036022767424583435,
5
+ "eval_runtime": 110.5343,
6
+ "eval_samples_per_second": 10.422,
7
+ "eval_steps_per_second": 0.326,
8
+ "total_flos": 7.731541172996444e+17,
9
+ "train_loss": 0.28660796502980673,
10
+ "train_runtime": 8002.835,
11
+ "train_samples_per_second": 3.886,
12
+ "train_steps_per_second": 0.03
13
  }
eval_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 2.4,
3
- "eval_accuracy": 0.9803921568627451,
4
- "eval_loss": 0.14262183010578156,
5
- "eval_runtime": 4.3531,
6
- "eval_samples_per_second": 11.716,
7
- "eval_steps_per_second": 0.459
8
  }
 
1
  {
2
+ "epoch": 3.0,
3
+ "eval_accuracy": 0.9921875,
4
+ "eval_loss": 0.036022767424583435,
5
+ "eval_runtime": 110.5343,
6
+ "eval_samples_per_second": 10.422,
7
+ "eval_steps_per_second": 0.326
8
  }
runs/Nov17_12-13-58_PC27LEL8/events.out.tfevents.1700249363.PC27LEL8 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33a8ed3b1d0ce11924a4921ac43bf62cb591f178b1dff9b0ec684575ac536e4e
3
+ size 40
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 2.4,
3
- "total_flos": 2.759014777430016e+16,
4
- "train_loss": 0.25441352526346844,
5
- "train_runtime": 263.5301,
6
- "train_samples_per_second": 5.225,
7
- "train_steps_per_second": 0.034
8
  }
 
1
  {
2
+ "epoch": 3.0,
3
+ "total_flos": 7.731541172996444e+17,
4
+ "train_loss": 0.28660796502980673,
5
+ "train_runtime": 8002.835,
6
+ "train_samples_per_second": 3.886,
7
+ "train_steps_per_second": 0.03
8
  }
trainer_state.json CHANGED
@@ -1,55 +1,199 @@
1
  {
2
- "best_metric": 0.9803921568627451,
3
- "best_model_checkpoint": "swin-tiny-patch4-window7-224-finetuned-geo-industrials1\\checkpoint-3",
4
- "epoch": 2.4,
5
  "eval_steps": 500,
6
- "global_step": 9,
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.8,
13
- "eval_accuracy": 0.9803921568627451,
14
- "eval_loss": 0.14262183010578156,
15
- "eval_runtime": 4.4355,
16
- "eval_samples_per_second": 11.498,
17
- "eval_steps_per_second": 0.451,
18
- "step": 3
19
- },
20
- {
21
- "epoch": 1.87,
22
- "eval_accuracy": 0.9803921568627451,
23
- "eval_loss": 0.0373072475194931,
24
- "eval_runtime": 4.8366,
25
- "eval_samples_per_second": 10.545,
26
- "eval_steps_per_second": 0.414,
27
- "step": 7
28
- },
29
- {
30
- "epoch": 2.4,
31
- "eval_accuracy": 0.9803921568627451,
32
- "eval_loss": 0.03279232978820801,
33
- "eval_runtime": 4.7194,
34
- "eval_samples_per_second": 10.806,
35
- "eval_steps_per_second": 0.424,
36
- "step": 9
37
- },
38
- {
39
- "epoch": 2.4,
40
- "step": 9,
41
- "total_flos": 2.759014777430016e+16,
42
- "train_loss": 0.25441352526346844,
43
- "train_runtime": 263.5301,
44
- "train_samples_per_second": 5.225,
45
- "train_steps_per_second": 0.034
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  }
47
  ],
48
  "logging_steps": 10,
49
- "max_steps": 9,
50
  "num_train_epochs": 3,
51
  "save_steps": 500,
52
- "total_flos": 2.759014777430016e+16,
53
  "trial_name": null,
54
  "trial_params": null
55
  }
 
1
  {
2
+ "best_metric": 0.9921875,
3
+ "best_model_checkpoint": "swin-tiny-patch4-window7-224-finetuned-geo-industrials1\\checkpoint-162",
4
+ "epoch": 3.0,
5
  "eval_steps": 500,
6
+ "global_step": 243,
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.12,
13
+ "learning_rate": 2e-05,
14
+ "loss": 1.8065,
15
+ "step": 10
16
+ },
17
+ {
18
+ "epoch": 0.25,
19
+ "learning_rate": 4e-05,
20
+ "loss": 1.1436,
21
+ "step": 20
22
+ },
23
+ {
24
+ "epoch": 0.37,
25
+ "learning_rate": 4.8853211009174314e-05,
26
+ "loss": 0.5244,
27
+ "step": 30
28
+ },
29
+ {
30
+ "epoch": 0.49,
31
+ "learning_rate": 4.655963302752294e-05,
32
+ "loss": 0.3381,
33
+ "step": 40
34
+ },
35
+ {
36
+ "epoch": 0.62,
37
+ "learning_rate": 4.426605504587156e-05,
38
+ "loss": 0.2938,
39
+ "step": 50
40
+ },
41
+ {
42
+ "epoch": 0.74,
43
+ "learning_rate": 4.1972477064220184e-05,
44
+ "loss": 0.2233,
45
+ "step": 60
46
+ },
47
+ {
48
+ "epoch": 0.86,
49
+ "learning_rate": 3.967889908256881e-05,
50
+ "loss": 0.2519,
51
+ "step": 70
52
+ },
53
+ {
54
+ "epoch": 0.99,
55
+ "learning_rate": 3.738532110091743e-05,
56
+ "loss": 0.2199,
57
+ "step": 80
58
+ },
59
+ {
60
+ "epoch": 1.0,
61
+ "eval_accuracy": 0.9852430555555556,
62
+ "eval_loss": 0.05960278958082199,
63
+ "eval_runtime": 117.5398,
64
+ "eval_samples_per_second": 9.801,
65
+ "eval_steps_per_second": 0.306,
66
+ "step": 81
67
+ },
68
+ {
69
+ "epoch": 1.11,
70
+ "learning_rate": 3.509174311926606e-05,
71
+ "loss": 0.1425,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 1.23,
76
+ "learning_rate": 3.2798165137614676e-05,
77
+ "loss": 0.1485,
78
+ "step": 100
79
+ },
80
+ {
81
+ "epoch": 1.36,
82
+ "learning_rate": 3.0504587155963303e-05,
83
+ "loss": 0.1814,
84
+ "step": 110
85
+ },
86
+ {
87
+ "epoch": 1.48,
88
+ "learning_rate": 2.8211009174311926e-05,
89
+ "loss": 0.1658,
90
+ "step": 120
91
+ },
92
+ {
93
+ "epoch": 1.6,
94
+ "learning_rate": 2.5917431192660553e-05,
95
+ "loss": 0.1819,
96
+ "step": 130
97
+ },
98
+ {
99
+ "epoch": 1.73,
100
+ "learning_rate": 2.3623853211009176e-05,
101
+ "loss": 0.1273,
102
+ "step": 140
103
+ },
104
+ {
105
+ "epoch": 1.85,
106
+ "learning_rate": 2.13302752293578e-05,
107
+ "loss": 0.1384,
108
+ "step": 150
109
+ },
110
+ {
111
+ "epoch": 1.98,
112
+ "learning_rate": 1.9036697247706422e-05,
113
+ "loss": 0.1283,
114
+ "step": 160
115
+ },
116
+ {
117
+ "epoch": 2.0,
118
+ "eval_accuracy": 0.9921875,
119
+ "eval_loss": 0.036022767424583435,
120
+ "eval_runtime": 113.7461,
121
+ "eval_samples_per_second": 10.128,
122
+ "eval_steps_per_second": 0.316,
123
+ "step": 162
124
+ },
125
+ {
126
+ "epoch": 2.1,
127
+ "learning_rate": 1.6743119266055045e-05,
128
+ "loss": 0.1329,
129
+ "step": 170
130
+ },
131
+ {
132
+ "epoch": 2.22,
133
+ "learning_rate": 1.444954128440367e-05,
134
+ "loss": 0.1314,
135
+ "step": 180
136
+ },
137
+ {
138
+ "epoch": 2.35,
139
+ "learning_rate": 1.2155963302752295e-05,
140
+ "loss": 0.1013,
141
+ "step": 190
142
+ },
143
+ {
144
+ "epoch": 2.47,
145
+ "learning_rate": 9.862385321100918e-06,
146
+ "loss": 0.103,
147
+ "step": 200
148
+ },
149
+ {
150
+ "epoch": 2.59,
151
+ "learning_rate": 7.568807339449542e-06,
152
+ "loss": 0.1163,
153
+ "step": 210
154
+ },
155
+ {
156
+ "epoch": 2.72,
157
+ "learning_rate": 5.2752293577981655e-06,
158
+ "loss": 0.1229,
159
+ "step": 220
160
+ },
161
+ {
162
+ "epoch": 2.84,
163
+ "learning_rate": 2.981651376146789e-06,
164
+ "loss": 0.1124,
165
+ "step": 230
166
+ },
167
+ {
168
+ "epoch": 2.96,
169
+ "learning_rate": 6.880733944954129e-07,
170
+ "loss": 0.1013,
171
+ "step": 240
172
+ },
173
+ {
174
+ "epoch": 3.0,
175
+ "eval_accuracy": 0.9921875,
176
+ "eval_loss": 0.03050476312637329,
177
+ "eval_runtime": 109.8287,
178
+ "eval_samples_per_second": 10.489,
179
+ "eval_steps_per_second": 0.328,
180
+ "step": 243
181
+ },
182
+ {
183
+ "epoch": 3.0,
184
+ "step": 243,
185
+ "total_flos": 7.731541172996444e+17,
186
+ "train_loss": 0.28660796502980673,
187
+ "train_runtime": 8002.835,
188
+ "train_samples_per_second": 3.886,
189
+ "train_steps_per_second": 0.03
190
  }
191
  ],
192
  "logging_steps": 10,
193
+ "max_steps": 243,
194
  "num_train_epochs": 3,
195
  "save_steps": 500,
196
+ "total_flos": 7.731541172996444e+17,
197
  "trial_name": null,
198
  "trial_params": null
199
  }