Skip to content

waghmaregovind/pytorch-project-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyTorch Beginner Project Template

Welcome to the PyTorch Beginner Project Template! This repository is designed to help newcomers to PyTorch quickly get started with building, training, and testing machine learning models. It provides a skeletal template that includes essential scripts for training and testing, making it easier for you to dive into your first project.

Features

  • Training Script: A ready-to-use script to train your models.
  • Testing Script: Easily evaluate your model's performance.
  • Modular Structure: Clean and organized code structure to facilitate learning and development.
  • Customization: Simple to customize for different types of machine learning tasks.

Whether you're just starting out or looking to streamline your workflow, this template will provide a solid foundation to build upon. Happy coding!

Project directory structure is as follows:

pytorch-project-skeleton
├── logs
├── models
├── README.md
├── LICENSE
├── setup.py
└── source
    ├── logger.py
    ├── metrics.py
    ├── models.py
    ├── test.py
    ├── train.py
    └── utils.py

Setup

Requirements:

Setting up the imports:

cd pytorch-project-skeleton
python setup.py develop

For training:

cd source
python train.py

For testing:

python test.py --exp_name exp_001

About

PyTorch Beginner Project Template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages