This is our Colab Notebook script for building a model to classify waste image.
Follow the steps below, and don't miss anything:
- Clone this repository via the command prompt
https://github.com/eco-craft/Machine-Learning.git - Extract EcoCraft Dataset zip file
- Navigate to the
model_new.ipynb - Go to terminal and type this
pip install opencv-python numpy pandas matplotlib seaborn tensorflow scikit-learn torch - Run the code in the notebook in the specified order, don't forget to check the dataset directory.
- Copy the notebook in this link
https://colab.research.google.com/drive/19gz5Bwl9JC1pvS5SAhil-1Bn-mNux7-R?authuser=3#scrollTo=L-IOplC8T3Zh - Download Dataset in
https://drive.google.com/drive/folders/14rlaYzfzXGF5v1FURKLtRgN1EPWCUk9S?usp=drive_link - Upload dataset to your google drive
- Change path to your drive
- Run the code in the specific order
- Go to the last code sequence in the notebook and run it. Then, input an image from the testing folder to recognize the image.
- Here is some images that you can try on the model
https://drive.google.com/drive/folders/19doFFzxGeuOd9I4H75Ekd9xQJqzIcZO-?usp=sharing
- Bohlam
- Botol Plastik
- Garpu
- Gelas Plastik
- Hanger
- Kain
- Kaleng
- Kardus
- Kertas
- Kotak susu
- Sendok
- Tutup Botol
EcoCraft Dataset
https://drive.google.com/drive/folders/14rlaYzfzXGF5v1FURKLtRgN1EPWCUk9S?usp=drive_link