Skip to content

prathik-05/WEEK3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

♻️ Smart Waste Classification – Week 3 Deep Learning Model + Web App (Streamlit)

A Sustainability-Themed AI Project

πŸ“Œ Overview This project is part of the Skill4Future AI/ML Internship (Sustainability Theme). In Week 3, the goal is to:

->Train a CNN model to classify Organic vs Recyclable waste ->Preprocess and load dataset from Kaggle ->Generate training accuracy graph ->Save the trained model ->Build a simple Streamlit Web App for prediction ->Upload everything to GitHub

πŸ“ Dataset Dataset (Kaggle): πŸ”— https://www.kaggle.com/datasets/techsash/waste-classification-data

The dataset contains 2 classes: O β†’ Organic Waste R β†’ Recyclable Waste Folder structure: DATASET/ │── TRAIN/ β”‚ β”œβ”€β”€ O/ β”‚ └── R/ β”‚ └── TEST/ β”œβ”€β”€ O/ └── R/ 🧠 Model (CNN) A simple CNN model was trained: Input size: 128Γ—128Γ—3 Optimizer: Adam Loss: Categorical Crossentropy Epochs: 10 Classes: 2 Files saved as: waste_cnn_model.h5 accuracy_plot.png

πŸ“™ Notebook Training code is inside: πŸ“„ Week3-train.ipynb

This notebook includes: -Dataset loading -Preprocessing -Model training -Accuracy plot -Model saving

🌐 Streamlit Web App File: app2.py This app allows users to upload an image and predicts: -Organic Waste -Recyclable Waste

pip install -r requirements.txt streamlit run app2.py

πŸ“‚ Repository Structure WEEK3/ │── README.md │── Week3-train.ipynb │── app2.py │── accuracy_plot.png │── waste_cnn_model.h5 (LFS) │── requirements.txt

✍️ Author

S. Prathik GitHub: https://github.com/prathik-05

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors