Spaces:
Sleeping
A newer version of the Gradio SDK is available: 6.13.0
license: mit
title: πΈ Fulla πΈ
sdk: gradio
emoji: π
colorFrom: pink
colorTo: purple
pinned: true
short_description: A flower classifier built with PyTorch and Gradio.
πΈ Fulla πΈ
Fulla (ΩΩΨ©) is a deep learning project that classifies flowers from images using a ResNet-based neural network and transfer learning. Built with PyTorch and deployed with Gradio, this app blends the elegance of nature with the power of machine learning.
Upload a picture of a flower. Watch the model guess. Let it bloom!
πΌοΈ Live Demo
You are looking at the live demo! For more details, check out the GitHub repository.
β¨ Features
- πΌ 102 Flower Classes: Trained on the comprehensive Flowers102 dataset.
- π§ Transfer Learning: Built on a pre-trained ResNet model for powerful feature extraction.
- π§ͺ High Accuracy: Achieves strong performance on the test set.
- πΌοΈ Interactive UI: A simple, beautiful interface built with Gradio.
- π Deployed: Live and accessible on Hugging Face Spaces.
π Results
The model was evaluated on a held-out test set, achieving the following performance:
- Final Test Accuracy: 79.38%
- Weighted F1-Score: 0.7886
Confusion Matrix
The confusion matrix below shows the model's high performance, with a strong diagonal indicating correct predictions across most classes.
π οΈ How to Run Locally
Clone the repository:
git clone [https://github.com/salihelfatih/fulla](https://github.com/salihelfatih/fulla) cd FullaInstall dependencies:
pip install -r requirements.txtLaunch the app:
python -m app.interface
π§ Model Architecture
- Backbone: Pre-trained ResNet (ImageNet)
- Strategy: Freeze the feature extractor and train a new classifier head with 102 outputs.
- Loss:
CrossEntropyLoss - Optimizer:
Adam - Framework: PyTorch
π Credits
Developed by Salih Elfatih as a capstone project on deep learning and computer vision. Flowers bloom. So should code!
