Model save
Browse files
README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
---
|
|
|
2 |
license: apache-2.0
|
3 |
base_model: microsoft/swin-tiny-patch4-window7-224
|
4 |
tags:
|
@@ -22,7 +23,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 +33,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 |
|
@@ -53,28 +54,27 @@ More information needed
|
|
53 |
|
54 |
The following hyperparameters were used during training:
|
55 |
- learning_rate: 5e-05
|
56 |
-
- train_batch_size:
|
57 |
-
- eval_batch_size:
|
58 |
- seed: 42
|
59 |
- gradient_accumulation_steps: 4
|
60 |
-
- total_train_batch_size:
|
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:
|
65 |
|
66 |
### Training results
|
67 |
|
68 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
70 |
-
|
|
71 |
-
|
|
72 |
-
| 0.0263 | 3.0 | 459 | 0.0188 | 0.9940 |
|
73 |
|
74 |
|
75 |
### Framework versions
|
76 |
|
77 |
-
- Transformers 4.
|
78 |
-
- Pytorch
|
79 |
-
- Datasets 2.
|
80 |
-
- Tokenizers 0.
|
|
|
1 |
---
|
2 |
+
library_name: transformers
|
3 |
license: apache-2.0
|
4 |
base_model: microsoft/swin-tiny-patch4-window7-224
|
5 |
tags:
|
|
|
23 |
metrics:
|
24 |
- name: Accuracy
|
25 |
type: accuracy
|
26 |
+
value: 1.0
|
27 |
---
|
28 |
|
29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
33 |
|
34 |
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.
|
35 |
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 0.1338
|
37 |
+
- Accuracy: 1.0
|
38 |
|
39 |
## Model description
|
40 |
|
|
|
54 |
|
55 |
The following hyperparameters were used during training:
|
56 |
- learning_rate: 5e-05
|
57 |
+
- train_batch_size: 5
|
58 |
+
- eval_batch_size: 5
|
59 |
- seed: 42
|
60 |
- gradient_accumulation_steps: 4
|
61 |
+
- total_train_batch_size: 20
|
62 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
63 |
- lr_scheduler_type: linear
|
64 |
- lr_scheduler_warmup_ratio: 0.1
|
65 |
+
- num_epochs: 2
|
66 |
|
67 |
### Training results
|
68 |
|
69 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
70 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
71 |
+
| No log | 1.0 | 2 | 0.2998 | 1.0 |
|
72 |
+
| No log | 2.0 | 4 | 0.1338 | 1.0 |
|
|
|
73 |
|
74 |
|
75 |
### Framework versions
|
76 |
|
77 |
+
- Transformers 4.45.1
|
78 |
+
- Pytorch 2.4.1+cu121
|
79 |
+
- Datasets 2.21.0
|
80 |
+
- Tokenizers 0.20.0
|