CoolFace
Modelpublic

Kushagra07/swinv2-base-patch4-window8-256-finetuned-ind-17-imbalanced-aadhaarmask

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

swinv2-base-patch4-window8-256-finetuned-ind-17-imbalanced-aadhaarmask

This model is a fine-tuned version of microsoft/swinv2-base-patch4-window8-256 on the imagefolder dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.3463
  • —Accuracy: 0.8463
  • —Recall: 0.8463
  • —F1: 0.8464
  • —Precision: 0.8482

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

Training results

Training LossEpochStepValidation LossAccuracyRecallF1Precision
No log0.99742930.62220.79010.79010.77370.7747
No log1.99835870.49010.80630.80630.79980.8066
No log2.99918810.43740.82250.82250.81700.8356
No log4.011750.42620.83400.83400.82700.8541
No log4.997414680.40790.83100.83100.82900.8379
No log5.998317620.41170.83700.83700.83610.8509
No log6.999120560.38070.83700.83700.83610.8416
No log8.023500.34190.85950.85950.85830.8609
No log8.997426430.36280.84380.84380.84240.8448
0.44929.974529300.36380.83990.83990.83940.8410

Framework versions

  • —Transformers 4.40.1
  • —Pytorch 2.2.0a0+81ea7a4
  • —Datasets 2.19.0
  • —Tokenizers 0.19.1