Skip to content

Simple PixelCNN implementation in PyTorch to understand the details and quickly try different experiments.

License

Notifications You must be signed in to change notification settings

AlexanderMath/pixcnn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PixelCNN

PixelCNN on grayscale celeb/mnist/cifar 28x28.

python train.py --ds mnist
python train.py --ds cifar
python train.py --ds celeb # assumes celeb faces can be loaded from 'celeb.npz' 

Code is based on this repository.

Changes

  • uses command line arguments with argparse instead of config files
  • added cifar/celeb as additional datasets to mnist.
  • integrated with tensorboard
  • wrote code for inpainting
  • made the above animation of generation process (code for animation not included).
  • wrote test case for likelihood computations.
  • changed hyperparameter slightly (increased nlayers and ksize)
  • simplified code and moved into a single file (besides dataloading that also has its own file).

About

Simple PixelCNN implementation in PyTorch to understand the details and quickly try different experiments.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages