impcabbie commited on
Commit
d51ec8d
1 Parent(s): a201fba

End of training

Browse files
Files changed (5) hide show
  1. README.md +3 -3
  2. all_results.json +11 -11
  3. eval_results.json +6 -6
  4. train_results.json +6 -6
  5. trainer_state.json +133 -79
README.md CHANGED
@@ -22,7 +22,7 @@ model-index:
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
- value: 0.7121212121212122
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-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.6399
36
- - Accuracy: 0.7121
37
 
38
  ## Model description
39
 
 
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
+ value: 0.7272727272727273
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-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.6322
36
+ - Accuracy: 0.7273
37
 
38
  ## Model description
39
 
all_results.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
- "epoch": 8.0,
3
- "eval_accuracy": 0.6666666666666666,
4
- "eval_loss": 0.8665360808372498,
5
- "eval_runtime": 2.5155,
6
- "eval_samples_per_second": 20.275,
7
- "eval_steps_per_second": 0.795,
8
- "total_flos": 9.008062108390195e+16,
9
- "train_loss": 0.8971603870391845,
10
- "train_runtime": 472.399,
11
- "train_samples_per_second": 9.589,
12
- "train_steps_per_second": 0.064
13
  }
 
1
  {
2
+ "epoch": 9.73,
3
+ "eval_accuracy": 0.7272727272727273,
4
+ "eval_loss": 0.6321931481361389,
5
+ "eval_runtime": 5.5693,
6
+ "eval_samples_per_second": 23.702,
7
+ "eval_steps_per_second": 0.898,
8
+ "total_flos": 2.8567786371889766e+17,
9
+ "train_loss": 0.6456676854027642,
10
+ "train_runtime": 1051.9243,
11
+ "train_samples_per_second": 11.227,
12
+ "train_steps_per_second": 0.086
13
  }
eval_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 8.0,
3
- "eval_accuracy": 0.6666666666666666,
4
- "eval_loss": 0.8665360808372498,
5
- "eval_runtime": 2.5155,
6
- "eval_samples_per_second": 20.275,
7
- "eval_steps_per_second": 0.795
8
  }
 
1
  {
2
+ "epoch": 9.73,
3
+ "eval_accuracy": 0.7272727272727273,
4
+ "eval_loss": 0.6321931481361389,
5
+ "eval_runtime": 5.5693,
6
+ "eval_samples_per_second": 23.702,
7
+ "eval_steps_per_second": 0.898
8
  }
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 8.0,
3
- "total_flos": 9.008062108390195e+16,
4
- "train_loss": 0.8971603870391845,
5
- "train_runtime": 472.399,
6
- "train_samples_per_second": 9.589,
7
- "train_steps_per_second": 0.064
8
  }
 
1
  {
2
+ "epoch": 9.73,
3
+ "total_flos": 2.8567786371889766e+17,
4
+ "train_loss": 0.6456676854027642,
5
+ "train_runtime": 1051.9243,
6
+ "train_samples_per_second": 11.227,
7
+ "train_steps_per_second": 0.086
8
  }
trainer_state.json CHANGED
@@ -1,118 +1,172 @@
1
  {
2
- "best_metric": 0.6666666666666666,
3
- "best_model_checkpoint": "swin-tiny-patch4-window7-224-finetuned-eurosat/checkpoint-15",
4
- "epoch": 8.0,
5
  "eval_steps": 500,
6
- "global_step": 30,
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.5490196078431373,
14
- "eval_loss": 1.0688289403915405,
15
- "eval_runtime": 18.1758,
16
- "eval_samples_per_second": 2.806,
17
- "eval_steps_per_second": 0.11,
18
- "step": 3
19
  },
20
  {
21
- "epoch": 1.87,
22
- "eval_accuracy": 0.5882352941176471,
23
- "eval_loss": 0.9905503392219543,
24
- "eval_runtime": 1.7458,
25
- "eval_samples_per_second": 29.213,
26
- "eval_steps_per_second": 1.146,
27
- "step": 7
28
  },
29
  {
30
- "epoch": 2.67,
31
- "learning_rate": 3.7037037037037037e-05,
32
- "loss": 1.0511,
33
- "step": 10
 
 
 
34
  },
35
  {
36
- "epoch": 2.93,
37
- "eval_accuracy": 0.6274509803921569,
38
- "eval_loss": 0.9321841597557068,
39
- "eval_runtime": 1.8264,
40
- "eval_samples_per_second": 27.923,
41
- "eval_steps_per_second": 1.095,
42
- "step": 11
 
 
 
 
 
 
 
 
 
 
 
 
43
  },
