CNN-based leaf disease classifier (38 classes) with a Streamlit inference UI and recorded training history.
Companion model weights also live in plant-disease-detector (trained_plant_disease_model.keras).
Upload a plant leaf image and get a disease class prediction plus a short care recommendation. Training was done in Train_Plant.ipynb; inference UI is main2.py (Streamlit + TensorFlow/Keras).
- TensorFlow / Keras
- NumPy
- Streamlit
- Training notebook +
training_hist.json
- Multi-crop disease recognition (Apple, Corn, Grape, Potato, Tomato, … — 38 labels)
- Confidence from model softmax
- Rule-based treatment tips per class
- Team project (Ribhu S, Saketh, Varun) per UI about section
Three logged epochs:
| Epoch | Train acc | Val acc |
|---|---|---|
| 1 | ~57.8% | ~84.1% |
| 2 | ~85.9% | ~91.4% |
| 3 | ~91.5% | ~91.0% |
Final logged validation accuracy ≈ 91.0%. No additional held-out test metrics are recorded in-repo beyond this history file.
- Obtain
trained_plant_disease_model.keras(seeplant-disease-detectoror your training output). pip install tensorflow streamlit numpystreamlit run main2.py
Train_Plant.ipynb training
main2.py Streamlit app
training_hist.json logged accuracy/loss
*.JPG / pptx samples / slides
- Publish eval on a fixed test split with confusion matrix
- Slimmer dependency story and model card
- Merge classifier + detector repos for a single recruiter entry point