Augusto777
commited on
Model save
Browse files- README.md +118 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: microsoft/swinv2-tiny-patch4-window8-256
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
datasets:
|
8 |
+
- imagefolder
|
9 |
+
metrics:
|
10 |
+
- accuracy
|
11 |
+
model-index:
|
12 |
+
- name: swinv2-tiny-patch4-window8-256-DMAE-da2-colab
|
13 |
+
results:
|
14 |
+
- task:
|
15 |
+
name: Image Classification
|
16 |
+
type: image-classification
|
17 |
+
dataset:
|
18 |
+
name: imagefolder
|
19 |
+
type: imagefolder
|
20 |
+
config: default
|
21 |
+
split: test
|
22 |
+
args: default
|
23 |
+
metrics:
|
24 |
+
- name: Accuracy
|
25 |
+
type: accuracy
|
26 |
+
value: 0.717391304347826
|
27 |
+
---
|
28 |
+
|
29 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
30 |
+
should probably proofread and complete it, then remove this comment. -->
|
31 |
+
|
32 |
+
# swinv2-tiny-patch4-window8-256-DMAE-da2-colab
|
33 |
+
|
34 |
+
This model is a fine-tuned version of [microsoft/swinv2-tiny-patch4-window8-256](https://huggingface.co/microsoft/swinv2-tiny-patch4-window8-256) on the imagefolder dataset.
|
35 |
+
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 1.2108
|
37 |
+
- Accuracy: 0.7174
|
38 |
+
|
39 |
+
## Model description
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Intended uses & limitations
|
44 |
+
|
45 |
+
More information needed
|
46 |
+
|
47 |
+
## Training and evaluation data
|
48 |
+
|
49 |
+
More information needed
|
50 |
+
|
51 |
+
## Training procedure
|
52 |
+
|
53 |
+
### Training hyperparameters
|
54 |
+
|
55 |
+
The following hyperparameters were used during training:
|
56 |
+
- learning_rate: 4e-05
|
57 |
+
- train_batch_size: 16
|
58 |
+
- eval_batch_size: 16
|
59 |
+
- seed: 42
|
60 |
+
- gradient_accumulation_steps: 4
|
61 |
+
- total_train_batch_size: 64
|
62 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
63 |
+
- lr_scheduler_type: linear
|
64 |
+
- lr_scheduler_warmup_ratio: 0.1
|
65 |
+
- num_epochs: 40
|
66 |
+
|
67 |
+
### Training results
|
68 |
+
|
69 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
70 |
+
|:-------------:|:-------:|:----:|:---------------:|:--------:|
|
71 |
+
| 1.4149 | 0.9565 | 11 | 1.3905 | 0.2174 |
|
72 |
+
| 1.3431 | 1.9348 | 22 | 1.3828 | 0.3043 |
|
73 |
+
| 1.2396 | 2.9130 | 33 | 1.2675 | 0.4348 |
|
74 |
+
| 1.1377 | 3.9783 | 45 | 1.2067 | 0.3478 |
|
75 |
+
| 1.0144 | 4.9565 | 56 | 0.9060 | 0.6087 |
|
76 |
+
| 0.9016 | 5.9348 | 67 | 0.8025 | 0.6739 |
|
77 |
+
| 0.7941 | 6.9130 | 78 | 0.7812 | 0.6957 |
|
78 |
+
| 0.6986 | 7.9783 | 90 | 0.9441 | 0.5870 |
|
79 |
+
| 0.6245 | 8.9565 | 101 | 0.8641 | 0.6957 |
|
80 |
+
| 0.6044 | 9.9348 | 112 | 0.8648 | 0.6087 |
|
81 |
+
| 0.536 | 10.9130 | 123 | 0.8800 | 0.5870 |
|
82 |
+
| 0.4825 | 11.9783 | 135 | 0.8388 | 0.7391 |
|
83 |
+
| 0.4972 | 12.9565 | 146 | 0.8763 | 0.7174 |
|
84 |
+
| 0.4284 | 13.9348 | 157 | 0.8228 | 0.6957 |
|
85 |
+
| 0.3961 | 14.9130 | 168 | 0.8260 | 0.7174 |
|
86 |
+
| 0.3877 | 15.9783 | 180 | 0.9368 | 0.7609 |
|
87 |
+
| 0.3744 | 16.9565 | 191 | 1.1221 | 0.6304 |
|
88 |
+
| 0.3266 | 17.9348 | 202 | 1.0177 | 0.6739 |
|
89 |
+
| 0.3257 | 18.9130 | 213 | 1.0300 | 0.6957 |
|
90 |
+
| 0.3164 | 19.9783 | 225 | 1.1344 | 0.6957 |
|
91 |
+
| 0.2965 | 20.9565 | 236 | 0.9283 | 0.7391 |
|
92 |
+
| 0.293 | 21.9348 | 247 | 1.0128 | 0.6957 |
|
93 |
+
| 0.2929 | 22.9130 | 258 | 1.0450 | 0.7609 |
|
94 |
+
| 0.2878 | 23.9783 | 270 | 1.1482 | 0.7174 |
|
95 |
+
| 0.2447 | 24.9565 | 281 | 1.0716 | 0.7174 |
|
96 |
+
| 0.2601 | 25.9348 | 292 | 1.0770 | 0.6957 |
|
97 |
+
| 0.2299 | 26.9130 | 303 | 1.1769 | 0.7391 |
|
98 |
+
| 0.2401 | 27.9783 | 315 | 1.1407 | 0.7174 |
|
99 |
+
| 0.2347 | 28.9565 | 326 | 1.1929 | 0.6957 |
|
100 |
+
| 0.2584 | 29.9348 | 337 | 1.0957 | 0.6739 |
|
101 |
+
| 0.2204 | 30.9130 | 348 | 1.1721 | 0.6739 |
|
102 |
+
| 0.2031 | 31.9783 | 360 | 1.0843 | 0.6739 |
|
103 |
+
| 0.2241 | 32.9565 | 371 | 1.1350 | 0.6957 |
|
104 |
+
| 0.1798 | 33.9348 | 382 | 1.2419 | 0.6957 |
|
105 |
+
| 0.2435 | 34.9130 | 393 | 1.1522 | 0.6957 |
|
106 |
+
| 0.1857 | 35.9783 | 405 | 1.1207 | 0.6957 |
|
107 |
+
| 0.1889 | 36.9565 | 416 | 1.1711 | 0.6957 |
|
108 |
+
| 0.2043 | 37.9348 | 427 | 1.1978 | 0.6957 |
|
109 |
+
| 0.1951 | 38.9130 | 438 | 1.2107 | 0.7174 |
|
110 |
+
| 0.1901 | 39.1087 | 440 | 1.2108 | 0.7174 |
|
111 |
+
|
112 |
+
|
113 |
+
### Framework versions
|
114 |
+
|
115 |
+
- Transformers 4.46.2
|
116 |
+
- Pytorch 2.5.1+cu121
|
117 |
+
- Datasets 3.1.0
|
118 |
+
- Tokenizers 0.20.3
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 110356296
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b614f8568612d18175bd5a400d3401c051156f19a58daf4a447a8fcacbd5dba0
|
3 |
size 110356296
|