Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.52 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.52 KB

SketchRNN Pytorch

SketchRNN is a seq2seq VAE model which draws pictures.

Paper: https://arxiv.org/abs/1704.03477

This repository contatins the original implementation + model with attention in decoder

Related works

DoodlerGAN data (Creative Birds)

Simplification

Requirements: pip install simplification (see https://pypi.org/project/simplification/)


Tips for a faster convergence

Source: magenta/magenta#742

  • anneal KL faster: use 0.9999 rather than 0.99995
  • use learning rate at 0.0001 and not anneal below this rate to 0.00001, at the higher risk of NaNs
  • turn off dropout, train faster but risk overfitting too soon

This is a fork

Original repo is here https://github.com/OhataKenji/SketchRNN-Pytorch. It provides the backbone (original model and trainer).

Improvements:

  • model with attention
  • data augmentation
  • experiment logs, validation

Cudos to creator.