44
  {
45
  "epoch": 4.0,
46
- "eval_accuracy": 0.6666666666666666,
47
- "eval_loss": 0.8665360808372498,
48
- "eval_runtime": 1.7506,
49
- "eval_samples_per_second": 29.133,
50
- "eval_steps_per_second": 1.142,
51
- "step": 15
52
- },
53
- {
54
- "epoch": 4.8,
55
- "eval_accuracy": 0.6274509803921569,
56
- "eval_loss": 0.8341715931892395,
57
- "eval_runtime": 1.743,
58
- "eval_samples_per_second": 29.26,
59
- "eval_steps_per_second": 1.147,
60
- "step": 18
61
  },
62
  {
63
- "epoch": 5.33,
64
- "learning_rate": 1.8518518518518518e-05,
65
- "loss": 0.8781,
66
- "step": 20
67
  },
68
  {
69
- "epoch": 5.87,
70
- "eval_accuracy": 0.6470588235294118,
71
- "eval_loss": 0.8200745582580566,
72
- "eval_runtime": 2.5179,
73
- "eval_samples_per_second": 20.255,
74
  "eval_steps_per_second": 0.794,
75
- "step": 22
 
 
 
 
 
 
76
  },
77
  {
78
- "epoch": 6.93,
79
- "eval_accuracy": 0.6470588235294118,
80
- "eval_loss": 0.8069728016853333,
81
- "eval_runtime": 1.7754,
82
- "eval_samples_per_second": 28.725,
83
- "eval_steps_per_second": 1.126,
84
- "step": 26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  },
86
  {
87
  "epoch": 8.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  "learning_rate": 0.0,
89
- "loss": 0.7623,
90
- "step": 30
91
  },
92
  {
93
- "epoch": 8.0,
94
- "eval_accuracy": 0.6274509803921569,
95
- "eval_loss": 0.8015435934066772,
96
- "eval_runtime": 1.7164,
97
- "eval_samples_per_second": 29.713,
98
- "eval_steps_per_second": 1.165,
99
- "step": 30
100
  },
101
  {
102
- "epoch": 8.0,
103
- "step": 30,
104
- "total_flos": 9.008062108390195e+16,
105
- "train_loss": 0.8971603870391845,
106
- "train_runtime": 472.399,
107
- "train_samples_per_second": 9.589,
108
- "train_steps_per_second": 0.064
109
  }
110
  ],
111
  "logging_steps": 10,
112
- "max_steps": 30,
113
  "num_train_epochs": 10,
114
  "save_steps": 500,
115
- "total_flos": 9.008062108390195e+16,
116
  "trial_name": null,
117
  "trial_params": null
118
  }
 
1
  {
2
+ "best_metric": 0.7272727272727273,
3
+ "best_model_checkpoint": "swin-tiny-patch4-window7-224-finetuned-eurosat/checkpoint-83",
4
+ "epoch": 9.72972972972973,
5
  "eval_steps": 500,
6
+ "global_step": 90,
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.97,
13
+ "eval_accuracy": 0.4621212121212121,
14
+ "eval_loss": 1.0291072130203247,
15
+ "eval_runtime": 38.7664,
16
+ "eval_samples_per_second": 3.405,
17
+ "eval_steps_per_second": 0.129,
18
+ "step": 9
19
  },
20
  {
21
+ "epoch": 1.08,
22
+ "learning_rate": 4.938271604938271e-05,
23
+ "loss": 1.0954,
24
+ "step": 10
 
 
 
25
  },
26
  {
27
+ "epoch": 1.95,
28
+ "eval_accuracy": 0.6136363636363636,
29
+ "eval_loss": 0.8322019577026367,
30
+ "eval_runtime": 6.218,
31
+ "eval_samples_per_second": 21.229,
32
+ "eval_steps_per_second": 0.804,
33
+ "step": 18
34
  },
35
  {
36
+ "epoch": 2.16,
37
+ "learning_rate": 4.3209876543209875e-05,
38
+ "loss": 0.8859,
39
+ "step": 20
40
+ },
41
+ {
42
+ "epoch": 2.92,
43
+ "eval_accuracy": 0.6363636363636364,
44
+ "eval_loss": 0.7933622598648071,
45
+ "eval_runtime": 5.5171,
46
+ "eval_samples_per_second": 23.926,
47
+ "eval_steps_per_second": 0.906,
48
+ "step": 27
49
+ },
50
+ {
51
+ "epoch": 3.24,
52
+ "learning_rate": 3.7037037037037037e-05,
53
+ "loss": 0.7328,
54
+ "step": 30
55
  },
