Team Ai
Modelpublic

jayanta/google-vit-base-patch16-224-cartoon-face-recognition

sourceHugging Faceapache-2.0updated 4y agoView on Hugging Face
2likes20downloads
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. -->

google-vit-base-patch16-224-cartoon-face-recognition

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

  • —Loss: 0.3707
  • —Accuracy: 0.9005
  • —Precision: 0.9066
  • —Recall: 0.9005
  • —F1: 0.8984

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: 0.00012
  • —trainbatchsize: 64
  • —evalbatchsize: 64
  • —seed: 42
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 256
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —lrschedulerwarmup_ratio: 0.1
  • —num_epochs: 20

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1
No log0.8960.54590.86110.86830.86110.8577
0.08121.89120.47030.87960.88330.87960.8764
0.08122.89180.44300.89350.89690.89350.8906
0.03073.89240.40450.88190.88490.88190.8767
0.00914.89300.36720.90050.90250.90050.8980
0.00915.89360.38410.90280.91250.90280.9011
0.00436.89420.39260.90050.90730.90050.8972
0.00437.89480.37860.89580.90050.89580.8931
0.00318.89540.37910.90280.90910.90280.9007
0.0029.89600.36770.90280.91060.90280.9001
0.00210.89660.37400.90280.90990.90280.9007
0.002711.89720.38690.89810.90430.89810.8956
0.002712.89780.38010.89810.90210.89810.8954
0.00413.89840.36740.90510.91130.90510.9028
0.002414.89900.36200.90510.90960.90510.9027
0.002415.89960.36700.90280.90890.90280.9006
0.002116.891020.38270.90050.90650.90050.8980
0.002117.891080.37480.89810.90490.89810.8958
0.002218.891140.38250.90280.91010.90280.9006
0.001919.891200.37070.90050.90660.90050.8984

Framework versions

  • —Transformers 4.24.0.dev0
  • —Pytorch 1.11.0+cu102
  • —Datasets 2.6.1
  • —Tokenizers 0.13.1