dennisjooo
commited on
Commit
·
0e08b02
1
Parent(s):
db7c9e1
End of training
Browse files- README.md +3 -73
- config.json +0 -1
- pytorch_model.bin +1 -1
README.md
CHANGED
@@ -5,24 +5,9 @@ tags:
|
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
7 |
- imagefolder
|
8 |
-
metrics:
|
9 |
-
- accuracy
|
10 |
model-index:
|
11 |
- name: emo-vit-base-patch16-224-in21k
|
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: train
|
21 |
-
args: default
|
22 |
-
metrics:
|
23 |
-
- name: Accuracy
|
24 |
-
type: accuracy
|
25 |
-
value: 0.6
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -31,9 +16,6 @@ should probably proofread and complete it, then remove this comment. -->
|
|
31 |
# emo-vit-base-patch16-224-in21k
|
32 |
|
33 |
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.
|
34 |
-
It achieves the following results on the evaluation set:
|
35 |
-
- Loss: 1.1350
|
36 |
-
- Accuracy: 0.6
|
37 |
|
38 |
## Model description
|
39 |
|
@@ -52,67 +34,15 @@ More information needed
|
|
52 |
### Training hyperparameters
|
53 |
|
54 |
The following hyperparameters were used during training:
|
55 |
-
- learning_rate:
|
56 |
- train_batch_size: 64
|
57 |
- eval_batch_size: 64
|
58 |
- seed: 42
|
59 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
-
- lr_scheduler_type:
|
61 |
- lr_scheduler_warmup_steps: 10
|
62 |
- num_epochs: 250
|
63 |
|
64 |
-
### Training results
|
65 |
-
|
66 |
-
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
67 |
-
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
68 |
-
| 2.0786 | 1.0 | 10 | 2.0448 | 0.2875 |
|
69 |
-
| 2.0107 | 2.0 | 20 | 1.9673 | 0.3125 |
|
70 |
-
| 1.8902 | 3.0 | 30 | 1.8561 | 0.4125 |
|
71 |
-
| 1.7355 | 4.0 | 40 | 1.6772 | 0.475 |
|
72 |
-
| 1.5861 | 5.0 | 50 | 1.5472 | 0.5 |
|
73 |
-
| 1.4665 | 6.0 | 60 | 1.4588 | 0.5375 |
|
74 |
-
| 1.3571 | 7.0 | 70 | 1.3812 | 0.5188 |
|
75 |
-
| 1.2465 | 8.0 | 80 | 1.3115 | 0.5312 |
|
76 |
-
| 1.1512 | 9.0 | 90 | 1.2910 | 0.525 |
|
77 |
-
| 1.0691 | 10.0 | 100 | 1.2342 | 0.5125 |
|
78 |
-
| 0.9837 | 11.0 | 110 | 1.2130 | 0.5437 |
|
79 |
-
| 0.9008 | 12.0 | 120 | 1.2073 | 0.5563 |
|
80 |
-
| 0.8315 | 13.0 | 130 | 1.1994 | 0.55 |
|
81 |
-
| 0.7634 | 14.0 | 140 | 1.1707 | 0.5563 |
|
82 |
-
| 0.709 | 15.0 | 150 | 1.1815 | 0.5563 |
|
83 |
-
| 0.6516 | 16.0 | 160 | 1.1622 | 0.5938 |
|
84 |
-
| 0.5933 | 17.0 | 170 | 1.2124 | 0.5312 |
|
85 |
-
| 0.5902 | 18.0 | 180 | 1.1782 | 0.5625 |
|
86 |
-
| 0.5122 | 19.0 | 190 | 1.2203 | 0.5625 |
|
87 |
-
| 0.4661 | 20.0 | 200 | 1.1928 | 0.5563 |
|
88 |
-
| 0.4797 | 21.0 | 210 | 1.1350 | 0.6 |
|
89 |
-
| 0.4459 | 22.0 | 220 | 1.2052 | 0.5563 |
|
90 |
-
| 0.4308 | 23.0 | 230 | 1.1729 | 0.5875 |
|
91 |
-
| 0.4121 | 24.0 | 240 | 1.2045 | 0.5375 |
|
92 |
-
| 0.3571 | 25.0 | 250 | 1.1906 | 0.6 |
|
93 |
-
| 0.3294 | 26.0 | 260 | 1.2311 | 0.5563 |
|
94 |
-
| 0.3661 | 27.0 | 270 | 1.2366 | 0.5375 |
|
95 |
-
| 0.328 | 28.0 | 280 | 1.2087 | 0.6 |
|
96 |
-
| 0.3352 | 29.0 | 290 | 1.2005 | 0.575 |
|
97 |
-
| 0.2923 | 30.0 | 300 | 1.2005 | 0.5813 |
|
98 |
-
| 0.2607 | 31.0 | 310 | 1.2309 | 0.5563 |
|
99 |
-
| 0.277 | 32.0 | 320 | 1.2385 | 0.5813 |
|
100 |
-
| 0.2678 | 33.0 | 330 | 1.2511 | 0.5563 |
|
101 |
-
| 0.2611 | 34.0 | 340 | 1.2675 | 0.575 |
|
102 |
-
| 0.2559 | 35.0 | 350 | 1.2869 | 0.575 |
|
103 |
-
| 0.2813 | 36.0 | 360 | 1.3965 | 0.55 |
|
104 |
-
| 0.2527 | 37.0 | 370 | 1.2851 | 0.6 |
|
105 |
-
| 0.2466 | 38.0 | 380 | 1.3265 | 0.55 |
|
106 |
-
| 0.2648 | 39.0 | 390 | 1.3024 | 0.575 |
|
107 |
-
| 0.2607 | 40.0 | 400 | 1.3884 | 0.5375 |
|
108 |
-
| 0.222 | 41.0 | 410 | 1.2922 | 0.5625 |
|
109 |
-
| 0.2095 | 42.0 | 420 | 1.3410 | 0.5437 |
|
110 |
-
| 0.197 | 43.0 | 430 | 1.3482 | 0.575 |
|
111 |
-
| 0.1964 | 44.0 | 440 | 1.3416 | 0.5687 |
|
112 |
-
| 0.2133 | 45.0 | 450 | 1.4440 | 0.5687 |
|
113 |
-
| 0.2095 | 46.0 | 460 | 1.3465 | 0.5437 |
|
114 |
-
|
115 |
-
|
116 |
### Framework versions
|
117 |
|
118 |
- Transformers 4.33.1
|
|
|
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 |
# 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 |
|
|
|
34 |
### Training hyperparameters
|
35 |
|
36 |
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 0.0003
|
38 |
- train_batch_size: 64
|
39 |
- eval_batch_size: 64
|
40 |
- seed: 42
|
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: 250
|
45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
### Framework versions
|
47 |
|
48 |
- Transformers 4.33.1
|
config.json
CHANGED
@@ -37,7 +37,6 @@
|
|
37 |
"num_channels": 3,
|
38 |
"num_hidden_layers": 12,
|
39 |
"patch_size": 16,
|
40 |
-
"problem_type": "single_label_classification",
|
41 |
"qkv_bias": true,
|
42 |
"torch_dtype": "float32",
|
43 |
"transformers_version": "4.33.1"
|
|
|
37 |
"num_channels": 3,
|
38 |
"num_hidden_layers": 12,
|
39 |
"patch_size": 16,
|
|
|
40 |
"qkv_bias": true,
|
41 |
"torch_dtype": "float32",
|
42 |
"transformers_version": "4.33.1"
|
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:6284a376dcb48b6521a7bd43133e1f7e23877d7a1d5dd97380390c5f62c1c5d9
|
3 |
size 343287149
|