https://github.com/aidinhamedi/pytorch-project-template
A Simple Template For A PyTorch Classification Project π
https://github.com/aidinhamedi/pytorch-project-template
ai artificial-intelligence classification cnn cnn-classification deep-learning efficientnet python pytorch pytorch-classification pytorch-implementation pytorch-template template template-project
Last synced: 2 months ago
JSON representation
A Simple Template For A PyTorch Classification Project π
- Host: GitHub
- URL: https://github.com/aidinhamedi/pytorch-project-template
- Owner: AidinHamedi
- License: mit
- Created: 2024-04-25T13:54:43.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-01T16:14:03.000Z (8 months ago)
- Last Synced: 2024-11-26T15:50:20.406Z (6 months ago)
- Topics: ai, artificial-intelligence, classification, cnn, cnn-classification, deep-learning, efficientnet, python, pytorch, pytorch-classification, pytorch-implementation, pytorch-template, template, template-project
- Language: Jupyter Notebook
- Homepage:
- Size: 7.7 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Citation: CITATION.cff
Awesome Lists containing this project
README
# Classification with PyTorch
![]()
![]()
![]()
[](https://opensource.org/licenses/MIT)
[](https://github.com/astral-sh/ruff)This repository provides a template for image classification projects using PyTorch. It includes a Jupyter notebook (`main.ipynb`) that contains the main code for the project.
π§ There's a new version coming... π§
## π Getting Started
1. Clone this repository to your local machine.
2. Install the required dependencies listed in `requirements.txt`.
3. Open the `main.ipynb` Jupyter notebook and follow the instructions.## π Data Organization
Your data should be organized in the following structure:
```
ββββDatabase
β ββββcache # This folder will be created by the program
β ββββData # Put all the folders with images here
# Example β¬
β ββββbattery
β ββββbiological
β ββββbrown-glass
β ...
β ββββwhite-glass
```Each subfolder in the `Data` directory represents a class, and should contain the images for that class. For example, the `battery` folder should contain images of batteries, the `biological` folder should contain images of biological items, and so on.
## π READMEs in Folders
Each folder contains a README file that explains the contents of the folder. Please read these files for more information about the data.
## π¦ Running the Code
To run the code, simply open the `main.ipynb` Jupyter notebook and execute the cells in order.
## π Citing
```bib
@software{Hamedi_PyTorch-Project-Template,
author = {Aydin Hamedi},
license = {MIT},
title = {PyTorch-Project-Template},
url = {https://github.com/Aydinhamedi/PyTorch-Project-Template}
}
```## License
This project is licensed under the MIT License. See the `LICENSE` file for details.
Copyright (c) 2024 Aydin Hamedi
This software is released under the MIT License.
https://opensource.org/licenses/MIT