Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 397 Bytes

instruction.md

File metadata and controls

17 lines (12 loc) · 397 Bytes

Example training cifar10 using PyTorch

This example downloads the cifar10 dataset using torchvision. A simple CNN is trained using Adam to about 71% accuracy on the test set.

Usage

Train a model using default parameters:

python cifar10_example.py

Resume training using a checkpoint:

python cifar10_example.py --resume --path_to_checkpoint model_checkpoint.ckpt