omaralshareef/beans-image-classifier
035
Bean Leaf Disease Classifier
Fine-tuned MobileNetV3-Small on AI-Lab-Makerere/beans.
Given a photo of a bean leaf, the model predicts one of:
angular_leaf_spotbean_rusthealthy
Metrics
Training ran for 5 epochs on Apple Silicon (MPS). The best checkpoint was restored before export.
Usage
from transformers import pipeline
clf = pipeline("image-classification", model="omaralshareef/beans-image-classifier")
print(clf("leaf.jpg"))Training hyperparameters
- learning rate:
5e-5 - train batch size: 16
- eval batch size: 16
- epochs: 5
- optimizer: AdamW
- seed: 42
