Lpdsc commited on
Commit
39f4759
1 Parent(s): 67d3de4

End of training

Browse files
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  license: apache-2.0
3
- base_model: microsoft/swin-tiny-patch4-window7-224
4
  tags:
5
  - generated_from_trainer
6
  datasets:
@@ -22,7 +22,7 @@ model-index:
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
- value: 0.9152542372881356
26
  ---
27
 
28
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -30,10 +30,10 @@ should probably proofread and complete it, then remove this comment. -->
30
 
31
  # swin-tiny-patch4-window7-224-finetuned-eurosat
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.2906
36
- - Accuracy: 0.9153
37
 
38
  ## Model description
39
 
@@ -67,14 +67,14 @@ The following hyperparameters were used during training:
67
 
68
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
- | No log | 0.94 | 4 | 0.4790 | 0.7458 |
71
- | No log | 1.88 | 8 | 0.3245 | 0.8644 |
72
- | 0.4186 | 2.82 | 12 | 0.2906 | 0.9153 |
73
 
74
 
75
  ### Framework versions
76
 
77
  - Transformers 4.38.2
78
- - Pytorch 2.1.0+cu121
79
  - Datasets 2.18.0
80
  - Tokenizers 0.15.2
 
1
  ---
2
  license: apache-2.0
3
+ base_model: Lpdsc/swin-tiny-patch4-window7-224-finetuned-eurosat
4
  tags:
5
  - generated_from_trainer
6
  datasets:
 
22
  metrics:
23
  - name: Accuracy
24
  type: accuracy
25
+ value: 0.9661016949152542
26
  ---
27
 
28
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
30
 
31
  # swin-tiny-patch4-window7-224-finetuned-eurosat
32
 
33
+ This model is a fine-tuned version of [Lpdsc/swin-tiny-patch4-window7-224-finetuned-eurosat](https://huggingface.co/Lpdsc/swin-tiny-patch4-window7-224-finetuned-eurosat) on the imagefolder dataset.
34
  It achieves the following results on the evaluation set:
35
+ - Loss: 0.1318
36
+ - Accuracy: 0.9661
37
 
38
  ## Model description
39
 
 
67
 
68
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
+ | No log | 0.94 | 4 | 0.1318 | 0.9661 |
71
+ | No log | 1.88 | 8 | 0.0986 | 0.9661 |
72
+ | 0.1962 | 2.82 | 12 | 0.0766 | 0.9661 |
73
 
74
 
75
  ### Framework versions
76
 
77
  - Transformers 4.38.2
78
+ - Pytorch 2.2.1+cu121
79
  - Datasets 2.18.0
80
  - Tokenizers 0.15.2
all_results.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
  "epoch": 2.82,
3
- "eval_accuracy": 0.9152542372881356,
4
- "eval_loss": 0.29061949253082275,
5
- "eval_runtime": 3.4295,
6
- "eval_samples_per_second": 17.204,
7
- "eval_steps_per_second": 0.583,
8
  "total_flos": 3.7283983478784e+16,
9
- "train_loss": 0.3904288361469905,
10
- "train_runtime": 118.5728,
11
- "train_samples_per_second": 13.308,
12
- "train_steps_per_second": 0.101
13
  }
 
1
  {
2
  "epoch": 2.82,
3
+ "eval_accuracy": 0.9661016949152542,
4
+ "eval_loss": 0.13184800744056702,
5
+ "eval_runtime": 5.0738,
6
+ "eval_samples_per_second": 11.628,
7
+ "eval_steps_per_second": 0.394,
8
  "total_flos": 3.7283983478784e+16,
9
+ "train_loss": 0.18169777592023215,
10
+ "train_runtime": 137.0663,
11
+ "train_samples_per_second": 11.513,
12
+ "train_steps_per_second": 0.088
13
  }
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "microsoft/swin-tiny-patch4-window7-224",
3
  "architectures": [
4
  "SwinForImageClassification"
5
  ],
 
1
  {
2
+ "_name_or_path": "Lpdsc/swin-tiny-patch4-window7-224-finetuned-eurosat",
3
  "architectures": [
4
  "SwinForImageClassification"
5
  ],
eval_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 2.82,
3
- "eval_accuracy": 0.9152542372881356,
4
- "eval_loss": 0.29061949253082275,
5
- "eval_runtime": 3.4295,
6
- "eval_samples_per_second": 17.204,
7
- "eval_steps_per_second": 0.583
8
  }
 
1
  {
2
  "epoch": 2.82,
3
+ "eval_accuracy": 0.9661016949152542,
4
+ "eval_loss": 0.13184800744056702,
5
+ "eval_runtime": 5.0738,
6
+ "eval_samples_per_second": 11.628,
7
+ "eval_steps_per_second": 0.394
8
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ab1e5ceaf0b9ba83085a3c12f1c1e1a34678b3bb0d4b3dbc619653839b3a425d
3
  size 110342832
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2f5891250523cfc4bd6b4566a26bdcdd0a964fe1af575241252ef0e91c86f19
3
  size 110342832
runs/Mar14_14-37-33_ec8b9ba97c80/events.out.tfevents.1710427054.ec8b9ba97c80.4846.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:509446434caefea23a659e7eddba3e80c424dd61ccd3aaba7679cbf739cc2c0c
3
+ size 6600
runs/Mar14_14-37-33_ec8b9ba97c80/events.out.tfevents.1710427197.ec8b9ba97c80.4846.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4a2deecaafb0551af257767cccf089cb6afcefece185f2e7085e03d65e3a458
3
+ size 405
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 2.82,
3
  "total_flos": 3.7283983478784e+16,
4
- "train_loss": 0.3904288361469905,
5
- "train_runtime": 118.5728,
6
- "train_samples_per_second": 13.308,
7
- "train_steps_per_second": 0.101
8
  }
 
