Augusto777
commited on
Commit
•
54cbfe1
1
Parent(s):
7f506d3
Model save
Browse files
README.md
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: microsoft/swinv2-tiny-patch4-window8-256
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: swinv2-finetuned-ve-Ub200
|
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.47058823529411764
|
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 |
+
# swinv2-finetuned-ve-Ub200
|
32 |
+
|
33 |
+
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.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 1.1771
|
36 |
+
- Accuracy: 0.4706
|
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: 16
|
57 |
+
- eval_batch_size: 16
|
58 |
+
- seed: 42
|
59 |
+
- gradient_accumulation_steps: 2
|
60 |
+
- total_train_batch_size: 32
|
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: 20
|
65 |
+
|
66 |
+
### Training results
|
67 |
+
|
68 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
70 |
+
| No log | 0.92 | 6 | 7.9891 | 0.0980 |
|
71 |
+
| No log | 2.0 | 13 | 7.4848 | 0.0980 |
|
72 |
+
| No log | 2.92 | 19 | 6.2378 | 0.0980 |
|
73 |
+
| No log | 4.0 | 26 | 4.8900 | 0.0980 |
|
74 |
+
| No log | 4.92 | 32 | 3.8155 | 0.0980 |
|
75 |
+
| No log | 6.0 | 39 | 2.7342 | 0.0980 |
|
76 |
+
| No log | 6.92 | 45 | 2.0612 | 0.0980 |
|
77 |
+
| No log | 8.0 | 52 | 1.5977 | 0.4706 |
|
78 |
+
| No log | 8.92 | 58 | 1.3671 | 0.4706 |
|
79 |
+
| No log | 10.0 | 65 | 1.2122 | 0.4706 |
|
80 |
+
| No log | 10.92 | 71 | 1.1823 | 0.4706 |
|
81 |
+
| No log | 12.0 | 78 | 1.1835 | 0.4706 |
|
82 |
+
| No log | 12.92 | 84 | 1.1838 | 0.4706 |
|
83 |
+
| No log | 14.0 | 91 | 1.1778 | 0.4706 |
|
84 |
+
| No log | 14.92 | 97 | 1.1769 | 0.4706 |
|
85 |
+
| 3.2267 | 16.0 | 104 | 1.1762 | 0.4706 |
|
86 |
+
| 3.2267 | 16.92 | 110 | 1.1758 | 0.4706 |
|
87 |
+
| 3.2267 | 18.0 | 117 | 1.1770 | 0.4706 |
|
88 |
+
| 3.2267 | 18.46 | 120 | 1.1771 | 0.4706 |
|
89 |
+
|
90 |
+
|
91 |
+
### Framework versions
|
92 |
+
|
93 |
+
- Transformers 4.36.2
|
94 |
+
- Pytorch 2.1.2+cu118
|
95 |
+
- Datasets 2.16.1
|
96 |
+
- 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 110356296
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2389191eb47f93e8db60cb6603c67f05804a53823c821daddd73700f4bd35564
|
3 |
size 110356296
|
runs/Jun23_13-56-59_DESKTOP-SKBE9FB/events.out.tfevents.1719172620.DESKTOP-SKBE9FB.12232.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:ef444f4a47a14b82a6d116305c31ead087e01669d3c32afc456db354852fba1a
|
3 |
+
size 11288
|