Tensorflow implementation of MAGAN: Margin Adaptation for Generative Adversarial Networks.
- Python 2.7
- Pillow
- TensorFlow 1.0.1
- PrettyTensor
First download CelebA dataset at link.
and/or
CIFAR-10 (python version) at link:
To train a model:
$ python gan_release.py [cifar/celebA] {dataset_dir}
$ python gan_release.py mnist #data_dir not needed for mnist