Model save
Browse files- README.md +127 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: cards-top_right_swin-tiny-patch4-window7-224-finetuned-v2_more_data
|
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: test
|
21 |
+
args: default
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.6269272417882741
|
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 |
+
# cards-top_right_swin-tiny-patch4-window7-224-finetuned-v2_more_data
|
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.9268
|
36 |
+
- Accuracy: 0.6269
|
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: 50
|
65 |
+
|
66 |
+
### Training results
|
67 |
+
|
68 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|
|
70 |
+
| 1.4585 | 1.0 | 1363 | 1.2999 | 0.4337 |
|
71 |
+
| 1.4211 | 2.0 | 2726 | 1.1663 | 0.4927 |
|
72 |
+
| 1.4203 | 3.0 | 4089 | 1.0770 | 0.5312 |
|
73 |
+
| 1.4669 | 4.0 | 5453 | 1.0744 | 0.5496 |
|
74 |
+
| 1.3781 | 5.0 | 6816 | 1.0245 | 0.5599 |
|
75 |
+
| 1.3852 | 6.0 | 8179 | 1.0645 | 0.5402 |
|
76 |
+
| 1.3407 | 7.0 | 9542 | 1.0011 | 0.5696 |
|
77 |
+
| 1.3727 | 8.0 | 10906 | 0.9898 | 0.5801 |
|
78 |
+
| 1.328 | 9.0 | 12269 | 0.9965 | 0.5738 |
|
79 |
+
| 1.3374 | 10.0 | 13632 | 0.9722 | 0.5874 |
|
80 |
+
| 1.3513 | 11.0 | 14995 | 0.9632 | 0.5873 |
|
81 |
+
| 1.3728 | 12.0 | 16359 | 0.9818 | 0.5802 |
|
82 |
+
| 1.3289 | 13.0 | 17722 | 0.9845 | 0.5729 |
|
83 |
+
| 1.3219 | 14.0 | 19085 | 0.9633 | 0.5881 |
|
84 |
+
| 1.2893 | 15.0 | 20448 | 0.9312 | 0.6004 |
|
85 |
+
| 1.3088 | 16.0 | 21812 | 0.9537 | 0.5903 |
|
86 |
+
| 1.3252 | 17.0 | 23175 | 0.9432 | 0.5986 |
|
87 |
+
| 1.3424 | 18.0 | 24538 | 0.9291 | 0.5979 |
|
88 |
+
| 1.3077 | 19.0 | 25901 | 0.9245 | 0.6020 |
|
89 |
+
| 1.2466 | 20.0 | 27265 | 0.9304 | 0.6039 |
|
90 |
+
| 1.2767 | 21.0 | 28628 | 0.9122 | 0.6099 |
|
91 |
+
| 1.2553 | 22.0 | 29991 | 0.9312 | 0.6005 |
|
92 |
+
| 1.2698 | 23.0 | 31354 | 0.9137 | 0.6092 |
|
93 |
+
| 1.2591 | 24.0 | 32718 | 0.9113 | 0.6134 |
|
94 |
+
| 1.277 | 25.0 | 34081 | 0.9095 | 0.6142 |
|
95 |
+
| 1.2742 | 26.0 | 35444 | 0.9227 | 0.6100 |
|
96 |
+
| 1.222 | 27.0 | 36807 | 0.9090 | 0.6147 |
|
97 |
+
| 1.2368 | 28.0 | 38171 | 0.9020 | 0.6172 |
|
98 |
+
| 1.198 | 29.0 | 39534 | 0.9071 | 0.6157 |
|
99 |
+
| 1.2076 | 30.0 | 40897 | 0.9031 | 0.6214 |
|
100 |
+
| 1.212 | 31.0 | 42260 | 0.9136 | 0.6175 |
|
101 |
+
| 1.2105 | 32.0 | 43624 | 0.9170 | 0.6151 |
|
102 |
+
| 1.2687 | 33.0 | 44987 | 0.9047 | 0.6186 |
|
103 |
+
| 1.2038 | 34.0 | 46350 | 0.9061 | 0.6190 |
|
104 |
+
| 1.1957 | 35.0 | 47713 | 0.9052 | 0.6255 |
|
105 |
+
| 1.1962 | 36.0 | 49077 | 0.9057 | 0.6210 |
|
106 |
+
| 1.1866 | 37.0 | 50440 | 0.9105 | 0.6227 |
|
107 |
+
| 1.2545 | 38.0 | 51803 | 0.9173 | 0.6206 |
|
108 |
+
| 1.1642 | 39.0 | 53166 | 0.9120 | 0.6239 |
|
109 |
+
| 1.1711 | 40.0 | 54530 | 0.9235 | 0.6177 |
|
110 |
+
| 1.2339 | 41.0 | 55893 | 0.9295 | 0.6143 |
|
111 |
+
| 1.1132 | 42.0 | 57256 | 0.9143 | 0.6234 |
|
112 |
+
| 1.1977 | 43.0 | 58619 | 0.9163 | 0.6256 |
|
113 |
+
| 1.1617 | 44.0 | 59983 | 0.9246 | 0.6233 |
|
114 |
+
| 1.1357 | 45.0 | 61346 | 0.9196 | 0.6255 |
|
115 |
+
| 1.1362 | 46.0 | 62709 | 0.9221 | 0.6259 |
|
116 |
+
| 1.1472 | 47.0 | 64072 | 0.9206 | 0.6263 |
|
117 |
+
| 1.184 | 48.0 | 65436 | 0.9282 | 0.6256 |
|
118 |
+
| 1.1096 | 49.0 | 66799 | 0.9252 | 0.6269 |
|
119 |
+
| 1.1425 | 49.99 | 68150 | 0.9268 | 0.6269 |
|
120 |
+
|
121 |
+
|
122 |
+
### Framework versions
|
123 |
+
|
124 |
+
- Transformers 4.37.2
|
125 |
+
- Pytorch 2.0.1+cu117
|
126 |
+
- Datasets 2.17.0
|
127 |
+
- Tokenizers 0.15.2
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 110364364
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:82660e8d5a0ae18ab785cedeecb4b60b95f0e2439492fad543df6ffc0699519c
|
3 |
size 110364364
|