mousyball / pytorch-trainer

A solver for pytorch training
3 stars 1 forks source link

pytorch-trainer

Requirements

pip install -r requirements/runtime.txt
# For development
pip install -r requirements/dev.txt

Pycocotool

pip install "git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI"

Pre-commit Hook

pip install pre-commit
pre-commit install

Config

Demo

python examples/train_cifar10.py -cfg configs/custom/classification/lenet/epoch_trainer.yaml
python examples/train_cifar10.py -cfg configs/custom/classification/lenet/iter_trainer.yaml

Get started