marthakk commited on
Commit
91f3632
·
verified ·
1 Parent(s): 74b5f7d

End of training

Browse files
README.md CHANGED
@@ -33,7 +33,7 @@ should probably proofread and complete it, then remove this comment. -->
33
 
34
  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.
35
  It achieves the following results on the evaluation set:
36
- - Loss: 0.0374
37
  - Accuracy: 1.0
38
 
39
  ## Model description
 
33
 
34
  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.
35
  It achieves the following results on the evaluation set:
36
+ - Loss: 0.0764
37
  - Accuracy: 1.0
38
 
39
  ## Model description
all_results.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
- "epoch": 2.769230769230769,
3
- "eval_accuracy": 0.9772727272727273,
4
- "eval_loss": 0.1939457803964615,
5
- "eval_runtime": 1.7666,
6
- "eval_samples_per_second": 24.906,
7
- "eval_steps_per_second": 1.132,
8
- "total_flos": 2.7490723818356736e+16,
9
- "train_loss": 0.3741150697072347,
10
- "train_runtime": 1085.5289,
11
- "train_samples_per_second": 1.086,
12
- "train_steps_per_second": 0.008
13
  }
 
1
  {
2
+ "epoch": 4.615384615384615,
3
+ "eval_accuracy": 1.0,
4
+ "eval_loss": 0.07640355080366135,
5
+ "eval_runtime": 5.0834,
6
+ "eval_samples_per_second": 8.656,
7
+ "eval_steps_per_second": 0.393,
8
+ "total_flos": 4.543674786614477e+16,
9
+ "train_loss": 0.2573451101779938,
10
+ "train_runtime": 402.4711,
11
+ "train_samples_per_second": 4.882,
12
+ "train_steps_per_second": 0.037
13
  }
eval_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 2.769230769230769,
3
- "eval_accuracy": 0.9772727272727273,
4
- "eval_loss": 0.1939457803964615,
5
- "eval_runtime": 1.7666,
6
- "eval_samples_per_second": 24.906,
7
- "eval_steps_per_second": 1.132
8
  }
 
1
  {
2
+ "epoch": 4.615384615384615,
3
+ "eval_accuracy": 1.0,
4
+ "eval_loss": 0.07640355080366135,
5
+ "eval_runtime": 5.0834,
6
+ "eval_samples_per_second": 8.656,
7
+ "eval_steps_per_second": 0.393
8
  }
runs/Oct24_07-24-26_7919de6d5c0a/events.out.tfevents.1729755160.7919de6d5c0a.285.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e64e77a9f431ed4a40d1109ce3746748c6329f08fdb6be8726943c89631f875
3
+ size 405
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 2.769230769230769,
3
- "total_flos": 2.7490723818356736e+16,
4
- "train_loss": 0.3741150697072347,
5
- "train_runtime": 1085.5289,
6
- "train_samples_per_second": 1.086,
7
- "train_steps_per_second": 0.008
8
  }
 
1
  {
2
+ "epoch": 4.615384615384615,
3
+ "total_flos": 4.543674786614477e+16,
4
+ "train_loss": 0.2573451101779938,
5
+ "train_runtime": 402.4711,
6
+ "train_samples_per_second": 4.882,
7
+ "train_steps_per_second": 0.037
8
  }
trainer_state.json CHANGED
@@ -1,54 +1,79 @@
1
  {
2
- "best_metric": 0.9772727272727273,
3
  "best_model_checkpoint": "swin-tiny-patch4-window7-224-finetuned-eurosat/checkpoint-9",
4
- "epoch": 2.769230769230769,
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.9230769230769231,
13
- "eval_accuracy": 0.6136363636363636,
14
- "eval_loss": 0.4375806748867035,
15
- "eval_runtime": 37.6364,
16
- "eval_samples_per_second": 1.169,
17
- "eval_steps_per_second": 0.053,
18
  "step": 3
19
  },
20
  {
21
  "epoch": 1.8461538461538463,
22
  "eval_accuracy": 0.9090909090909091,
23
- "eval_loss": 0.2783834636211395,
24
- "eval_runtime": 1.7762,
25
- "eval_samples_per_second": 24.772,
26
- "eval_steps_per_second": 1.126,
27
  "step": 6
28
  },
