Commit
•
9108cc3
1
Parent(s):
a98ffa2
Model save
Browse files
README.md
CHANGED
@@ -22,7 +22,7 @@ model-index:
|
|
22 |
metrics:
|
23 |
- name: Accuracy
|
24 |
type: accuracy
|
25 |
-
value: 0.
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -32,8 +32,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
32 |
|
33 |
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the imagefolder dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
-
- Loss: 0.
|
36 |
-
- Accuracy: 0.
|
37 |
|
38 |
## Model description
|
39 |
|
@@ -56,8 +56,8 @@ The following hyperparameters were used during training:
|
|
56 |
- train_batch_size: 8
|
57 |
- eval_batch_size: 8
|
58 |
- seed: 42
|
59 |
-
- gradient_accumulation_steps:
|
60 |
-
- total_train_batch_size:
|
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
|
@@ -67,45 +67,46 @@ The following hyperparameters were used during training:
|
|
67 |
|
68 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
70 |
-
| 1.
|
71 |
-
| 1.
|
72 |
-
|
|
73 |
-
| 0.
|
74 |
-
| 0.
|
75 |
-
| 0.
|
76 |
-
| 0.
|
77 |
-
| 0.
|
78 |
-
| 0.
|
79 |
-
| 0.
|
80 |
-
| 0.
|
81 |
-
| 0.
|
82 |
-
| 0.
|
83 |
-
| 0.
|
84 |
-
| 0.
|
85 |
-
| 0.
|
86 |
-
| 0.
|
87 |
-
| 0.
|
88 |
-
| 0.
|
89 |
-
| 0.
|
90 |
-
| 0.
|
91 |
-
| 0.
|
92 |
-
| 0.
|
93 |
-
| 0.
|
94 |
-
| 0.
|
95 |
-
| 0.
|
96 |
-
| 0.
|
97 |
-
| 0.
|
98 |
-
| 0.
|
99 |
-
| 0.
|
100 |
-
| 0.
|
101 |
-
| 0.
|
102 |
-
| 0.
|
103 |
-
| 0.
|
104 |
-
| 0.
|
105 |
-
| 0.
|
106 |
-
| 0.
|
107 |
-
| 0.
|
108 |
-
| 0.
|
|
|
109 |
|
110 |
|
111 |
### Framework versions
|
|
|
22 |
metrics:
|
23 |
- name: Accuracy
|
24 |
type: accuracy
|
25 |
+
value: 0.8043478260869565
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
32 |
|
33 |
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the imagefolder dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.8551
|
36 |
+
- Accuracy: 0.8043
|
37 |
|
38 |
## Model description
|
39 |
|
|
|
56 |
- train_batch_size: 8
|
57 |
- eval_batch_size: 8
|
58 |
- seed: 42
|
59 |
+
- gradient_accumulation_steps: 6
|
60 |
+
- total_train_batch_size: 48
|
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
|
|
|
67 |
|
68 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
70 |
+
| 1.3857 | 0.99 | 17 | 1.3703 | 0.5652 |
|
71 |
+
| 1.3134 | 1.98 | 34 | 1.2235 | 0.4565 |
|
72 |
+
| 1.0384 | 2.97 | 51 | 1.0173 | 0.5435 |
|
73 |
+
| 0.908 | 3.96 | 68 | 0.8346 | 0.7826 |
|
74 |
+
| 0.75 | 4.95 | 85 | 0.7343 | 0.7826 |
|
75 |
+
| 0.5131 | 6.0 | 103 | 0.6099 | 0.8478 |
|
76 |
+
| 0.395 | 6.99 | 120 | 0.5932 | 0.7826 |
|
77 |
+
| 0.355 | 7.98 | 137 | 0.7209 | 0.7391 |
|
78 |
+
| 0.2658 | 8.97 | 154 | 0.5652 | 0.8043 |
|
79 |
+
| 0.248 | 9.96 | 171 | 0.7103 | 0.7826 |
|
80 |
+
| 0.2086 | 10.95 | 188 | 0.6788 | 0.7609 |
|
81 |
+
| 0.1532 | 12.0 | 206 | 0.5725 | 0.7826 |
|
82 |
+
| 0.147 | 12.99 | 223 | 0.6130 | 0.8043 |
|
83 |
+
| 0.1145 | 13.98 | 240 | 0.6563 | 0.8043 |
|
84 |
+
| 0.1053 | 14.97 | 257 | 0.5993 | 0.8043 |
|
85 |
+
| 0.0971 | 15.96 | 274 | 0.8840 | 0.7391 |
|
86 |
+
| 0.0947 | 16.95 | 291 | 0.6256 | 0.8043 |
|
87 |
+
| 0.1055 | 18.0 | 309 | 0.8406 | 0.7609 |
|
88 |
+
| 0.0974 | 18.99 | 326 | 0.6355 | 0.8478 |
|
89 |
+
| 0.1215 | 19.98 | 343 | 0.6651 | 0.8043 |
|
90 |
+
| 0.108 | 20.97 | 360 | 0.8301 | 0.7826 |
|
91 |
+
| 0.0784 | 21.96 | 377 | 0.8837 | 0.7609 |
|
92 |
+
| 0.0919 | 22.95 | 394 | 0.6985 | 0.8043 |
|
93 |
+
| 0.064 | 24.0 | 412 | 0.6426 | 0.8043 |
|
94 |
+
| 0.0669 | 24.99 | 429 | 0.8102 | 0.7826 |
|
95 |
+
| 0.0878 | 25.98 | 446 | 0.7863 | 0.7391 |
|
96 |
+
| 0.0875 | 26.97 | 463 | 0.8777 | 0.7609 |
|
97 |
+
| 0.0441 | 27.96 | 480 | 0.7324 | 0.8043 |
|
98 |
+
| 0.088 | 28.95 | 497 | 0.8099 | 0.7826 |
|
99 |
+
| 0.0739 | 30.0 | 515 | 0.7776 | 0.8043 |
|
100 |
+
| 0.0598 | 30.99 | 532 | 0.8188 | 0.7826 |
|
101 |
+
| 0.0443 | 31.98 | 549 | 0.8549 | 0.8043 |
|
102 |
+
| 0.0376 | 32.97 | 566 | 0.8049 | 0.7826 |
|
103 |
+
| 0.0375 | 33.96 | 583 | 0.8037 | 0.8043 |
|
104 |
+
| 0.0346 | 34.95 | 600 | 0.8255 | 0.8261 |
|
105 |
+
| 0.0471 | 36.0 | 618 | 0.8239 | 0.8043 |
|
106 |
+
| 0.0669 | 36.99 | 635 | 0.8188 | 0.8043 |
|
107 |
+
| 0.0438 | 37.98 | 652 | 0.8443 | 0.8043 |
|
108 |
+
| 0.0549 | 38.97 | 669 | 0.8551 | 0.8043 |
|
109 |
+
| 0.0622 | 39.61 | 680 | 0.8551 | 0.8043 |
|
110 |
|
111 |
|
112 |
### Framework versions
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343230128
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d519d94f2bb4df47dc9347a3187e66b4816afc984d9e37dc690ae97419a97d94
|
3 |
size 343230128
|
runs/Jun23_14-57-58_DESKTOP-SKBE9FB/events.out.tfevents.1719176279.DESKTOP-SKBE9FB.17456.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:a986870debb3e2ffa520f0e6dd00cca347c315e3497133defd21a1b95fd7e821
|
3 |
+
size 28378
|