GreenLimeSia / Real-Image-Manipulation-under-Domain-Guided-Noise-Optimization-Mechanism

Facial Image Manipulation with DNI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Real Image Manipulation under Domain-Guided-Noise-Optimization Mechanism

Do facial image Manipulation on Google Colab:

Notice: the image is display properly now. The .gif file is converted by using website tool and some details are missing.

Image2Latent Semantic Results

Encoding an image into StyleGAN2 latent space

Manipulate attribute Results

Modify Faces
Eye Closed Pose Star

Introduction Notebook

We provide a jupyter notebook example to show how to use DNI for facial image manipulation: /DNI-code/DNI.ipynb.

We also provide a colab version of the notebook: . Be sure to select the GPU as the accelerator in runtime options.

Psp Encoder architecture

More details for the Psp model, please see here.

The graphical of Psp model. The whole architecture is in here: /DNI-code/results/Psp_model.pdf.

Youtube Video

Please visit the Youtube video for better understanding!

Failure cases

There are some failure cases contained in our method when editing a specific attribute, which is based on cosine similarity metric.

Related Projects

StyleFlow | PsP Encoder | StyleGAN2Encoder | StyleGAN2

About

Facial Image Manipulation with DNI


Languages

Language:Jupyter Notebook 66.2%Language:Python 28.5%Language:Cuda 4.7%Language:C++ 0.6%