Imported from https://github.com/tdrussell/IllustrationGAN