CoolFace
Modelpublic

Kushagra07/swinv2-tiny-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-tiny-patch4-window8-256-finetuned-ind-17-imbalanced-aadhaarmask

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

  • —Loss: 0.3601
  • —Accuracy: 0.8565
  • —Recall: 0.8565
  • —F1: 0.8537
  • —Precision: 0.8631

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.66450.78200.78200.76610.7678
No log1.99835870.54930.80330.80330.78970.7964
No log2.99918810.42420.84160.84160.83800.8460
No log4.011750.41240.83100.83100.82880.8299
No log4.997414680.37690.84120.84120.83880.8478
No log5.998317620.35890.85010.85010.84810.8582
No log6.999120560.35030.84550.84550.84560.8535
No log8.023500.34000.84040.84040.84160.8465
No log8.997426430.35330.84800.84800.84800.8501
0.52149.974529300.33580.84590.84590.84600.8473

Framework versions

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