1
  {
2
  "epoch": 2.82,
3
  "total_flos": 3.7283983478784e+16,
4
+ "train_loss": 0.18169777592023215,
5
+ "train_runtime": 137.0663,
6
+ "train_samples_per_second": 11.513,
7
+ "train_steps_per_second": 0.088
8
  }
trainer_state.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
- "best_metric": 0.9152542372881356,
3
- "best_model_checkpoint": "swin-tiny-patch4-window7-224-finetuned-eurosat/checkpoint-12",
4
  "epoch": 2.8235294117647056,
5
  "eval_steps": 500,
6
  "global_step": 12,
@@ -10,46 +10,46 @@
10
  "log_history": [
11
  {
12
  "epoch": 0.94,
13
- "eval_accuracy": 0.7457627118644068,
14
- "eval_loss": 0.478995680809021,
15
- "eval_runtime": 3.3638,
16
- "eval_samples_per_second": 17.54,
17
- "eval_steps_per_second": 0.595,
18
  "step": 4
19
  },
20
  {
21
  "epoch": 1.88,
22
- "eval_accuracy": 0.864406779661017,
23
- "eval_loss": 0.32449179887771606,
24
- "eval_runtime": 3.4489,
25
- "eval_samples_per_second": 17.107,
26
  "eval_steps_per_second": 0.58,
27
  "step": 8
28
  },
29
  {
30
  "epoch": 2.35,
31
- "grad_norm": 4.969060897827148,
32
  "learning_rate": 1e-05,
33
- "loss": 0.4186,
34
  "step": 10
35
  },
36
  {
37
  "epoch": 2.82,
38
- "eval_accuracy": 0.9152542372881356,
39
- "eval_loss": 0.29061949253082275,
40
- "eval_runtime": 4.2268,
41
- "eval_samples_per_second": 13.959,
42
- "eval_steps_per_second": 0.473,
43
  "step": 12
44
  },
45
  {
46
  "epoch": 2.82,
47
  "step": 12,
48
  "total_flos": 3.7283983478784e+16,
49
- "train_loss": 0.3904288361469905,
50
- "train_runtime": 118.5728,
51
- "train_samples_per_second": 13.308,
52
- "train_steps_per_second": 0.101
53
  }
54
  ],
55
  "logging_steps": 10,
 
1
  {
2
+ "best_metric": 0.9661016949152542,
3
+ "best_model_checkpoint": "swin-tiny-patch4-window7-224-finetuned-eurosat/checkpoint-4",
4
  "epoch": 2.8235294117647056,
5
  "eval_steps": 500,
6
  "global_step": 12,
 
10
  "log_history": [
11
  {
12
  "epoch": 0.94,
13
+ "eval_accuracy": 0.9661016949152542,
14
+ "eval_loss": 0.13184800744056702,
15
+ "eval_runtime": 3.5686,
16
+ "eval_samples_per_second": 16.533,
17
+ "eval_steps_per_second": 0.56,
18
  "step": 4
19
  },
20
  {
21
  "epoch": 1.88,
22
+ "eval_accuracy": 0.9661016949152542,
23
+ "eval_loss": 0.09857799857854843,
24
+ "eval_runtime": 3.4474,
25
+ "eval_samples_per_second": 17.114,
26
  "eval_steps_per_second": 0.58,
27
  "step": 8
28
  },
29
  {
30
  "epoch": 2.35,
31
+ "grad_norm": 5.057217597961426,
32
  "learning_rate": 1e-05,
33
+ "loss": 0.1962,
34
  "step": 10
35
  },
36
  {
37
  "epoch": 2.82,
38
+ "eval_accuracy": 0.9661016949152542,
39
+ "eval_loss": 0.07661445438861847,
40
+ "eval_runtime": 4.4174,
41
+ "eval_samples_per_second": 13.356,
42
+ "eval_steps_per_second": 0.453,
43
  "step": 12
44
  },
45
  {
46
  "epoch": 2.82,
47
  "step": 12,
48
  "total_flos": 3.7283983478784e+16,
49
+ "train_loss": 0.18169777592023215,
50
+ "train_runtime": 137.0663,
51
+ "train_samples_per_second": 11.513,
52
+ "train_steps_per_second": 0.088
53
  }
54
  ],
55
  "logging_steps": 10,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a408e0a2d736d7be5b89505174e6352b11fc031469813334a7f6e3ad78aa6e03
3
  size 4984
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d22c22a4b8a4b6c8249f8a36a9bf606fa149737b91a2ee171c0cead014d4837
3
  size 4984