Commit
·
0b62d38
1
Parent(s):
9bcc25b
End of training
Browse files- README.md +79 -2
- pytorch_model.bin +1 -1
README.md
CHANGED
|
@@ -5,9 +5,32 @@ tags:
|
|
| 5 |
- generated_from_trainer
|
| 6 |
datasets:
|
| 7 |
- imagefolder
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
model-index:
|
| 9 |
- name: emo-vit-base-patch16-224-in21k
|
| 10 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -16,6 +39,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 16 |
# emo-vit-base-patch16-224-in21k
|
| 17 |
|
| 18 |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
## Model description
|
| 21 |
|
|
@@ -41,7 +69,56 @@ The following hyperparameters were used during training:
|
|
| 41 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 42 |
- lr_scheduler_type: cosine_with_restarts
|
| 43 |
- lr_scheduler_warmup_steps: 10
|
| 44 |
-
- num_epochs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
### Framework versions
|
| 47 |
|
|
|
|
| 5 |
- generated_from_trainer
|
| 6 |
datasets:
|
| 7 |
- imagefolder
|
| 8 |
+
metrics:
|
| 9 |
+
- accuracy
|
| 10 |
+
- precision
|
| 11 |
+
- f1
|
| 12 |
model-index:
|
| 13 |
- name: emo-vit-base-patch16-224-in21k
|
| 14 |
+
results:
|
| 15 |
+
- task:
|
| 16 |
+
name: Image Classification
|
| 17 |
+
type: image-classification
|
| 18 |
+
dataset:
|
| 19 |
+
name: imagefolder
|
| 20 |
+
type: imagefolder
|
| 21 |
+
config: default
|
| 22 |
+
split: train
|
| 23 |
+
args: default
|
| 24 |
+
metrics:
|
| 25 |
+
- name: Accuracy
|
| 26 |
+
type: accuracy
|
| 27 |
+
value: 0.61875
|
| 28 |
+
- name: Precision
|
| 29 |
+
type: precision
|
| 30 |
+
value: 0.6229001976284585
|
| 31 |
+
- name: F1
|
| 32 |
+
type: f1
|
| 33 |
+
value: 0.6163114517061885
|
| 34 |
---
|
| 35 |
|
| 36 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 39 |
# emo-vit-base-patch16-224-in21k
|
| 40 |
|
| 41 |
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.
|
| 42 |
+
It achieves the following results on the evaluation set:
|
| 43 |
+
- Loss: 1.2392
|
| 44 |
+
- Accuracy: 0.6188
|
| 45 |
+
- Precision: 0.6229
|
| 46 |
+
- F1: 0.6163
|
| 47 |
|
| 48 |
## Model description
|
| 49 |
|
|
|
|
| 69 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 70 |
- lr_scheduler_type: cosine_with_restarts
|
| 71 |
- lr_scheduler_warmup_steps: 10
|
| 72 |
+
- num_epochs: 100
|
| 73 |
+
|
| 74 |
+
### Training results
|
| 75 |
+
|
| 76 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | F1 |
|
| 77 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|
|
| 78 |
+
| 2.0652 | 1.0 | 10 | 1.9712 | 0.35 | 0.3441 | 0.3294 |
|
| 79 |
+
| 1.9006 | 2.0 | 20 | 1.6055 | 0.425 | 0.3497 | 0.3578 |
|
| 80 |
+
| 1.6274 | 3.0 | 30 | 1.4991 | 0.4875 | 0.5747 | 0.4621 |
|
| 81 |
+
| 1.4742 | 4.0 | 40 | 1.4417 | 0.4313 | 0.4744 | 0.4037 |
|
| 82 |
+
| 1.3546 | 5.0 | 50 | 1.3699 | 0.4125 | 0.3896 | 0.3387 |
|
| 83 |
+
| 1.2574 | 6.0 | 60 | 1.2200 | 0.5125 | 0.5072 | 0.4783 |
|
| 84 |
+
| 1.183 | 7.0 | 70 | 1.1368 | 0.5375 | 0.5802 | 0.5341 |
|
| 85 |
+
| 1.0869 | 8.0 | 80 | 1.1332 | 0.5687 | 0.6024 | 0.5622 |
|
| 86 |
+
| 1.002 | 9.0 | 90 | 1.1178 | 0.55 | 0.5663 | 0.5423 |
|
| 87 |
+
| 0.9453 | 10.0 | 100 | 1.1601 | 0.5563 | 0.5994 | 0.5515 |
|
| 88 |
+
| 0.9495 | 11.0 | 110 | 1.1202 | 0.525 | 0.5695 | 0.5266 |
|
| 89 |
+
| 0.7805 | 12.0 | 120 | 1.1620 | 0.5375 | 0.5577 | 0.5323 |
|
| 90 |
+
| 0.7487 | 13.0 | 130 | 1.2094 | 0.5687 | 0.6218 | 0.5716 |
|
| 91 |
+
| 0.6805 | 14.0 | 140 | 1.2662 | 0.5437 | 0.5875 | 0.5345 |
|
| 92 |
+
| 0.6491 | 15.0 | 150 | 1.1673 | 0.5625 | 0.5707 | 0.5511 |
|
| 93 |
+
| 0.6168 | 16.0 | 160 | 1.2981 | 0.475 | 0.5388 | 0.4846 |
|
| 94 |
+
| 0.5512 | 17.0 | 170 | 1.2624 | 0.575 | 0.6110 | 0.5726 |
|
| 95 |
+
| 0.5532 | 18.0 | 180 | 1.2392 | 0.6188 | 0.6229 | 0.6163 |
|
| 96 |
+
| 0.4931 | 19.0 | 190 | 1.4012 | 0.5375 | 0.5542 | 0.5277 |
|
| 97 |
+
| 0.4919 | 20.0 | 200 | 1.2323 | 0.5813 | 0.5825 | 0.5758 |
|
| 98 |
+
| 0.4243 | 21.0 | 210 | 1.3046 | 0.5875 | 0.5967 | 0.5750 |
|
| 99 |
+
| 0.3971 | 22.0 | 220 | 1.3169 | 0.5687 | 0.5812 | 0.5610 |
|
| 100 |
+
| 0.3534 | 23.0 | 230 | 1.4052 | 0.5625 | 0.6240 | 0.5527 |
|
| 101 |
+
| 0.3456 | 24.0 | 240 | 1.3372 | 0.5875 | 0.5998 | 0.5838 |
|
| 102 |
+
| 0.3381 | 25.0 | 250 | 1.4000 | 0.55 | 0.5589 | 0.5468 |
|
| 103 |
+
| 0.3786 | 26.0 | 260 | 1.3531 | 0.5687 | 0.6269 | 0.5764 |
|
| 104 |
+
| 0.3614 | 27.0 | 270 | 1.3696 | 0.5687 | 0.6019 | 0.5704 |
|
| 105 |
+
| 0.312 | 28.0 | 280 | 1.3523 | 0.6125 | 0.6351 | 0.6148 |
|
| 106 |
+
| 0.2643 | 29.0 | 290 | 1.4510 | 0.5813 | 0.6286 | 0.5825 |
|
| 107 |
+
| 0.3553 | 30.0 | 300 | 1.5255 | 0.6062 | 0.6560 | 0.6113 |
|
| 108 |
+
| 0.2807 | 31.0 | 310 | 1.5901 | 0.5813 | 0.5921 | 0.5655 |
|
| 109 |
+
| 0.3252 | 32.0 | 320 | 1.5669 | 0.575 | 0.5764 | 0.5639 |
|
| 110 |
+
| 0.3796 | 33.0 | 330 | 1.6251 | 0.5375 | 0.5776 | 0.5431 |
|
| 111 |
+
| 0.2635 | 34.0 | 340 | 1.7397 | 0.4938 | 0.5513 | 0.4944 |
|
| 112 |
+
| 0.2583 | 35.0 | 350 | 1.4806 | 0.6 | 0.6566 | 0.6099 |
|
| 113 |
+
| 0.3006 | 36.0 | 360 | 1.4808 | 0.5813 | 0.6310 | 0.5863 |
|
| 114 |
+
| 0.3082 | 37.0 | 370 | 1.7077 | 0.5188 | 0.5680 | 0.5156 |
|
| 115 |
+
| 0.3346 | 38.0 | 380 | 1.6861 | 0.575 | 0.6725 | 0.5638 |
|
| 116 |
+
| 0.291 | 39.0 | 390 | 1.5484 | 0.5625 | 0.5631 | 0.5535 |
|
| 117 |
+
| 0.2313 | 40.0 | 400 | 1.4933 | 0.5563 | 0.5564 | 0.5526 |
|
| 118 |
+
| 0.2163 | 41.0 | 410 | 1.5836 | 0.5938 | 0.6046 | 0.5929 |
|
| 119 |
+
| 0.2201 | 42.0 | 420 | 1.6363 | 0.5687 | 0.5954 | 0.5672 |
|
| 120 |
+
| 0.2077 | 43.0 | 430 | 1.6746 | 0.5687 | 0.5623 | 0.5622 |
|
| 121 |
+
|
| 122 |
|
| 123 |
### Framework versions
|
| 124 |
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 343287149
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0bdad8a5d4a790fac4ffe32edf6264cc637646f967d4d994484400f923b8808d
|
| 3 |
size 343287149
|