CoolFace
Modelpublic

uisikdag/beit-base-patch16-224-pt22k-ft22k-plant-seedling-classification

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

weeds_hfclass12

Model is trained on balanced dataset/ 250 image per class/ .8 .1 .1 split/ 224x224 resized

Dataset: https://www.kaggle.com/datasets/vbookshelf/v2-plant-seedlings-dataset

This model is a fine-tuned version of microsoft/beit-base-patch16-224-pt22k-ft22k on the imagefolder dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.1257
  • —Accuracy: 0.96

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: 16
  • —evalbatchsize: 16
  • —seed: 42
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 64
  • —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.60130.99370.75790.8067
0.38871.99740.28340.9033
0.28462.991110.27670.9
0.20863.991480.26420.9067
0.16644.991850.20160.9333
0.1685.992220.14980.9533
0.11596.992590.16070.9533
0.11957.992960.17190.9467
0.10138.993330.14420.9533
0.09399.993700.12570.96

Framework versions

  • —Transformers 4.26.1
  • —Pytorch 1.13.1+cu117
  • —Datasets 2.10.1
  • —Tokenizers 0.13.2