56
  {
57
  "epoch": 4.0,
58
+ "eval_accuracy": 0.6742424242424242,
59
+ "eval_loss": 0.7151352763175964,
60
+ "eval_runtime": 6.9052,
61
+ "eval_samples_per_second": 19.116,
62
+ "eval_steps_per_second": 0.724,
63
+ "step": 37
 
 
 
 
 
 
 
 
 
64
  },
65
  {
66
+ "epoch": 4.32,
67
+ "learning_rate": 3.08641975308642e-05,
68
+ "loss": 0.6285,
69
+ "step": 40
70
  },
71
  {
72
+ "epoch": 4.97,
73
+ "eval_accuracy": 0.6060606060606061,
74
+ "eval_loss": 0.7613763809204102,
75
+ "eval_runtime": 6.2935,
76
+ "eval_samples_per_second": 20.974,
77
  "eval_steps_per_second": 0.794,
78
+ "step": 46
79
+ },
80
+ {
81
+ "epoch": 5.41,
82
+ "learning_rate": 2.4691358024691357e-05,
83
+ "loss": 0.5817,
84
+ "step": 50
85
  },
86
  {
87
+ "epoch": 5.95,
88
+ "eval_accuracy": 0.6439393939393939,
89
+ "eval_loss": 0.7581026554107666,
90
+ "eval_runtime": 5.3759,
91
+ "eval_samples_per_second": 24.554,
92
+ "eval_steps_per_second": 0.93,
93
+ "step": 55
94
+ },
95
+ {
96
+ "epoch": 6.49,
97
+ "learning_rate": 1.8518518518518518e-05,
98
+ "loss": 0.5145,
99
+ "step": 60
100
+ },
101
+ {
102
+ "epoch": 6.92,
103
+ "eval_accuracy": 0.7121212121212122,
104
+ "eval_loss": 0.6607750654220581,
105
+ "eval_runtime": 6.827,
106
+ "eval_samples_per_second": 19.335,
107
+ "eval_steps_per_second": 0.732,
108
+ "step": 64
109
+ },
110
+ {
111
+ "epoch": 7.57,
112
+ "learning_rate": 1.2345679012345678e-05,
113
+ "loss": 0.4899,
114
+ "step": 70
115
  },
116
  {
117
  "epoch": 8.0,
118
+ "eval_accuracy": 0.6893939393939394,
119
+ "eval_loss": 0.6711231470108032,
120
+ "eval_runtime": 5.4387,
121
+ "eval_samples_per_second": 24.271,
122
+ "eval_steps_per_second": 0.919,
123
+ "step": 74
124
+ },
125
+ {
126
+ "epoch": 8.65,
127
+ "learning_rate": 6.172839506172839e-06,
128
+ "loss": 0.4372,
129
+ "step": 80
130
+ },
131
+ {
132
+ "epoch": 8.97,
133
+ "eval_accuracy": 0.7272727272727273,
134
+ "eval_loss": 0.6321931481361389,
135
+ "eval_runtime": 6.1539,
136
+ "eval_samples_per_second": 21.45,
137
+ "eval_steps_per_second": 0.812,
138
+ "step": 83
139
+ },
140
+ {
141
+ "epoch": 9.73,
142
  "learning_rate": 0.0,
143
+ "loss": 0.4452,
144
+ "step": 90
145
  },
146
  {
147
+ "epoch": 9.73,
148
+ "eval_accuracy": 0.7121212121212122,
149
+ "eval_loss": 0.6398604512214661,
150
+ "eval_runtime": 6.4193,
151
+ "eval_samples_per_second": 20.563,
152
+ "eval_steps_per_second": 0.779,
153
+ "step": 90
154
  },
155
  {
156
+ "epoch": 9.73,
157
+ "step": 90,
158
+ "total_flos": 2.8567786371889766e+17,
159
+ "train_loss": 0.6456676854027642,
160
+ "train_runtime": 1051.9243,
161
+ "train_samples_per_second": 11.227,
162
+ "train_steps_per_second": 0.086
163
  }
164
  ],
165
  "logging_steps": 10,
166
+ "max_steps": 90,
167
  "num_train_epochs": 10,
168
  "save_steps": 500,
169
+ "total_flos": 2.8567786371889766e+17,
170
  "trial_name": null,
171
  "trial_params": null
172
  }