CoolFace
Modelpublic

RickyIG/emotion_face_image_classification

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
2likes15downloads
Model Card

<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->

emotionfaceimage_classification

This model is a fine-tuned version of google/vit-base-patch16-224-in21k on the imagefolder dataset. It achieves the following results on the evaluation set:

  • Loss: 1.2110
  • Accuracy: 0.55

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 5e-05
  • trainbatchsize: 64
  • evalbatchsize: 64
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • num_epochs: 50

Training results

Training LossEpochStepValidation LossAccuracy
2.07171.0102.05930.2062
2.0052.0201.99990.2625
1.91693.0301.89310.35
1.76354.0401.76160.4062
1.66145.0501.64520.4562
1.61826.0601.56610.4125
1.54347.0701.51830.4125
1.468.0801.47810.4875
1.45649.0901.39390.5125
1.296610.01001.38000.4562
1.373211.01101.35570.475
1.290712.01201.34730.5
1.287513.01301.34160.5312
1.274314.01401.29640.4875
1.124915.01501.23850.525
1.096316.01601.27750.5062
1.026117.01701.27510.5125
0.929818.01801.23180.525
1.066819.01901.25200.5437
0.993320.02001.25120.525
1.106921.02101.30160.5
1.027922.02201.32790.475
0.96723.02301.24810.5
0.811524.02401.17910.5563
0.791225.02501.23360.55
0.929426.02601.17590.5813
0.893627.02701.16850.6
0.770628.02801.24030.5312
0.769429.02901.24790.5687
0.726530.03001.20000.5625
0.678131.03101.18560.55
0.667632.03201.26610.5437
0.725433.03301.19860.5437
0.739634.03401.14970.575
0.553235.03501.27960.5062
0.62236.03601.27490.5125
0.695837.03701.20340.5687
0.610238.03801.25760.5188
0.616139.03901.26350.5062
0.692740.04001.15350.5437
0.54941.04101.14050.6
0.666842.04201.26830.5312
0.514443.04301.22490.6
0.670344.04401.22970.5687
0.638345.04501.15070.6062
0.521146.04601.29140.4813
0.474347.04701.27820.5125
0.55348.04801.22560.5375
0.640749.04901.21490.5687
0.419550.05001.20240.5625

Framework versions

  • Transformers 4.33.2
  • Pytorch 2.0.1+cu118
  • Datasets 2.14.5
  • Tokenizers 0.13.3