Augusto777
commited on
Commit
•
85ffb16
1
Parent(s):
0aac29e
Model save
Browse files
README.md
ADDED
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: microsoft/swin-tiny-patch4-window7-224
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: swin-tiny-patch4-window7-224-ve-U11-b-80
|
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: validation
|
21 |
+
args: default
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.717391304347826
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# swin-tiny-patch4-window7-224-ve-U11-b-80
|
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.9964
|
36 |
+
- Accuracy: 0.7174
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 5e-05
|
56 |
+
- train_batch_size: 32
|
57 |
+
- eval_batch_size: 32
|
58 |
+
- seed: 42
|
59 |
+
- gradient_accumulation_steps: 4
|
60 |
+
- total_train_batch_size: 128
|
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: 80
|
65 |
+
|
66 |
+
### Training results
|
67 |
+
|
68 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
70 |
+
| No log | 0.92 | 6 | 1.3860 | 0.1304 |
|
71 |
+
| 1.3859 | 2.0 | 13 | 1.3832 | 0.2609 |
|
72 |
+
| 1.3859 | 2.92 | 19 | 1.3773 | 0.2609 |
|
73 |
+
| 1.3791 | 4.0 | 26 | 1.3569 | 0.2174 |
|
74 |
+
| 1.3347 | 4.92 | 32 | 1.3177 | 0.2609 |
|
75 |
+
| 1.3347 | 6.0 | 39 | 1.2093 | 0.3913 |
|
76 |
+
| 1.2088 | 6.92 | 45 | 1.1083 | 0.4348 |
|
77 |
+
| 1.0456 | 8.0 | 52 | 1.0340 | 0.4565 |
|
78 |
+
| 1.0456 | 8.92 | 58 | 1.0120 | 0.5 |
|
79 |
+
| 0.9278 | 10.0 | 65 | 0.9282 | 0.5652 |
|
80 |
+
| 0.847 | 10.92 | 71 | 0.9934 | 0.5217 |
|
81 |
+
| 0.847 | 12.0 | 78 | 1.0171 | 0.4783 |
|
82 |
+
| 0.7142 | 12.92 | 84 | 0.8889 | 0.5870 |
|
83 |
+
| 0.5959 | 14.0 | 91 | 0.9392 | 0.5870 |
|
84 |
+
| 0.5959 | 14.92 | 97 | 0.9018 | 0.6304 |
|
85 |
+
| 0.5344 | 16.0 | 104 | 0.8327 | 0.6739 |
|
86 |
+
| 0.4438 | 16.92 | 110 | 0.7308 | 0.7391 |
|
87 |
+
| 0.4438 | 18.0 | 117 | 0.6834 | 0.7174 |
|
88 |
+
| 0.4419 | 18.92 | 123 | 0.7909 | 0.6304 |
|
89 |
+
| 0.3989 | 20.0 | 130 | 0.9103 | 0.6739 |
|
90 |
+
| 0.3989 | 20.92 | 136 | 0.7534 | 0.7391 |
|
91 |
+
| 0.3534 | 22.0 | 143 | 0.8043 | 0.7391 |
|
92 |
+
| 0.3534 | 22.92 | 149 | 0.7648 | 0.7174 |
|
93 |
+
| 0.3265 | 24.0 | 156 | 0.7088 | 0.7826 |
|
94 |
+
| 0.2808 | 24.92 | 162 | 0.8845 | 0.6957 |
|
95 |
+
| 0.2808 | 26.0 | 169 | 0.7756 | 0.7609 |
|
96 |
+
| 0.2753 | 26.92 | 175 | 0.9944 | 0.6087 |
|
97 |
+
| 0.2837 | 28.0 | 182 | 0.8091 | 0.7174 |
|
98 |
+
| 0.2837 | 28.92 | 188 | 0.9966 | 0.6739 |
|
99 |
+
| 0.2667 | 30.0 | 195 | 0.7711 | 0.7826 |
|
100 |
+
| 0.2325 | 30.92 | 201 | 0.8946 | 0.6957 |
|
101 |
+
| 0.2325 | 32.0 | 208 | 0.9079 | 0.6739 |
|
102 |
+
| 0.2096 | 32.92 | 214 | 1.0338 | 0.6522 |
|
103 |
+
| 0.1733 | 34.0 | 221 | 0.8191 | 0.7391 |
|
104 |
+
| 0.1733 | 34.92 | 227 | 1.0068 | 0.6957 |
|
105 |
+
| 0.1975 | 36.0 | 234 | 0.8644 | 0.7174 |
|
106 |
+
| 0.1844 | 36.92 | 240 | 0.8682 | 0.6739 |
|
107 |
+
| 0.1844 | 38.0 | 247 | 0.7915 | 0.7609 |
|
108 |
+
| 0.1701 | 38.92 | 253 | 0.7554 | 0.7609 |
|
109 |
+
| 0.1696 | 40.0 | 260 | 0.8762 | 0.7174 |
|
110 |
+
| 0.1696 | 40.92 | 266 | 1.0173 | 0.6739 |
|
111 |
+
| 0.1556 | 42.0 | 273 | 0.9080 | 0.7174 |
|
112 |
+
| 0.1556 | 42.92 | 279 | 1.2456 | 0.6739 |
|
113 |
+
| 0.153 | 44.0 | 286 | 0.9820 | 0.7391 |
|
114 |
+
| 0.1343 | 44.92 | 292 | 0.9908 | 0.7174 |
|
115 |
+
| 0.1343 | 46.0 | 299 | 0.9435 | 0.7391 |
|
116 |
+
| 0.1513 | 46.92 | 305 | 0.8842 | 0.7826 |
|
117 |
+
| 0.1402 | 48.0 | 312 | 1.0207 | 0.6739 |
|
118 |
+
| 0.1402 | 48.92 | 318 | 0.9915 | 0.7174 |
|
119 |
+
| 0.1648 | 50.0 | 325 | 1.1576 | 0.6739 |
|
120 |
+
| 0.1047 | 50.92 | 331 | 1.2283 | 0.6739 |
|
121 |
+
| 0.1047 | 52.0 | 338 | 1.0869 | 0.6957 |
|
122 |
+
| 0.1223 | 52.92 | 344 | 1.1203 | 0.7174 |
|
123 |
+
| 0.1223 | 54.0 | 351 | 0.9685 | 0.7174 |
|
124 |
+
| 0.1223 | 54.92 | 357 | 1.1926 | 0.7174 |
|
125 |
+
| 0.1236 | 56.0 | 364 | 1.0088 | 0.7174 |
|
126 |
+
| 0.1115 | 56.92 | 370 | 0.9149 | 0.7391 |
|
127 |
+
| 0.1115 | 58.0 | 377 | 0.8820 | 0.7391 |
|
128 |
+
| 0.1173 | 58.92 | 383 | 0.9653 | 0.7391 |
|
129 |
+
| 0.102 | 60.0 | 390 | 1.0046 | 0.7174 |
|
130 |
+
| 0.102 | 60.92 | 396 | 1.0585 | 0.6957 |
|
131 |
+
| 0.1206 | 62.0 | 403 | 1.0490 | 0.6957 |
|
132 |
+
| 0.1206 | 62.92 | 409 | 0.9683 | 0.7609 |
|
133 |
+
| 0.1124 | 64.0 | 416 | 0.9627 | 0.7609 |
|
134 |
+
| 0.0927 | 64.92 | 422 | 0.9771 | 0.7609 |
|
135 |
+
| 0.0927 | 66.0 | 429 | 1.0002 | 0.7174 |
|
136 |
+
| 0.0906 | 66.92 | 435 | 0.9607 | 0.7391 |
|
137 |
+
| 0.084 | 68.0 | 442 | 0.9414 | 0.7391 |
|
138 |
+
| 0.084 | 68.92 | 448 | 0.9863 | 0.7174 |
|
139 |
+
| 0.0866 | 70.0 | 455 | 0.9930 | 0.7174 |
|
140 |
+
| 0.0944 | 70.92 | 461 | 0.9981 | 0.7174 |
|
141 |
+
| 0.0944 | 72.0 | 468 | 1.0039 | 0.7174 |
|
142 |
+
| 0.1064 | 72.92 | 474 | 0.9987 | 0.7174 |
|
143 |
+
| 0.1074 | 73.85 | 480 | 0.9964 | 0.7174 |
|
144 |
+
|
145 |
+
|
146 |
+
### Framework versions
|
147 |
+
|
148 |
+
- Transformers 4.36.2
|
149 |
+
- Pytorch 2.1.2+cu118
|
150 |
+
- Datasets 2.16.1
|
151 |
+
- Tokenizers 0.15.0
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 110348984
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3e5f0b322aa357c3cad6296ea3aecff00e2491981d42e01a8e98feaec55e65fa
|
3 |
size 110348984
|
runs/Jun11_22-06-50_DESKTOP-SKBE9FB/events.out.tfevents.1718165211.DESKTOP-SKBE9FB.11268.0
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:346d739356d2745bbc0c291ba46caef59b919f555d9062dfba1afba54ba1d83e
|
3 |
+
size 36538
|