ahmedALM1221
commited on
Commit
•
5091392
1
Parent(s):
8721803
update model card README.md
Browse files
README.md
CHANGED
@@ -21,7 +21,7 @@ model-index:
|
|
21 |
metrics:
|
22 |
- name: Accuracy
|
23 |
type: accuracy
|
24 |
-
value:
|
25 |
---
|
26 |
|
27 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -31,8 +31,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
31 |
|
32 |
This model is a fine-tuned version of [microsoft/swinv2-large-patch4-window12to16-192to256-22kto1k-ft](https://huggingface.co/microsoft/swinv2-large-patch4-window12to16-192to256-22kto1k-ft) on the imagefolder dataset.
|
33 |
It achieves the following results on the evaluation set:
|
34 |
-
- Loss: 0.
|
35 |
-
- Accuracy:
|
36 |
|
37 |
## Model description
|
38 |
|
@@ -51,7 +51,7 @@ More information needed
|
|
51 |
### Training hyperparameters
|
52 |
|
53 |
The following hyperparameters were used during training:
|
54 |
-
- learning_rate:
|
55 |
- train_batch_size: 16
|
56 |
- eval_batch_size: 16
|
57 |
- seed: 42
|
@@ -60,27 +60,18 @@ The following hyperparameters were used during training:
|
|
60 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
61 |
- lr_scheduler_type: linear
|
62 |
- lr_scheduler_warmup_ratio: 0.5
|
63 |
-
- num_epochs:
|
64 |
|
65 |
### Training results
|
66 |
|
67 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
68 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
69 |
-
| 1.
|
70 |
-
| 1.
|
71 |
-
| 0.
|
72 |
-
| 0.
|
73 |
-
| 0.
|
74 |
-
| 0.
|
75 |
-
| 0.2625 | 7.0 | 385 | 0.1136 | 0.9568 |
|
76 |
-
| 0.2518 | 8.0 | 440 | 0.0339 | 0.9818 |
|
77 |
-
| 0.2099 | 9.0 | 495 | 0.0273 | 0.9909 |
|
78 |
-
| 0.1293 | 10.0 | 550 | 0.0166 | 0.9932 |
|
79 |
-
| 0.1565 | 11.0 | 605 | 0.0150 | 0.9966 |
|
80 |
-
| 0.0976 | 12.0 | 660 | 0.0047 | 1.0 |
|
81 |
-
| 0.1049 | 13.0 | 715 | 0.0047 | 0.9977 |
|
82 |
-
| 0.0678 | 14.0 | 770 | 0.0031 | 0.9989 |
|
83 |
-
| 0.0775 | 15.0 | 825 | 0.0013 | 1.0 |
|
84 |
|
85 |
|
86 |
### Framework versions
|
|
|
21 |
metrics:
|
22 |
- name: Accuracy
|
23 |
type: accuracy
|
24 |
+
value: 0.8795454545454545
|
25 |
---
|
26 |
|
27 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
31 |
|
32 |
This model is a fine-tuned version of [microsoft/swinv2-large-patch4-window12to16-192to256-22kto1k-ft](https://huggingface.co/microsoft/swinv2-large-patch4-window12to16-192to256-22kto1k-ft) on the imagefolder dataset.
|
33 |
It achieves the following results on the evaluation set:
|
34 |
+
- Loss: 0.3293
|
35 |
+
- Accuracy: 0.8795
|
36 |
|
37 |
## Model description
|
38 |
|
|
|
51 |
### Training hyperparameters
|
52 |
|
53 |
The following hyperparameters were used during training:
|
54 |
+
- learning_rate: 1e-05
|
55 |
- train_batch_size: 16
|
56 |
- eval_batch_size: 16
|
57 |
- seed: 42
|
|
|
60 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
61 |
- lr_scheduler_type: linear
|
62 |
- lr_scheduler_warmup_ratio: 0.5
|
63 |
+
- num_epochs: 6
|
64 |
|
65 |
### Training results
|
66 |
|
67 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
68 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
69 |
+
| 1.8498 | 1.0 | 55 | 1.7348 | 0.3273 |
|
70 |
+
| 1.1886 | 2.0 | 110 | 1.0198 | 0.6102 |
|
71 |
+
| 0.8636 | 3.0 | 165 | 0.6859 | 0.7398 |
|
72 |
+
| 0.576 | 4.0 | 220 | 0.4357 | 0.8477 |
|
73 |
+
| 0.5875 | 5.0 | 275 | 0.4188 | 0.8386 |
|
74 |
+
| 0.4677 | 6.0 | 330 | 0.3293 | 0.8795 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
|
76 |
|
77 |
### Framework versions
|