CoolFace
Modelpublic

uisikdag/vit-base-patch16-224-in21k-plant-seedling-classification

sourceHugging Faceapache-2.0updated 4y agoView on Hugging Face
1likes16downloads
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_hfclass11

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 google/vit-base-patch16-224-in21k on the imagefolder dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.3603
  • —Accuracy: 0.9567

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
2.30890.99372.04220.7133
1.44651.99741.22270.8767
0.84552.991110.81210.9067
0.65793.991480.61610.9267
0.51634.991850.50310.94
0.43745.992220.40780.9633
0.39126.992590.41340.9467
0.3587.992960.42070.9233
0.35098.993330.37680.95
0.32889.993700.36030.9567

Framework versions

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