CoolFace
Modelpublic

DrishtiSharma/finetuned-SwinT-Indian-Food-Classification-v3

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

finetuned-SwinT-Indian-Food-Classification-v3

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

  • —Loss: 0.2910
  • —Accuracy: 0.9437

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.0002
  • —trainbatchsize: 16
  • —evalbatchsize: 8
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 10
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracy
0.95110.31000.60920.8172
0.62140.62000.44060.8672
0.73550.93000.36650.8927
0.60781.24000.32850.9065
0.4391.55000.38550.8916
0.36441.86000.40820.8969
0.47482.17000.34960.9022
0.39662.48000.36260.8905
0.57992.79000.48330.8767
0.29953.010000.33870.9044
0.31523.311000.37390.9097
0.32843.612000.42170.8916
0.36313.913000.41180.9044
0.2194.214000.37210.9139
0.28744.515000.30300.9288
0.28194.816000.40560.9150
0.17555.1117000.40390.9097
0.24625.4118000.35500.9118
0.17375.7119000.34440.9150
0.1746.0120000.36670.9160
0.15366.3121000.33010.9288
0.09116.6122000.33900.9299
0.09076.9123000.29230.9288
0.09217.2124000.35020.9256
0.16627.5125000.31970.9341
0.06077.8126000.30920.9362
0.1118.1127000.31460.9394
0.05888.4128000.30690.9341
0.1318.7129000.29710.9405
0.19039.0130000.30780.9384
0.21169.3131000.31120.9341
0.14159.6132000.29560.9405
0.11069.9133000.29100.9437

Framework versions

  • —Transformers 4.21.2
  • —Pytorch 1.12.1+cu113
  • —Datasets 2.4.0
  • —Tokenizers 0.12.1