ruturajghumkar
commited on
Commit
•
d4bce7b
1
Parent(s):
1f1865a
End of training
Browse files- README.md +9 -29
- all_results.json +5 -5
- config.json +21 -9
- eval_results.json +5 -6
- model.safetensors +2 -2
- runs/Apr08_12-40-57_90600695b4f6/events.out.tfevents.1712580183.90600695b4f6.424.6 +3 -0
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,28 +1,13 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
-
base_model:
|
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.8780487804878049
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -30,10 +15,14 @@ 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 [
|
34 |
It achieves the following results on the evaluation set:
|
35 |
-
-
|
36 |
-
-
|
|
|
|
|
|
|
|
|
37 |
|
38 |
## Model description
|
39 |
|
@@ -63,15 +52,6 @@ The following hyperparameters were used during training:
|
|
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.7533 | 0.99 | 20 | 0.5474 | 0.7770 |
|
71 |
-
| 0.4366 | 1.98 | 40 | 0.3385 | 0.8606 |
|
72 |
-
| 0.3318 | 2.96 | 60 | 0.2831 | 0.8780 |
|
73 |
-
|
74 |
-
|
75 |
### Framework versions
|
76 |
|
77 |
- Transformers 4.38.2
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
base_model: nielsr/swin-tiny-patch4-window7-224-finetuned-eurosat
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
7 |
- imagefolder
|
|
|
|
|
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 |
|
16 |
# swin-tiny-patch4-window7-224-finetuned-eurosat
|
17 |
|
18 |
+
This model is a fine-tuned version of [nielsr/swin-tiny-patch4-window7-224-finetuned-eurosat](https://huggingface.co/nielsr/swin-tiny-patch4-window7-224-finetuned-eurosat) on the imagefolder dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
+
- eval_loss: 2.9854
|
21 |
+
- eval_accuracy: 0.1115
|
22 |
+
- eval_runtime: 5.1865
|
23 |
+
- eval_samples_per_second: 55.336
|
24 |
+
- eval_steps_per_second: 1.735
|
25 |
+
- step: 0
|
26 |
|
27 |
## Model description
|
28 |
|
|
|
52 |
- lr_scheduler_warmup_ratio: 0.1
|
53 |
- num_epochs: 3
|
54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
### Framework versions
|
56 |
|
57 |
- Transformers 4.38.2
|
all_results.json
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
{
|
2 |
"epoch": 2.96,
|
3 |
-
"eval_accuracy": 0.
|
4 |
-
"eval_loss":
|
5 |
-
"eval_runtime":
|
6 |
-
"eval_samples_per_second":
|
7 |
-
"eval_steps_per_second":
|
8 |
"total_flos": 1.9045723068223488e+17,
|
9 |
"train_loss": 0.6072771787643433,
|
10 |
"train_runtime": 158.0756,
|
|
|
1 |
{
|
2 |
"epoch": 2.96,
|
3 |
+
"eval_accuracy": 0.11149825783972125,
|
4 |
+
"eval_loss": 2.985412836074829,
|
5 |
+
"eval_runtime": 5.1865,
|
6 |
+
"eval_samples_per_second": 55.336,
|
7 |
+
"eval_steps_per_second": 1.735,
|
8 |
"total_flos": 1.9045723068223488e+17,
|
9 |
"train_loss": 0.6072771787643433,
|
10 |
"train_runtime": 158.0756,
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"SwinForImageClassification"
|
5 |
],
|
@@ -17,18 +17,30 @@
|
|
17 |
"hidden_dropout_prob": 0.0,
|
18 |
"hidden_size": 768,
|
19 |
"id2label": {
|
20 |
-
"0": "
|
21 |
-
"1": "
|
22 |
-
"2": "
|
23 |
-
"3": "
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
},
|
25 |
"image_size": 224,
|
26 |
"initializer_range": 0.02,
|
27 |
"label2id": {
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
},
|
33 |
"layer_norm_eps": 1e-05,
|
34 |
"mlp_ratio": 4.0,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "nielsr/swin-tiny-patch4-window7-224-finetuned-eurosat",
|
3 |
"architectures": [
|
4 |
"SwinForImageClassification"
|
5 |
],
|
|
|
17 |
"hidden_dropout_prob": 0.0,
|
18 |
"hidden_size": 768,
|
19 |
"id2label": {
|
20 |
+
"0": "AnnualCrop",
|
21 |
+
"1": "Forest",
|
22 |
+
"2": "HerbaceousVegetation",
|
23 |
+
"3": "Highway",
|
24 |
+
"4": "Industrial",
|
25 |
+
"5": "Pasture",
|
26 |
+
"6": "PermanentCrop",
|
27 |
+
"7": "Residential",
|
28 |
+
"8": "River",
|
29 |
+
"9": "SeaLake"
|
30 |
},
|
31 |
"image_size": 224,
|
32 |
"initializer_range": 0.02,
|
33 |
"label2id": {
|
34 |
+
"AnnualCrop": 0,
|
35 |
+
"Forest": 1,
|
36 |
+
"HerbaceousVegetation": 2,
|
37 |
+
"Highway": 3,
|
38 |
+
"Industrial": 4,
|
39 |
+
"Pasture": 5,
|
40 |
+
"PermanentCrop": 6,
|
41 |
+
"Residential": 7,
|
42 |
+
"River": 8,
|
43 |
+
"SeaLake": 9
|
44 |
},
|
45 |
"layer_norm_eps": 1e-05,
|
46 |
"mlp_ratio": 4.0,
|
eval_results.json
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
"
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"eval_steps_per_second": 2.048
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"eval_accuracy": 0.11149825783972125,
|
3 |
+
"eval_loss": 2.985412836074829,
|
4 |
+
"eval_runtime": 5.1865,
|
5 |
+
"eval_samples_per_second": 55.336,
|
6 |
+
"eval_steps_per_second": 1.735
|
|
|
7 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0d8dad81e7999aad71ac8964748ba6dfc6aed8f7af57e53af1e5061fb4eca5e1
|
3 |
+
size 110367448
|
runs/Apr08_12-40-57_90600695b4f6/events.out.tfevents.1712580183.90600695b4f6.424.6
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d768a0640c5670fea2fa5389d36a7303b05a7d784009b985a4d75a7d5082cb5
|
3 |
+
size 346
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4984
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6a40e9625280db558b25d6f1831f0190bf22bcd2dba95dab7d37f34181be54bd
|
3 |
size 4984
|