End of training
Browse files- README.md +6 -6
- all_results.json +12 -0
- config.json +4 -20
- eval_results.json +8 -0
- pytorch_model.bin +2 -2
- train_results.json +7 -0
- trainer_state.json +91 -0
- training_args.bin +1 -1
README.md
CHANGED
@@ -22,7 +22,7 @@ model-index:
|
|
22 |
metrics:
|
23 |
- name: Accuracy
|
24 |
type: accuracy
|
25 |
-
value: 0.
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -32,8 +32,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
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.
|
36 |
-
- Accuracy: 0.
|
37 |
|
38 |
## Model description
|
39 |
|
@@ -67,9 +67,9 @@ The following hyperparameters were used during training:
|
|
67 |
|
68 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
70 |
-
| 0.
|
71 |
-
| 0.
|
72 |
-
| 0.
|
73 |
|
74 |
|
75 |
### Framework versions
|
|
|
22 |
metrics:
|
23 |
- name: Accuracy
|
24 |
type: accuracy
|
25 |
+
value: 0.9850249584026622
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
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.0340
|
36 |
+
- Accuracy: 0.9850
|
37 |
|
38 |
## Model description
|
39 |
|
|
|
67 |
|
68 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
70 |
+
| 0.1854 | 0.99 | 21 | 0.0688 | 0.9800 |
|
71 |
+
| 0.0438 | 1.98 | 42 | 0.0410 | 0.9817 |
|
72 |
+
| 0.0194 | 2.96 | 63 | 0.0340 | 0.9850 |
|
73 |
|
74 |
|
75 |
### Framework versions
|
all_results.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.96,
|
3 |
+
"eval_accuracy": 0.9850249584026622,
|
4 |
+
"eval_loss": 0.03396075218915939,
|
5 |
+
"eval_runtime": 35.4524,
|
6 |
+
"eval_samples_per_second": 16.952,
|
7 |
+
"eval_steps_per_second": 0.282,
|
8 |
+
"train_loss": 0.1437178479418868,
|
9 |
+
"train_runtime": 1116.2364,
|
10 |
+
"train_samples_per_second": 14.524,
|
11 |
+
"train_steps_per_second": 0.056
|
12 |
+
}
|
config.json
CHANGED
@@ -17,30 +17,14 @@
|
|
17 |
"hidden_dropout_prob": 0.0,
|
18 |
"hidden_size": 768,
|
19 |
"id2label": {
|
20 |
-
"0": "
|
21 |
-
"1": "
|
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 |
-
"
|
35 |
-
"
|
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,
|
|
|
17 |
"hidden_dropout_prob": 0.0,
|
18 |
"hidden_size": 768,
|
19 |
"id2label": {
|
20 |
+
"0": "REAL",
|
21 |
+
"1": "SPOOF"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
},
|
23 |
"image_size": 224,
|
24 |
"initializer_range": 0.02,
|
25 |
"label2id": {
|
26 |
+
"REAL": 0,
|
27 |
+
"SPOOF": 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
},
|
29 |
"layer_norm_eps": 1e-05,
|
30 |
"mlp_ratio": 4.0,
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.96,
|
3 |
+
"eval_accuracy": 0.9850249584026622,
|
4 |
+
"eval_loss": 0.03396075218915939,
|
5 |
+
"eval_runtime": 35.4524,
|
6 |
+
"eval_samples_per_second": 16.952,
|
7 |
+
"eval_steps_per_second": 0.282
|
8 |
+
}
|
pytorch_model.bin
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:e0bc18ced00cf15efa5b74967960543e42a675cc458a31b3853413844beb4c97
|
3 |
+
size 110394865
|
train_results.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.96,
|
3 |
+
"train_loss": 0.1437178479418868,
|
4 |
+
"train_runtime": 1116.2364,
|
5 |
+
"train_samples_per_second": 14.524,
|
6 |
+
"train_steps_per_second": 0.056
|
7 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.9850249584026622,
|
3 |
+
"best_model_checkpoint": "swin-tiny-patch4-window7-224-finetuned-eurosat/checkpoint-63",
|
4 |
+
"epoch": 2.9647058823529413,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 63,
|
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.47,
|
13 |
+
"learning_rate": 4.732142857142857e-05,
|
14 |
+
"loss": 0.5634,
|
15 |
+
"step": 10
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.94,
|
19 |
+
"learning_rate": 3.839285714285715e-05,
|
20 |
+
"loss": 0.1854,
|
21 |
+
"step": 20
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.99,
|
25 |
+
"eval_accuracy": 0.9800332778702163,
|
26 |
+
"eval_loss": 0.06884659081697464,
|
27 |
+
"eval_runtime": 41.6385,
|
28 |
+
"eval_samples_per_second": 14.434,
|
29 |
+
"eval_steps_per_second": 0.24,
|
30 |
+
"step": 21
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 1.41,
|
34 |
+
"learning_rate": 2.9464285714285718e-05,
|
35 |
+
"loss": 0.0565,
|
36 |
+
"step": 30
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 1.88,
|
40 |
+
"learning_rate": 2.0535714285714285e-05,
|
41 |
+
"loss": 0.0438,
|
42 |
+
"step": 40
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"epoch": 1.98,
|
46 |
+
"eval_accuracy": 0.9816971713810316,
|
47 |
+
"eval_loss": 0.04095239192247391,
|
48 |
+
"eval_runtime": 36.3213,
|
49 |
+
"eval_samples_per_second": 16.547,
|
50 |
+
"eval_steps_per_second": 0.275,
|
51 |
+
"step": 42
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 2.35,
|
55 |
+
"learning_rate": 1.1607142857142857e-05,
|
56 |
+
"loss": 0.031,
|
57 |
+
"step": 50
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 2.82,
|
61 |
+
"learning_rate": 2.6785714285714285e-06,
|
62 |
+
"loss": 0.0194,
|
63 |
+
"step": 60
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 2.96,
|
67 |
+
"eval_accuracy": 0.9850249584026622,
|
68 |
+
"eval_loss": 0.03396075218915939,
|
69 |
+
"eval_runtime": 35.2831,
|
70 |
+
"eval_samples_per_second": 17.034,
|
71 |
+
"eval_steps_per_second": 0.283,
|
72 |
+
"step": 63
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 2.96,
|
76 |
+
"step": 63,
|
77 |
+
"total_flos": 3.9908775915690394e+17,
|
78 |
+
"train_loss": 0.1437178479418868,
|
79 |
+
"train_runtime": 1116.2364,
|
80 |
+
"train_samples_per_second": 14.524,
|
81 |
+
"train_steps_per_second": 0.056
|
82 |
+
}
|
83 |
+
],
|
84 |
+
"logging_steps": 10,
|
85 |
+
"max_steps": 63,
|
86 |
+
"num_train_epochs": 3,
|
87 |
+
"save_steps": 500,
|
88 |
+
"total_flos": 3.9908775915690394e+17,
|
89 |
+
"trial_name": null,
|
90 |
+
"trial_params": null
|
91 |
+
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4091
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b9d4592b3235d44486888c6459a73ab5890820e1ce148841a881c23434df97a4
|
3 |
size 4091
|