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

suggestion #69

Closed alan-ai-learner closed 3 years ago

alan-ai-learner commented 3 years ago

hey, @ShenYujun I've got a question that In my use case I need to add sunglasses to the face or consider any type of facial attribute. So as you said earlier that "PGGAN is trained on CelebA-HQ dataset, which lacks samples wearing eyeglasses. Hence, the boundary may not be that accurate. In other words, PGGAN is not very good at generating data with eyeglasses. Meanwhile, "eyeglasses" entangle with "gender" and "age". That is why you saw the gender (together with age) changes." Q 1. How can I generate accurate boundaries for any specific task? Q 2. What and where should I made the changes in the code? I need some suggestion! Thanks

Originally posted by @alan-ai-learner in https://github.com/genforce/interfacegan/issues/59#issuecomment-774045701

ShenYujun commented 3 years ago

Please refer to the comment here.