genforce / interfacegan

[CVPR 2020] Interpreting the Latent Space of GANs for Semantic Face Editing
https://genforce.github.io/interfacegan/
MIT License
1.51k stars 281 forks source link

Is there a way to only change the smiling expression while keep other facial attributes unchanged? #60

Closed Melody-doudou closed 4 years ago

Melody-doudou commented 4 years ago

Thanks for sharing the code! I used pretrained pggan_celebahq_smile_boundary.npy to generate images with neutral expression and smiling expression. However other attributes change, such as skin color or gender. Is there a way to only change the smiling expression while keep other facial attributes unchanged? Thanks.

ShenYujun commented 4 years ago

Keeping all other attributes remained is extremely challenging. But you can easily keep one attribute preserved with the proposed conditional manipulation. For more details, please refer to the paper.

Melody-doudou commented 4 years ago

Keeping all other attributes remained is extremely challenging. But you can easily keep one attribute preserved with the proposed conditional manipulation. For more details, please refer to the paper.

I see, thank you!