Model save
Browse files
README.md
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-RD-da-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: validation
|
22 |
+
args: default
|
23 |
+
metrics:
|
24 |
+
- name: Accuracy
|
25 |
+
type: accuracy
|
26 |
+
value: 0.49454545454545457
|
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-RD-da-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: 11.3523
|
37 |
+
- Accuracy: 0.4945
|
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: 5e-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 |
+
- num_epochs: 40
|
65 |
+
|
66 |
+
### Training results
|
67 |
+
|
68 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
70 |
+
| 0.1347 | 1.0 | 96 | 10.0386 | 0.4982 |
|
71 |
+
| 0.1556 | 2.0 | 192 | 9.5018 | 0.5 |
|
72 |
+
| 0.1051 | 3.0 | 288 | 9.9516 | 0.4982 |
|
73 |
+
| 0.1154 | 4.0 | 384 | 10.8351 | 0.4945 |
|
74 |
+
| 0.0909 | 5.0 | 480 | 11.6091 | 0.4945 |
|
75 |
+
| 0.0923 | 6.0 | 576 | 9.0530 | 0.5 |
|
76 |
+
| 0.1089 | 7.0 | 672 | 11.6765 | 0.4927 |
|
77 |
+
| 0.0959 | 8.0 | 768 | 11.5132 | 0.4982 |
|
78 |
+
| 0.1266 | 9.0 | 864 | 10.2420 | 0.5036 |
|
79 |
+
| 0.106 | 10.0 | 960 | 11.1262 | 0.4945 |
|
80 |
+
| 0.0831 | 11.0 | 1056 | 11.5815 | 0.4964 |
|
81 |
+
| 0.0819 | 12.0 | 1152 | 11.6394 | 0.4964 |
|
82 |
+
| 0.0862 | 13.0 | 1248 | 10.9660 | 0.4982 |
|
83 |
+
| 0.0754 | 14.0 | 1344 | 9.5463 | 0.4982 |
|
84 |
+
| 0.06 | 15.0 | 1440 | 10.2678 | 0.4964 |
|
85 |
+
| 0.0828 | 16.0 | 1536 | 11.4973 | 0.4927 |
|
86 |
+
| 0.0675 | 17.0 | 1632 | 10.5019 | 0.4964 |
|
87 |
+
| 0.0687 | 18.0 | 1728 | 10.6483 | 0.4982 |
|
88 |
+
| 0.0548 | 19.0 | 1824 | 11.2166 | 0.4964 |
|
89 |
+
| 0.0658 | 20.0 | 1920 | 11.5459 | 0.4945 |
|
90 |
+
| 0.0565 | 21.0 | 2016 | 11.5899 | 0.4945 |
|
91 |
+
| 0.0807 | 22.0 | 2112 | 10.7066 | 0.5 |
|
92 |
+
| 0.0289 | 23.0 | 2208 | 10.6253 | 0.4982 |
|
93 |
+
| 0.0755 | 24.0 | 2304 | 10.4856 | 0.5018 |
|
94 |
+
| 0.0483 | 25.0 | 2400 | 11.3838 | 0.4964 |
|
95 |
+
| 0.0732 | 26.0 | 2496 | 11.1971 | 0.4927 |
|
96 |
+
| 0.1424 | 27.0 | 2592 | 11.4581 | 0.4945 |
|
97 |
+
| 0.0814 | 28.0 | 2688 | 11.3341 | 0.4945 |
|
98 |
+
| 0.101 | 29.0 | 2784 | 11.5705 | 0.4927 |
|
99 |
+
| 0.0894 | 30.0 | 2880 | 11.5259 | 0.4927 |
|
100 |
+
| 0.0707 | 31.0 | 2976 | 11.1753 | 0.4945 |
|
101 |
+
| 0.1289 | 32.0 | 3072 | 10.5668 | 0.4964 |
|
102 |
+
| 0.0991 | 33.0 | 3168 | 11.1013 | 0.4945 |
|
103 |
+
| 0.0615 | 34.0 | 3264 | 11.0973 | 0.4945 |
|
104 |
+
| 0.0784 | 35.0 | 3360 | 11.0716 | 0.4945 |
|
105 |
+
| 0.0792 | 36.0 | 3456 | 11.0241 | 0.4945 |
|
106 |
+
| 0.1032 | 37.0 | 3552 | 11.2338 | 0.4945 |
|
107 |
+
| 0.0837 | 38.0 | 3648 | 11.4256 | 0.4927 |
|
108 |
+
| 0.0722 | 39.0 | 3744 | 11.3971 | 0.4945 |
|
109 |
+
| 0.079 | 40.0 | 3840 | 11.3523 | 0.4945 |
|
110 |
+
|
111 |
+
|
112 |
+
### Framework versions
|
113 |
+
|
114 |
+
- Transformers 4.46.3
|
115 |
+
- Pytorch 2.5.1+cu121
|
116 |
+
- Datasets 3.1.0
|
117 |
+
- 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 110359372
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3641ad64c77e18c70753ccb60ea1aee1aec6a3e4a8c134fd470e2ae429cefa8e
|
3 |
size 110359372
|
runs/Dec09_18-08-28_6d653b36a071/events.out.tfevents.1733767714.6d653b36a071.2332.2
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:12eee4b273f4caac4c1569ea42d625057e867d66b34c9ddb56a92fff668d7671
|
3 |
+
size 99954
|