A convolutional neural network that classifies waste based on whether it is recyclable or organic.
The Waste Classifier is a deep learning model built for the purpose of waste classification. It utilizes a custom convolutional neural network (CNN) to classify waste into two categories: organic and recyclable. This is a personal deep learning project using PyTorch that aims to contribute to waste management initiatives by automating the sorting process, impacting the environment for the better! :)
- Convolutional Neural Network for waste classification.
- Binary classification: Organic and Recyclable.
- Model training script for customization.
- Model testing script for predictions with a trained model
An example of prediction results from a trained model with an average of 90% accuracy:

To get started, follow these steps:
-
Clone the repository:
git clone https://github.com/alvaroderas/waste-classifier.git
-
Install dependencies:
pip install -r requirements.txt
-
Edit any constants to experiment with training.
-
Navigate to src directory and run the model training script:
python train.py
To use the Waste Classifier to visualize waste classification predictions with a trained model, navigate to test directory and run the script:
python predictions.pyThis project is licensed under the MIT License.