zkdeng commited on
Commit
4adf137
1 Parent(s): 7a42754

End of training

Browse files
Files changed (5) hide show
  1. README.md +2 -2
  2. all_results.json +11 -11
  3. eval_results.json +6 -6
  4. train_results.json +6 -6
  5. trainer_state.json +73 -37
README.md CHANGED
@@ -17,8 +17,8 @@ should probably proofread and complete it, then remove this comment. -->
17
 
18
  This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 0.1200
21
- - Accuracy: 0.94
22
 
23
  ## Model description
24
 
 
17
 
18
  This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
+ - Loss: 0.1422
21
+ - Accuracy: 0.945
22
 
23
  ## Model description
24
 
all_results.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
- "epoch": 2.88,
3
- "eval_accuracy": 0.935,
4
- "eval_loss": 0.16219760477542877,
5
- "eval_runtime": 1.4297,
6
- "eval_samples_per_second": 139.893,
7
- "eval_steps_per_second": 4.896,
8
- "total_flos": 1.1453639724682445e+17,
9
- "train_loss": 0.36294511291715836,
10
- "train_runtime": 78.1498,
11
- "train_samples_per_second": 61.421,
12
- "train_steps_per_second": 0.461
13
  }
 
1
  {
2
+ "epoch": 4.8,
3
+ "eval_accuracy": 0.945,
4
+ "eval_loss": 0.14223907887935638,
5
+ "eval_runtime": 1.3933,
6
+ "eval_samples_per_second": 143.541,
7
+ "eval_steps_per_second": 5.024,
8
+ "total_flos": 1.9089399541137408e+17,
9
+ "train_loss": 0.15618273814519246,
10
+ "train_runtime": 137.8616,
11
+ "train_samples_per_second": 58.029,
12
+ "train_steps_per_second": 0.435
13
  }
eval_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 2.88,
3
- "eval_accuracy": 0.935,
4
- "eval_loss": 0.16219760477542877,
5
- "eval_runtime": 1.4297,
6
- "eval_samples_per_second": 139.893,
7
- "eval_steps_per_second": 4.896
8
  }
 
1
  {
2
+ "epoch": 4.8,
3
+ "eval_accuracy": 0.945,
4
+ "eval_loss": 0.14223907887935638,
5
+ "eval_runtime": 1.3933,
6
+ "eval_samples_per_second": 143.541,
7
+ "eval_steps_per_second": 5.024
8
  }
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 2.88,
3
- "total_flos": 1.1453639724682445e+17,
4
- "train_loss": 0.36294511291715836,
5
- "train_runtime": 78.1498,
6
- "train_samples_per_second": 61.421,
7
- "train_steps_per_second": 0.461
8
  }
 
1
  {
2
+ "epoch": 4.8,
3
+ "total_flos": 1.9089399541137408e+17,
4
+ "train_loss": 0.15618273814519246,
5
+ "train_runtime": 137.8616,
6
+ "train_samples_per_second": 58.029,
7
+ "train_steps_per_second": 0.435
8
  }
trainer_state.json CHANGED
@@ -1,73 +1,109 @@
1
  {
2
- "best_metric": 0.935,
3
- "best_model_checkpoint": "swin-tiny-patch4-window7-224-finetuned-black_widow/checkpoint-36",
4
- "epoch": 2.88,
5
  "eval_steps": 500,
6
- "global_step": 36,
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
- "learning_rate": 4.0625000000000005e-05,
14
- "loss": 0.6082,
15
  "step": 10
16
  },
17
  {
18
  "epoch": 0.96,
19
- "eval_accuracy": 0.905,
20
- "eval_loss": 0.2832430899143219,
21
- "eval_runtime": 1.4544,
22
- "eval_samples_per_second": 137.514,
23
- "eval_steps_per_second": 4.813,
24
  "step": 12
25
  },
26
  {
27
  "epoch": 1.6,
28
- "learning_rate": 2.5e-05,
29
- "loss": 0.3152,
30
  "step": 20
31
  },
32
  {
33
  "epoch": 2.0,
34
- "eval_accuracy": 0.93,
35
- "eval_loss": 0.17664100229740143,
36
- "eval_runtime": 1.322,
37
- "eval_samples_per_second": 151.29,
38
- "eval_steps_per_second": 5.295,
39
  "step": 25
40
  },
41
  {
42
  "epoch": 2.4,
43
- "learning_rate": 9.375000000000001e-06,
44
- "loss": 0.257,
45
  "step": 30
46
  },
