pytorch-project-template

A Simple Template For A PyTorch Classification Project πŸ˜„

https://github.com/aidinhamedi/pytorch-project-template

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • βœ“
    CITATION.cff file
    Found CITATION.cff file
  • βœ“
    codemeta.json file
    Found codemeta.json file
  • βœ“
    .zenodo.json file
    Found .zenodo.json file
  • β—‹
    DOI references
  • β—‹
    Academic publication links
  • β—‹
    Academic email domains
  • β—‹
    Institutional organization owner
  • β—‹
    JOSS paper metadata
  • β—‹
    Scientific vocabulary similarity
    Low similarity (14.0%) to scientific vocabulary

Keywords

ai artificial-intelligence classification cnn cnn-classification deep-learning efficientnet python pytorch pytorch-classification pytorch-implementation pytorch-template template template-project
Last synced: 4 months ago · JSON representation ·

Repository

A Simple Template For A PyTorch Classification Project πŸ˜„

Basic Info
  • Host: GitHub
  • Owner: AidinHamedi
  • License: mit
  • Language: Jupyter Notebook
  • Default Branch: main
  • Homepage:
  • Size: 7.7 MB
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
ai artificial-intelligence classification cnn cnn-classification deep-learning efficientnet python pytorch pytorch-classification pytorch-implementation pytorch-template template template-project
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

Classification with PyTorch

License: MIT 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

Owner

  • Name: Aidin
  • Login: AidinHamedi
  • Kind: user

Segmentation fault

Citation (CITATION.cff)

cff-version: 1.2.0
title: PyTorch-Project-Template
message: "A Simple Template For A PyTorch Classification Project \U0001F604"
type: software
authors:
  - email: aydin.hamediasl@gmail.com
    given-names: Aydin
    family-names: Hamedi
repository-code: 'https://github.com/Aydinhamedi/PyTorch-Project-Template'
license: MIT

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: 5 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

requirements.txt pypi
  • efficientnet_pytorch ==0.7.1
  • matplotlib ==3.8.3
  • numba ==0.59.1
  • numpy ==1.26.4
  • pillow ==10.2.0
  • scikit-learn ==1.4.1.post1
  • seaborn ==0.13.2
  • torch ==2.2.2
  • torchsummary ==1.5.1
  • torchvision ==0.17.2
  • tqdm ==4.66.2