📌 Project Overview
This project began as a comparative study of deep learning backbones for an assignment. I evaluated four distinct CNN architectures against the RealWaste dataset and transitioned the best-performing model into a functional, interactive web application.
📊 Performance Metrics
F1-Score
0.861
AUC
0.988
Superior class separation
Backbone
EfficientNet-B0
🚀 The "Colab to Production" Journey
Most machine learning models begin and end in a notebook. My goal was to ensure this model was accessible and testable.
- Model Selection: Evaluated four CNN backbones (ResNet50, ResNet100, EfficientNetB0, and VGG16); EfficientNet strictly outperformed candidates across all metrics.
- Optimization: Implemented L2 regularization, batch normalization, and a 20% dropout rate to ensure robust feature extraction
- Real-World Testing: The live demo allows users to bypass pre-cleaned datasets and test against "in-the-wild" images.
🎥 Video Walkthrough
This video demonstrates the model classifying a batch of waste images from the RealWaste dataset. Note that this shows an older version of the web app.
💻 Local Setup
To run this project on your machine:
git clone https://github.com/vinayaktiwariug20/waste-classify.git
cd waste-classify
pip install -r requirements.txt
streamlit run app.py