47
  {
48
- "epoch": 2.88,
49
- "eval_accuracy": 0.935,
50
- "eval_loss": 0.16219760477542877,
51
- "eval_runtime": 1.3254,
52
- "eval_samples_per_second": 150.898,
53
- "eval_steps_per_second": 5.281,
54
- "step": 36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
  },
56
  {
57
- "epoch": 2.88,
58
- "step": 36,
59
- "total_flos": 1.1453639724682445e+17,
60
- "train_loss": 0.36294511291715836,
61
- "train_runtime": 78.1498,
62
- "train_samples_per_second": 61.421,
63
- "train_steps_per_second": 0.461
64
  }
65
  ],
66
  "logging_steps": 10,
67
- "max_steps": 36,
68
- "num_train_epochs": 3,
69
  "save_steps": 500,
70
- "total_flos": 1.1453639724682445e+17,
71
  "trial_name": null,
72
  "trial_params": null
73
  }
 
1
  {
2
+ "best_metric": 0.945,
3
+ "best_model_checkpoint": "swin-tiny-patch4-window7-224-finetuned-black_widow/checkpoint-25",
4
+ "epoch": 4.8,
5
  "eval_steps": 500,
6
+ "global_step": 60,
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
+ "learning_rate": 4.62962962962963e-05,
14
+ "loss": 0.1728,
15
  "step": 10
16
  },
17
  {
18
  "epoch": 0.96,
19
+ "eval_accuracy": 0.935,
20
+ "eval_loss": 0.1506199985742569,
21
+ "eval_runtime": 1.3637,
22
+ "eval_samples_per_second": 146.66,
23
+ "eval_steps_per_second": 5.133,
24
  "step": 12
25
  },
26
  {
27
  "epoch": 1.6,
28
+ "learning_rate": 3.7037037037037037e-05,
29
+ "loss": 0.1408,
30
  "step": 20
31
  },
32
  {
33
  "epoch": 2.0,
34
+ "eval_accuracy": 0.945,
35
+ "eval_loss": 0.14223907887935638,
36
+ "eval_runtime": 1.5442,
37
+ "eval_samples_per_second": 129.518,
38
+ "eval_steps_per_second": 4.533,
39
  "step": 25
40
  },
41
  {
42
  "epoch": 2.4,
43
+ "learning_rate": 2.777777777777778e-05,
44
+ "loss": 0.1669,
45
  "step": 30
46
  },
47
  {
48
+ "epoch": 2.96,
49
+ "eval_accuracy": 0.945,
50
+ "eval_loss": 0.12894277274608612,
51
+ "eval_runtime": 1.3472,
52
+ "eval_samples_per_second": 148.458,
53
+ "eval_steps_per_second": 5.196,
54
+ "step": 37
55
+ },
56
+ {
57
+ "epoch": 3.2,
58
+ "learning_rate": 1.8518518518518518e-05,
59
+ "loss": 0.1566,
60
+ "step": 40
61
+ },
62
+ {
63
+ "epoch": 4.0,
64
+ "learning_rate": 9.259259259259259e-06,
65
+ "loss": 0.1618,
66
+ "step": 50
67
+ },
68
+ {
69
+ "epoch": 4.0,
70
+ "eval_accuracy": 0.945,
71
+ "eval_loss": 0.11264882981777191,
72
+ "eval_runtime": 1.4202,
73
+ "eval_samples_per_second": 140.823,
74
+ "eval_steps_per_second": 4.929,
75
+ "step": 50
76
+ },
77
+ {
78
+ "epoch": 4.8,
79
+ "learning_rate": 0.0,
80
+ "loss": 0.1383,
81
+ "step": 60
82
+ },
83
+ {
84
+ "epoch": 4.8,
85
+ "eval_accuracy": 0.94,
86
+ "eval_loss": 0.12001946568489075,
87
+ "eval_runtime": 1.3382,
88
+ "eval_samples_per_second": 149.459,
89
+ "eval_steps_per_second": 5.231,
90
+ "step": 60
91
  },
92
  {
93
+ "epoch": 4.8,
94
+ "step": 60,
95
+ "total_flos": 1.9089399541137408e+17,
96
+ "train_loss": 0.15618273814519246,
97
+ "train_runtime": 137.8616,
98
+ "train_samples_per_second": 58.029,
99
+ "train_steps_per_second": 0.435
100
  }
101
  ],
102
  "logging_steps": 10,
103
+ "max_steps": 60,
104
+ "num_train_epochs": 5,
105
  "save_steps": 500,
106
+ "total_flos": 1.9089399541137408e+17,
107
  "trial_name": null,
108
  "trial_params": null
109
  }