impcabbie commited on
Commit
e03be25
1 Parent(s): eef7315

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 +94 -31
README.md CHANGED
@@ -22,7 +22,7 @@ model-index:
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
- value: 0.6274509803921569
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.8015
36
- - Accuracy: 0.6275
37
 
38
  ## Model description
39
 
 
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
+ value: 0.6666666666666666
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.8665
36
+ - Accuracy: 0.6667
37
 
38
  ## Model description
39
 
all_results.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
- "epoch": 2.4,
3
- "eval_accuracy": 0.35294117647058826,
4
- "eval_loss": 1.0756282806396484,
5
- "eval_runtime": 2.4568,
6
- "eval_samples_per_second": 20.759,
7
- "eval_steps_per_second": 0.814,
8
- "total_flos": 2.7292638507208704e+16,
9
- "train_loss": 1.0481688181559246,
10
- "train_runtime": 330.6023,
11
- "train_samples_per_second": 4.111,
12
- "train_steps_per_second": 0.027
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
  }
eval_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 2.4,
3
- "eval_accuracy": 0.35294117647058826,
4
- "eval_loss": 1.0756282806396484,
5
- "eval_runtime": 2.4568,
6
- "eval_samples_per_second": 20.759,
7
- "eval_steps_per_second": 0.814
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
  }
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 2.4,
3
- "total_flos": 2.7292638507208704e+16,
4
- "train_loss": 1.0481688181559246,
5
- "train_runtime": 330.6023,
6
- "train_samples_per_second": 4.111,
7
- "train_steps_per_second": 0.027
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
  }
trainer_state.json CHANGED
@@ -1,55 +1,118 @@
1
  {
2
- "best_metric": 0.35294117647058826,
3
- "best_model_checkpoint": "swin-tiny-patch4-window7-224-finetuned-eurosat/checkpoint-7",
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.29411764705882354,
14
- "eval_loss": 1.0965842008590698,
15
- "eval_runtime": 22.9459,
16
- "eval_samples_per_second": 2.223,
17
- "eval_steps_per_second": 0.087,
18
  "step": 3
19
  },
20
  {
21
  "epoch": 1.87,
22
- "eval_accuracy": 0.35294117647058826,
23
- "eval_loss": 1.0756282806396484,
24
- "eval_runtime": 2.4169,
25
- "eval_samples_per_second": 21.101,
26
- "eval_steps_per_second": 0.828,
27
  "step": 7
28
  },
29
  {
30
- "epoch": 2.4,
31
- "eval_accuracy": 0.35294117647058826,
32
- "eval_loss": 1.071820616722107,
33
- "eval_runtime": 1.6573,
34
- "eval_samples_per_second": 30.774,
35
- "eval_steps_per_second": 1.207,
36
- "step": 9
37
  },
38
  {
39
- "epoch": 2.4,
40
- "step": 9,
41
- "total_flos": 2.7292638507208704e+16,
42
- "train_loss": 1.0481688181559246,
43
- "train_runtime": 330.6023,
44
- "train_samples_per_second": 4.111,
45
- "train_steps_per_second": 0.027
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  }
47
  ],
48
  "logging_steps": 10,
49
- "max_steps": 9,
50
- "num_train_epochs": 3,
51
  "save_steps": 500,
52
- "total_flos": 2.7292638507208704e+16,
53
  "trial_name": null,
54
  "trial_params": null
55
  }
 
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
  }