dukenmarga
commited on
Commit
•
aa74fc1
1
Parent(s):
8c7c0e0
End of training
Browse files
README.md
CHANGED
@@ -23,7 +23,7 @@ model-index:
|
|
23 |
metrics:
|
24 |
- name: Accuracy
|
25 |
type: accuracy
|
26 |
-
value: 0.
|
27 |
---
|
28 |
|
29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -33,8 +33,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
33 |
|
34 |
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the imagefolder dataset.
|
35 |
It achieves the following results on the evaluation set:
|
36 |
-
- Loss: 1.
|
37 |
-
- Accuracy: 0.
|
38 |
|
39 |
## Model description
|
40 |
|
@@ -53,7 +53,7 @@ More information needed
|
|
53 |
### Training hyperparameters
|
54 |
|
55 |
The following hyperparameters were used during training:
|
56 |
-
- learning_rate:
|
57 |
- train_batch_size: 16
|
58 |
- eval_batch_size: 16
|
59 |
- seed: 42
|
@@ -62,37 +62,32 @@ The following hyperparameters were used during training:
|
|
62 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
63 |
- lr_scheduler_type: linear
|
64 |
- lr_scheduler_warmup_ratio: 0.1
|
65 |
-
- num_epochs:
|
66 |
|
67 |
### Training results
|
68 |
|
69 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
70 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
71 |
-
|
|
72 |
-
|
|
73 |
-
|
|
74 |
-
|
|
75 |
-
|
|
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.1812 | 21.0 | 210 | 1.1438 | 0.6 |
|
92 |
-
| 0.1772 | 22.0 | 220 | 1.1521 | 0.5687 |
|
93 |
-
| 0.1735 | 23.0 | 230 | 1.1428 | 0.5938 |
|
94 |
-
| 0.1714 | 24.0 | 240 | 1.1487 | 0.6 |
|
95 |
-
| 0.1703 | 25.0 | 250 | 1.1462 | 0.6 |
|
96 |
|
97 |
|
98 |
### Framework versions
|
|
|
23 |
metrics:
|
24 |
- name: Accuracy
|
25 |
type: accuracy
|
26 |
+
value: 0.63125
|
27 |
---
|
28 |
|
29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
33 |
|
34 |
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the imagefolder dataset.
|
35 |
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 1.1383
|
37 |
+
- Accuracy: 0.6312
|
38 |
|
39 |
## Model description
|
40 |
|
|
|
53 |
### Training hyperparameters
|
54 |
|
55 |
The following hyperparameters were used during training:
|
56 |
+
- learning_rate: 0.0002
|
57 |
- train_batch_size: 16
|
58 |
- eval_batch_size: 16
|
59 |
- seed: 42
|
|
|
62 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
63 |
- lr_scheduler_type: linear
|
64 |
- lr_scheduler_warmup_ratio: 0.1
|
65 |
+
- num_epochs: 20
|
66 |
|
67 |
### Training results
|
68 |
|
69 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
70 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
71 |
+
| 0.925 | 1.0 | 10 | 1.3570 | 0.4688 |
|
72 |
+
| 0.8379 | 2.0 | 20 | 1.1685 | 0.5875 |
|
73 |
+
| 0.6737 | 3.0 | 30 | 1.1795 | 0.6 |
|
74 |
+
| 0.4606 | 4.0 | 40 | 1.1383 | 0.6312 |
|
75 |
+
| 0.3416 | 5.0 | 50 | 1.2393 | 0.5687 |
|
76 |
+
| 0.2493 | 6.0 | 60 | 1.3971 | 0.5938 |
|
77 |
+
| 0.2341 | 7.0 | 70 | 1.3546 | 0.6062 |
|
78 |
+
| 0.1797 | 8.0 | 80 | 1.3681 | 0.5938 |
|
79 |
+
| 0.1221 | 9.0 | 90 | 1.6936 | 0.525 |
|
80 |
+
| 0.1077 | 10.0 | 100 | 1.7008 | 0.5375 |
|
81 |
+
| 0.0966 | 11.0 | 110 | 1.7380 | 0.525 |
|
82 |
+
| 0.1073 | 12.0 | 120 | 1.5617 | 0.575 |
|
83 |
+
| 0.0849 | 13.0 | 130 | 1.6178 | 0.6125 |
|
84 |
+
| 0.0704 | 14.0 | 140 | 1.6144 | 0.6125 |
|
85 |
+
| 0.0568 | 15.0 | 150 | 1.6111 | 0.6188 |
|
86 |
+
| 0.0555 | 16.0 | 160 | 1.5946 | 0.6 |
|
87 |
+
| 0.0498 | 17.0 | 170 | 1.6291 | 0.625 |
|
88 |
+
| 0.0464 | 18.0 | 180 | 1.6574 | 0.6188 |
|
89 |
+
| 0.0443 | 19.0 | 190 | 1.6740 | 0.6125 |
|
90 |
+
| 0.0429 | 20.0 | 200 | 1.6781 | 0.6125 |
|
|
|
|
|
|
|
|
|
|
|
91 |
|
92 |
|
93 |
### Framework versions
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343242432
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0bd136bdcebdf6230b9b0e7ba43c9a9685396df52e49b919137c1aa2a6a12bd3
|
3 |
size 343242432
|
runs/Sep06_02-37-56_bb27b7ff2174/events.out.tfevents.1725590288.bb27b7ff2174.6450.16
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:333ed51d42d54538908ad59e7988641b54d50808b6fa99fa57d5fca2b4b90be1
|
3 |
+
size 16165
|
runs/Sep06_02-37-56_bb27b7ff2174/events.out.tfevents.1725591071.bb27b7ff2174.6450.17
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:65c374fdb4cf03c6a70e936cdddd6637e5889c1cd56ca7e72a82b9382bd11d43
|
3 |
+
size 411
|