/Image2StyleGAN

Implementation of 'Image2StyleGAN'

Primary LanguagePython

Image2StyleGAN

Please check the above mentioned repository for details regarding the process of extracting official pretrained weights.

The pickle file containing the dictionary of latent vectors is stored in the input image folder.

project.py is the python file which contains the required code for projection.

Here data_0 and data_1 folders contain images from LSUN (cat dataset), and their corresponding embeddings is stored in a '.pkl' file, present in the folders.

Google drive link: https://drive.google.com/drive/folders/1IYcIEXV1J0wA_lP1Jbh7qkz2PvX6Dc9S?usp=sharing

  • Some results:
Original Images Projected Images
cat.1.jpg proj_cat.1.jpg
cat.12523.jpg proj_cat.12523.jpg
cat.12592.jpg proj_cat.12592.jpg