Augusto777
commited on
Commit
•
3ecc780
1
Parent(s):
cacc355
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-U13-b-80b
|
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.7391304347826086
|
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-U13-b-80b
|
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: 1.0712
|
36 |
+
- Accuracy: 0.7391
|
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: 5.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.05
|
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.3855 | 0.1304 |
|
71 |
+
| 1.3852 | 2.0 | 13 | 1.3762 | 0.2826 |
|
72 |
+
| 1.3852 | 2.92 | 19 | 1.3521 | 0.2826 |
|
73 |
+
| 1.3565 | 4.0 | 26 | 1.2510 | 0.3478 |
|
74 |
+
| 1.2024 | 4.92 | 32 | 1.1528 | 0.3478 |
|
75 |
+
| 1.2024 | 6.0 | 39 | 1.0294 | 0.5 |
|
76 |
+
| 1.0453 | 6.92 | 45 | 0.9608 | 0.5217 |
|
77 |
+
| 0.8827 | 8.0 | 52 | 0.8801 | 0.6087 |
|
78 |
+
| 0.8827 | 8.92 | 58 | 0.9884 | 0.5652 |
|
79 |
+
| 0.7887 | 10.0 | 65 | 0.7927 | 0.6522 |
|
80 |
+
| 0.6795 | 10.92 | 71 | 0.7237 | 0.6522 |
|
81 |
+
| 0.6795 | 12.0 | 78 | 0.7250 | 0.6739 |
|
82 |
+
| 0.5777 | 12.92 | 84 | 0.7140 | 0.6957 |
|
83 |
+
| 0.496 | 14.0 | 91 | 0.8014 | 0.6957 |
|
84 |
+
| 0.496 | 14.92 | 97 | 0.8701 | 0.6739 |
|
85 |
+
| 0.4224 | 16.0 | 104 | 0.9384 | 0.6522 |
|
86 |
+
| 0.3744 | 16.92 | 110 | 0.7594 | 0.7174 |
|
87 |
+
| 0.3744 | 18.0 | 117 | 0.6122 | 0.7826 |
|
88 |
+
| 0.3775 | 18.92 | 123 | 0.8143 | 0.7174 |
|
89 |
+
| 0.3275 | 20.0 | 130 | 0.9981 | 0.6522 |
|
90 |
+
| 0.3275 | 20.92 | 136 | 0.8603 | 0.7174 |
|
91 |
+
| 0.3202 | 22.0 | 143 | 0.8412 | 0.6957 |
|
92 |
+
| 0.3202 | 22.92 | 149 | 0.8654 | 0.7174 |
|
93 |
+
| 0.2849 | 24.0 | 156 | 0.9650 | 0.6957 |
|
94 |
+
| 0.2518 | 24.92 | 162 | 0.8102 | 0.7609 |
|
95 |
+
| 0.2518 | 26.0 | 169 | 0.7203 | 0.7826 |
|
96 |
+
| 0.2467 | 26.92 | 175 | 0.9435 | 0.7391 |
|
97 |
+
| 0.2218 | 28.0 | 182 | 0.8905 | 0.7391 |
|
98 |
+
| 0.2218 | 28.92 | 188 | 1.0828 | 0.6957 |
|
99 |
+
| 0.2075 | 30.0 | 195 | 0.8936 | 0.7174 |
|
100 |
+
| 0.1893 | 30.92 | 201 | 0.8836 | 0.7826 |
|
101 |
+
| 0.1893 | 32.0 | 208 | 0.9692 | 0.7174 |
|
102 |
+
| 0.194 | 32.92 | 214 | 1.0390 | 0.7609 |
|
103 |
+
| 0.1739 | 34.0 | 221 | 0.8695 | 0.7609 |
|
104 |
+
| 0.1739 | 34.92 | 227 | 1.1836 | 0.6739 |
|
105 |
+
| 0.1895 | 36.0 | 234 | 1.0131 | 0.7391 |
|
106 |
+
| 0.1428 | 36.92 | 240 | 0.9618 | 0.7609 |
|
107 |
+
| 0.1428 | 38.0 | 247 | 0.9950 | 0.7609 |
|
108 |
+
| 0.1443 | 38.92 | 253 | 0.9113 | 0.7826 |
|
109 |
+
| 0.1574 | 40.0 | 260 | 0.9213 | 0.7174 |
|
110 |
+
| 0.1574 | 40.92 | 266 | 0.9437 | 0.7391 |
|
111 |
+
| 0.1442 | 42.0 | 273 | 0.9226 | 0.7609 |
|
112 |
+
| 0.1442 | 42.92 | 279 | 0.9430 | 0.7391 |
|
113 |
+
| 0.1186 | 44.0 | 286 | 0.9759 | 0.7826 |
|
114 |
+
| 0.1135 | 44.92 | 292 | 0.9651 | 0.7391 |
|
115 |
+
| 0.1135 | 46.0 | 299 | 0.9536 | 0.7609 |
|
116 |
+
| 0.1299 | 46.92 | 305 | 0.9118 | 0.7609 |
|
117 |
+
| 0.134 | 48.0 | 312 | 0.9848 | 0.7826 |
|
118 |
+
| 0.134 | 48.92 | 318 | 0.8641 | 0.7609 |
|
119 |
+
| 0.1418 | 50.0 | 325 | 1.0553 | 0.7609 |
|
120 |
+
| 0.1074 | 50.92 | 331 | 1.2511 | 0.6957 |
|
121 |
+
| 0.1074 | 52.0 | 338 | 1.0186 | 0.7391 |
|
122 |
+
| 0.1144 | 52.92 | 344 | 1.0467 | 0.7174 |
|
123 |
+
| 0.0999 | 54.0 | 351 | 0.9898 | 0.7391 |
|
124 |
+
| 0.0999 | 54.92 | 357 | 1.1780 | 0.7391 |
|
125 |
+
| 0.1131 | 56.0 | 364 | 1.0015 | 0.7609 |
|
126 |
+
| 0.1152 | 56.92 | 370 | 1.0759 | 0.7609 |
|
127 |
+
| 0.1152 | 58.0 | 377 | 1.1294 | 0.7174 |
|
128 |
+
| 0.1012 | 58.92 | 383 | 1.0894 | 0.7391 |
|
129 |
+
| 0.0938 | 60.0 | 390 | 1.0764 | 0.7391 |
|
130 |
+
| 0.0938 | 60.92 | 396 | 1.1784 | 0.7174 |
|
131 |
+
| 0.0944 | 62.0 | 403 | 1.1581 | 0.7174 |
|
132 |
+
| 0.0944 | 62.92 | 409 | 1.0444 | 0.7391 |
|
133 |
+
| 0.1015 | 64.0 | 416 | 1.0996 | 0.7391 |
|
134 |
+
| 0.0762 | 64.92 | 422 | 1.1235 | 0.7609 |
|
135 |
+
| 0.0762 | 66.0 | 429 | 1.0999 | 0.7391 |
|
136 |
+
| 0.0775 | 66.92 | 435 | 1.0776 | 0.7391 |
|
137 |
+
| 0.0787 | 68.0 | 442 | 1.0879 | 0.7391 |
|
138 |
+
| 0.0787 | 68.92 | 448 | 1.0913 | 0.7391 |
|
139 |
+
| 0.081 | 70.0 | 455 | 1.0558 | 0.7391 |
|
140 |
+
| 0.0749 | 70.92 | 461 | 1.0401 | 0.7391 |
|
141 |
+
| 0.0749 | 72.0 | 468 | 1.0539 | 0.7391 |
|
142 |
+
| 0.0841 | 72.92 | 474 | 1.0663 | 0.7391 |
|
143 |
+
| 0.0928 | 73.85 | 480 | 1.0712 | 0.7391 |
|
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:5c6b007344cc013fa162d7e7260eb610af87be6e36799a25e8b61eb0c56c9abd
|
3 |
size 110348984
|
runs/Jun12_10-10-54_DESKTOP-SKBE9FB/events.out.tfevents.1718208655.DESKTOP-SKBE9FB.15220.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:8ce62afb690088809841663ebb16c6b5e915950f0ba58b885acf9d1e12dccefa
|
3 |
+
size 36544
|