Looking up a generative latent vectors from reference images.
$ git clone https://github.com/NVlabs/stylegan.git
$ git clone https://github.com/sshh12/Inverse-Style-GAN.git
$ cd Inverse-Style-GAN
// *Install Tensorflow* //
$ pip install -r requirements.txt
$ python brute-lookup.py --img_path face.jpg --max_iter 100
This will iteratively output best.jpg
/best.npy
which correspond to the best matching generated image and its latent vector.