Report is available here: ./report.pdf
This repository implements 3 Generative Adversarial Networks (GANs) on the MNIST dataset:
- Simple GAN (./First_GAN.ipynb)
- DC-GAN [1] (./DC_GAN.ipynb)
- WGAN-PG [2,3] (./W_GAN.ipynb)
Checkpoints for pretrained networks are available here, you should put them in the ./checkpoints/
directory.
Interpolation between two noise vectors is demonstrated in ./Interpolation.ipynb.
Example of fixing childish paint skills using StyleGAN2 [4] is demonstrated in ./StyleGAN2.ipynb.
Additionally, StyleGAN2-ADA [4] wrapper scripts are provided in the ./tools/
.
- Docker
- NVIDIA Container Runtime
- Conda (see ./conda-env.yml)
- NVIDIA GPU, NVIDIA drivers (see NVlabs/stylegan2-ada)
# --- StyleGAN2 ---
$ ./tools/stylegan2-generate.sh -h
$ ./tools/stylegan2-projector.sh -h
# --- MISC ---
# Clean large notebook
$ ./tools/jupyter-clean.sh my_notebook.ipynb
[5] Build Basic Generative Adversarial Networks (GANs) by deeplearning.ai