CoolFace
Modelpublic

amjadfqs/swin-base-patch4-window7-224-in22k-finetuned-brain-tumor-skullStrippded_03

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
0likes39downloads
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-base-patch4-window7-224-in22k-finetuned-brain-tumor-skullStrippded_03

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

  • —Loss: 0.0706
  • —Accuracy: 0.9758

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: 6e-05
  • —trainbatchsize: 128
  • —evalbatchsize: 128
  • —seed: 42
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 512
  • —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 LossAccuracy
1.28091.0110.71110.7153
0.45542.0220.22330.9139
0.23823.0330.17300.9388
0.14534.0440.14440.9509
0.10645.0550.09000.9665
0.0796.0660.08660.9665
0.06067.0770.17440.9402
0.05618.0880.11160.9580
0.04069.0990.07260.9730
0.030610.01100.07060.9758

Framework versions

  • —Transformers 4.27.4
  • —Pytorch 2.0.0+cu117
  • —Datasets 2.11.0
  • —Tokenizers 0.13.3