Skip to content

noahpy/my_pytorch_kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testing workflow

My Pytorch Toolkit

Userful pytorch toolkit for training models, replacing boilerplate code. Provides functions for training, modeling and evaluating models. Also provides several architecture implementations.

Installation

From PyPI

pip install my-pytorch-kit

From source

Clone this repo and run pip install ..
Then, you can import the module my_pytorch_kit.

Usage

This package revolves around the BaseModel, Trainer and Evaluator classes, which are extended to model, train and evaluate a model respectively.

Furthermore, this package provides architecture implementations and modelling utilities. Currently implemented architectures include:

Lastly the Tuner class provides hyperparameter tuning using grid, random and random dynamic search.

For an initial guide, see the examples/mnist/classifier/example.py file.

Development

Clone this repo and run pip install -e .[dev].
Run pytest in the root directory to run tests.

About

My pytorch toolkit for structured training

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published