Solving Linear Inverse Problems using GANs
To run this code, you require Python 2.7, Tensorflow 1.0.1 (preferably with GPU support), Scipy and PyPNG.
Clone the repository, and run all the commands from the parent directory,
Download the datasets with the script*:
To train the DCGAN on celebA from scratch, please visit https://github.com/carpedm20/DCGAN-tensorflow, and follow the instructions. Else, pretrained GAN model is available, courtesy Bora et al. To download it, please run the following script*:
Make sure the model is located at
Run following to run the experiment:
$ python ./src/pgdgan.py
You can also use the script available in
* replicated from https://github.com/AshishBora/csgm .