karoladelk commited on
Commit
db205e4
1 Parent(s): cbf36a0

Model save

Browse files
Files changed (2) hide show
  1. README.md +24 -16
  2. model.safetensors +1 -1
README.md CHANGED
@@ -3,11 +3,26 @@ license: apache-2.0
3
  base_model: microsoft/swin-tiny-patch4-window7-224
4
  tags:
5
  - generated_from_trainer
 
 
6
  metrics:
7
  - accuracy
8
  model-index:
9
  - name: swin-tiny-patch4-window7-224-finetuned-eurosat
10
- results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  ---
12
 
13
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -15,10 +30,10 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # swin-tiny-patch4-window7-224-finetuned-eurosat
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.3378
21
- - Accuracy: 0.9120
22
 
23
  ## Model description
24
 
@@ -37,7 +52,7 @@ More information needed
37
  ### Training hyperparameters
38
 
39
  The following hyperparameters were used during training:
40
- - learning_rate: 0.0001
41
  - train_batch_size: 64
42
  - eval_batch_size: 64
43
  - seed: 42
@@ -46,22 +61,15 @@ The following hyperparameters were used during training:
46
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
  - lr_scheduler_type: linear
48
  - lr_scheduler_warmup_ratio: 0.1
49
- - num_epochs: 10
50
 
51
  ### Training results
52
 
53
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
54
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
55
- | 0.0511 | 1.0 | 100 | 0.5181 | 0.8720 |
56
- | 0.1166 | 2.0 | 200 | 0.4709 | 0.8717 |
57
- | 0.1189 | 2.99 | 300 | 0.4162 | 0.8839 |
58
- | 0.1306 | 4.0 | 401 | 0.4251 | 0.8808 |
59
- | 0.1063 | 5.0 | 501 | 0.4186 | 0.8888 |
60
- | 0.1188 | 6.0 | 601 | 0.4293 | 0.8843 |
61
- | 0.1293 | 6.99 | 701 | 0.3595 | 0.9032 |
62
- | 0.1094 | 8.0 | 802 | 0.3666 | 0.8994 |
63
- | 0.1047 | 9.0 | 902 | 0.3615 | 0.9022 |
64
- | 0.0925 | 9.98 | 1000 | 0.3378 | 0.9120 |
65
 
66
 
67
  ### Framework versions
 
3
  base_model: microsoft/swin-tiny-patch4-window7-224
4
  tags:
5
  - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
  metrics:
9
  - accuracy
10
  model-index:
11
  - name: swin-tiny-patch4-window7-224-finetuned-eurosat
12
+ results:
13
+ - task:
14
+ name: Image Classification
15
+ type: image-classification
16
+ dataset:
17
+ name: imagefolder
18
+ type: imagefolder
19
+ config: default
20
+ split: train
21
+ args: default
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.8398692810457516
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 [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.3353
36
+ - Accuracy: 0.8399
37
 
38
  ## Model description
39
 
 
52
  ### Training hyperparameters
53
 
54
  The following hyperparameters were used during training:
55
+ - learning_rate: 5e-05
56
  - train_batch_size: 64
57
  - eval_batch_size: 64
58
  - seed: 42
 
61
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
62
  - lr_scheduler_type: linear
63
  - lr_scheduler_warmup_ratio: 0.1
64
+ - num_epochs: 3
65
 
66
  ### Training results
67
 
68
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
+ | 0.7396 | 0.93 | 10 | 0.3929 | 0.8497 |
71
+ | 0.2666 | 1.95 | 21 | 0.2897 | 0.8660 |
72
+ | 0.2275 | 2.79 | 30 | 0.3353 | 0.8399 |
 
 
 
 
 
 
 
73
 
74
 
75
  ### Framework versions
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7c17510ef7fd46937c1892a13f9736e512f1b4301cb1395de7ef6b772f105a8c
3
  size 110345908
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4971a38498f5c17f015c67f34cb4fb288db8c6e624241571f4455fe7ce28f2f7
3
  size 110345908