{"id":27076225,"url":"https://github.com/aidinhamedi/pytorch-garbage-classification","last_synced_at":"2025-04-06T00:29:02.117Z","repository":{"id":233163447,"uuid":"786130760","full_name":"AidinHamedi/Pytorch-Garbage-Classification","owner":"AidinHamedi","description":"Welcome to the repository of our garbage classification project! We have developed a model using PyTorch and EfficientNet-B4 that classifies garbage into twelve different types. The model has achieved an impressive accuracy of 98.45%.","archived":false,"fork":false,"pushed_at":"2024-10-03T06:28:07.000Z","size":7886,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-26T15:50:20.973Z","etag":null,"topics":["classification","efficientnet","garbage-classification","garbage-detection","pyt","python","pytorch","pytorch-cnn","pytorch-tutorial"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AidinHamedi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-13T14:25:43.000Z","updated_at":"2024-10-03T06:28:10.000Z","dependencies_parsed_at":"2024-11-26T16:02:13.387Z","dependency_job_id":null,"html_url":"https://github.com/AidinHamedi/Pytorch-Garbage-Classification","commit_stats":null,"previous_names":["aydinhamedi/pytorch-garbage-classification","aidinhamedi/pytorch-garbage-classification"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AidinHamedi%2FPytorch-Garbage-Classification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AidinHamedi%2FPytorch-Garbage-Classification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AidinHamedi%2FPytorch-Garbage-Classification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AidinHamedi%2FPytorch-Garbage-Classification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AidinHamedi","download_url":"https://codeload.github.com/AidinHamedi/Pytorch-Garbage-Classification/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419616,"owners_count":20936009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["classification","efficientnet","garbage-classification","garbage-detection","pyt","python","pytorch","pytorch-cnn","pytorch-tutorial"],"created_at":"2025-04-06T00:29:01.738Z","updated_at":"2025-04-06T00:29:02.107Z","avatar_url":"https://github.com/AidinHamedi.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Garbage Classification with PyTorch\n\n\u003cimg src=\"https://img.shields.io/badge/Python-FFD43B?style=for-the-badge\u0026logo=python\u0026logoColor=blue\"/\u003e \u003cimg src=\"https://img.shields.io/badge/Jupyter-F37626.svg?\u0026style=for-the-badge\u0026logo=Jupyter\u0026logoColor=white\"/\u003e  \u003cimg src=\"https://img.shields.io/badge/PyTorch-EE4C2C?style=for-the-badge\u0026logo=pytorch\u0026logoColor=white\"/\u003e \n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n\nWelcome to the repository of our garbage classification project! We have developed a model using PyTorch and EfficientNet-B4 that classifies garbage into twelve different types. The model has achieved an impressive accuracy of **98.45%**.\n\n\u003ch3\u003e🚧 I made a new version here: https://github.com/Aydinhamedi/Pytorch-Garbage-Classification-V2 with a significantly improved training process + code and a different dataset 🚧\u003c/h3\u003e\n\n## Dataset\n\nThe dataset used for this project is the [Garbage Classification (12 classes) Dataset](https://www.kaggle.com/datasets/mostafaabla/garbage-classification) from Kaggle. It contains images of garbage, divided into twelve categories.\n\n## Model\n\nWe used the EfficientNet-B4 model for this project. EfficientNet-B4 is a convolutional neural network that is pretrained on the ImageNet dataset. It is known for its efficiency and high performance on a variety of image classification tasks.\n\n## Installation\n\nTo run the code in this repository, you will need to install the required libraries. You can do this by running the following command:\n\n```bash\npip install -r requirements.txt\n```\n\n## Usage\n\nThe main code for this project is in a Jupyter notebook named `Main.ipynb`. To run the notebook, use the following command:\n\n```bash\njupyter notebook Main.ipynb\n```\n\n## Results\n\nOur model achieved an accuracy of **98.45%** on the test set. This is a significant improvement over previous models, demonstrating the power of EfficientNet-B4 and PyTorch.\n\n\n## License\n\u003cpre\u003e\n Copyright (c) 2024 Aydin Hamedi\n \n This software is released under the MIT License.\n https://opensource.org/licenses/MIT\n\u003c/pre\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faidinhamedi%2Fpytorch-garbage-classification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faidinhamedi%2Fpytorch-garbage-classification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faidinhamedi%2Fpytorch-garbage-classification/lists"}