Rice Leaf Classifier
Classifying rice-leaf disease with a CNN.
The problem
Early disease identification in crops is valuable but needs accurate, automatable classification.
What it does
Trains a ResNet18 classifier on a multi-class Kaggle rice-leaf-disease dataset, with preprocessing, a training loop and prediction visualization.
Stack
- Python
- PyTorch
- ResNet18
- torchvision
My role
- Preprocessing
- Model selection
- Training loop
- Visualization
Highlights
Transfer learning
Fine-tunes a pretrained ResNet18 instead of training from scratch, getting strong accuracy on a small set.
Visualized predictions
Outputs predicted disease classes alongside the input leaves for quick sanity checks.