CoolFace
Modelpublic

gcperk20/swin-tiny-patch4-window7-224-finetuned-piid

sourceHugging Faceapache-2.0updated 3y 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. -->

swin-tiny-patch4-window7-224-finetuned-piid

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

  • Loss: 0.5715
  • Accuracy: 0.7854

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: 20

Training results

Training LossEpochStepValidation LossAccuracy
1.20880.98201.16610.4521
0.75452.0410.88660.6073
0.62812.98610.77880.6849
0.59394.0820.64430.7397
0.52544.981020.50970.7808
0.55836.01230.57150.7854
0.34636.981430.61630.7352
0.38788.01640.56710.7671
0.36538.981840.56900.7580
0.352910.02050.59400.7580
0.30110.982250.63030.7626
0.263912.02460.57250.7763
0.284712.982660.62800.7717
0.2514.02870.59750.7717
0.247214.983070.58210.7671
0.167616.03280.64560.7626
0.132716.983480.61170.7671
0.197718.03690.69880.7489
0.160218.983890.64480.7671
0.178519.514000.63330.7717

Framework versions

  • Transformers 4.35.0
  • Pytorch 2.1.0+cu118
  • Datasets 2.14.6
  • Tokenizers 0.14.1