This project is a deep learning application that classifies flower images into five categories using transfer learning with MobileNetV2.
The model can classify:
- Daisy
- Dandelion
- Rose
- Sunflower
- Tulip
- Transfer Learning with MobileNetV2
- TensorFlow/Keras
- Gradio Web Interface
- Hugging Face Deployment
- Real-time Flower Prediction
- Validation Accuracy: 89.54%
- Python
- TensorFlow
- MobileNetV2
- NumPy
- Gradio
- Hugging Face Spaces
Flower_Classification.ipynb— Model training notebookflower_classifier_fixed.keras— Trained modelapp.py— Gradio applicationREADME.md— Project documentation
While deploying the model on Hugging Face, the model incorrectly predicted "dandelion" for almost every image.
The images were being normalized twice:
- First in
app.py - Again inside the model through a Rescaling layer
Removed the extra normalization step from app.py, which fixed the predictions and restored expected model performance.
- Support more flower species
- Add confidence visualization
- Improve model accuracy
- Deploy a mobile-friendly version
Try the application here: https://huggingface.co/spaces/Babu06/flower_classifier

