Downloads · 30 days
0
kiu098/plant-disease-vit
plant-disease-vit is a image classification model from kiu098. Use it when you need a label for an image. It is set up for pytorch. The card lists the license as mit.
A Vision Transformer (ViT) built from scratch using PyTorch for classifying plant leaf diseases.
Downloads · 30 days
0
Access
Public
Updated Aug 8, 2026
Repo size
57.3 MB
Likes
0
Public
Click a slice to open those files.
.pth57.3 MB · 100%
From the Hugging Face model README
A Vision Transformer (ViT) built from scratch using PyTorch for classifying plant leaf diseases.
The model takes a 64×64 RGB image as input and predicts one of 39 plant disease classes.
The model achieved approximately:
64 × 6439Test accuracy may vary slightly depending on the training configuration and dataset split.
This implementation uses a custom Vision Transformer rather than a pretrained ViT.
Images are divided into 8 × 8 patches.
For a 64 × 64 image:
64 / 8 = 8