29
  {
30
  "epoch": 2.769230769230769,
31
- "eval_accuracy": 0.9772727272727273,
32
- "eval_loss": 0.1939457803964615,
33
- "eval_runtime": 2.5065,
34
- "eval_samples_per_second": 17.554,
35
- "eval_steps_per_second": 0.798,
36
  "step": 9
37
  },
38
  {
39
- "epoch": 2.769230769230769,
40
- "step": 9,
41
- "total_flos": 2.7490723818356736e+16,
42
- "train_loss": 0.3741150697072347,
43
- "train_runtime": 1085.5289,
44
- "train_samples_per_second": 1.086,
45
- "train_steps_per_second": 0.008
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  }
47
  ],
48
  "logging_steps": 10,
49
- "max_steps": 9,
50
  "num_input_tokens_seen": 0,
51
- "num_train_epochs": 3,
52
  "save_steps": 500,
53
  "stateful_callbacks": {
54
  "TrainerControl": {
@@ -62,7 +87,7 @@
62
  "attributes": {}
63
  }
64
  },
65
- "total_flos": 2.7490723818356736e+16,
66
  "train_batch_size": 32,
67
  "trial_name": null,
68
  "trial_params": null
 
1
  {
2
+ "best_metric": 1.0,
3
  "best_model_checkpoint": "swin-tiny-patch4-window7-224-finetuned-eurosat/checkpoint-9",
4
+ "epoch": 4.615384615384615,
5
  "eval_steps": 500,
6
+ "global_step": 15,
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.9230769230769231,
13
+ "eval_accuracy": 0.6590909090909091,
14
+ "eval_loss": 0.46299847960472107,
15
+ "eval_runtime": 21.279,
16
+ "eval_samples_per_second": 2.068,
17
+ "eval_steps_per_second": 0.094,
18
  "step": 3
19
  },
20
  {
21
  "epoch": 1.8461538461538463,
22
  "eval_accuracy": 0.9090909090909091,
23
+ "eval_loss": 0.24737197160720825,
24
+ "eval_runtime": 1.7671,
25
+ "eval_samples_per_second": 24.899,
26
+ "eval_steps_per_second": 1.132,
27
  "step": 6
28
  },
29
  {
30
  "epoch": 2.769230769230769,
31
+ "eval_accuracy": 1.0,
32
+ "eval_loss": 0.07640355080366135,
33
+ "eval_runtime": 1.9688,
34
+ "eval_samples_per_second": 22.349,
35
+ "eval_steps_per_second": 1.016,
36
  "step": 9
37
  },
38
  {
39
+ "epoch": 3.076923076923077,
40
+ "grad_norm": 7.906944274902344,
41
+ "learning_rate": 1.923076923076923e-05,
42
+ "loss": 0.3656,
43
+ "step": 10
44
+ },
45
+ {
46
+ "epoch": 4.0,
47
+ "eval_accuracy": 1.0,
48
+ "eval_loss": 0.03935603052377701,
49
+ "eval_runtime": 2.5937,
50
+ "eval_samples_per_second": 16.965,
51
+ "eval_steps_per_second": 0.771,
52
+ "step": 13
53
+ },
54
+ {
55
+ "epoch": 4.615384615384615,
56
+ "eval_accuracy": 1.0,
57
+ "eval_loss": 0.03737922012805939,
58
+ "eval_runtime": 3.8031,
59
+ "eval_samples_per_second": 11.57,
60
+ "eval_steps_per_second": 0.526,
61
+ "step": 15
62
+ },
63
+ {
64
+ "epoch": 4.615384615384615,
65
+ "step": 15,
66
+ "total_flos": 4.543674786614477e+16,
67
+ "train_loss": 0.2573451101779938,
68
+ "train_runtime": 402.4711,
69
+ "train_samples_per_second": 4.882,
70
+ "train_steps_per_second": 0.037
71
  }
72
  ],
73
  "logging_steps": 10,
74
+ "max_steps": 15,
75
  "num_input_tokens_seen": 0,
76
+ "num_train_epochs": 5,
77
  "save_steps": 500,
78
  "stateful_callbacks": {
79
  "TrainerControl": {
 
87
  "attributes": {}
88
  }
89
  },
90
+ "total_flos": 4.543674786614477e+16,
91
  "train_batch_size": 32,
92
  "trial_name": null,
93
  "trial_params": null