Commit
·
613be2f
1
Parent(s):
0b62d38
Update README.md
Browse files
README.md
CHANGED
@@ -4,7 +4,7 @@ base_model: google/vit-base-patch16-224-in21k
|
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
7 |
-
-
|
8 |
metrics:
|
9 |
- accuracy
|
10 |
- precision
|
@@ -16,8 +16,8 @@ model-index:
|
|
16 |
name: Image Classification
|
17 |
type: image-classification
|
18 |
dataset:
|
19 |
-
name:
|
20 |
-
type:
|
21 |
config: default
|
22 |
split: train
|
23 |
args: default
|
@@ -38,24 +38,31 @@ should probably proofread and complete it, then remove this comment. -->
|
|
38 |
|
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)
|
|
|
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 |
|
50 |
-
|
51 |
|
52 |
-
|
53 |
|
54 |
-
|
55 |
|
56 |
-
|
|
|
|
|
|
|
|
|
57 |
|
58 |
-
|
|
|
|
|
|
|
59 |
|
60 |
## Training procedure
|
61 |
|
|
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
7 |
+
- FastJobs/Visual_Emotional_Analysis
|
8 |
metrics:
|
9 |
- accuracy
|
10 |
- precision
|
|
|
16 |
name: Image Classification
|
17 |
type: image-classification
|
18 |
dataset:
|
19 |
+
name: FastJobs/Visual_Emotional_Analysis
|
20 |
+
type: FastJobs/Visual_Emotional_Analysis
|
21 |
config: default
|
22 |
split: train
|
23 |
args: default
|
|
|
38 |
|
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)
|
42 |
+
on the [FastJobs/Visual_Emotional_Analysis](https://huggingface.co/datasets/FastJobs/Visual_Emotional_Analysis) dataset.
|
43 |
It achieves the following results on the evaluation set:
|
44 |
- Loss: 1.2392
|
45 |
- Accuracy: 0.6188
|
46 |
- Precision: 0.6229
|
47 |
- F1: 0.6163
|
48 |
|
|
|
49 |
|
50 |
+
## Training and evaluation data
|
51 |
|
52 |
+
### Data Split
|
53 |
|
54 |
+
Used a 4:1 ratio for training and development sets and a seed of 42.
|
55 |
|
56 |
+
### Pre-processing Augmentation
|
57 |
+
|
58 |
+
The main pre-processing phase for both training and evaluation includes:
|
59 |
+
- Resizing to (224, 224, 3)
|
60 |
+
- Normalizing images using a mean and standard deviation of [0.5, 0.5, 0.5]
|
61 |
|
62 |
+
Other than the aforementioned pre-processing, the training set was augmented using:
|
63 |
+
- Random horizontal & vertical flip
|
64 |
+
- Color jitter
|
65 |
+
- Random resized crop
|
66 |
|
67 |
## Training procedure
|
68 |
|