interfacegan icon indicating copy to clipboard operation
interfacegan copied to clipboard

Problem in styleGAN w space

Open ty625911724 opened this issue 5 years ago • 4 comments

When I use this code by

python edit.py -m stylegan_celebahq -b boundaries/stylegan_celebahq_gender_w_boundary.npy -n 5 -o results/stylegan_celebahq_gender_w_boundary -i -s W

It outputs scary results. Maybe the latent_codes that initialized is in z space, not in w space. When I change it into w space, it works well.

Another question: If I want to mantipulate real images, does it mean I need to train new attribute scores and hyperplane for specific GAN. Is there some available models and results? Thanks:)

ty625911724 avatar Nov 13 '20 13:11 ty625911724

Please refer to this work ;) Good luck!

ShenYujun avatar Nov 19 '20 03:11 ShenYujun

Hello,

I'm having a similar problem. When I use generate_images.py with StyleGAN, setting anything other than 'Z' results in 'scary', non-facial synthesized images. For example, following call results in such images: !python generate_data.py -m stylegan_ffhq -o data/stylegan_ffhq_out -s W -n 10 What can be the problem?

ekingedik avatar Nov 29 '20 18:11 ekingedik

Hello,

I'm having a similar problem. When I use generate_images.py with StyleGAN, setting anything other than 'Z' results in 'scary', non-facial synthesized images. For example, following call results in such images: !python generate_data.py -m stylegan_ffhq -o data/stylegan_ffhq_out -s W -n 10 What can be the problem?

Maybe the reason is that the latent_codes is initialized in z space, but feed into w space. You could try to change the source code, by mapping the z code to w code, then feeding into the network.

ty625911724 avatar Nov 30 '20 03:11 ty625911724

Please refer to this issue

ShenYujun avatar Nov 30 '20 05:11 ShenYujun