You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for the paper and the results are impressive!
I tested the code with "stylegan_ffhq" model and "stylegan_ffhq_pose_boundary.npy or stylegan_ffhq_pose_w_boundary.npy", with the default settings, but the results are not very good.
The person identity, age, even gender changed simultaneously with the pose.
Regarding to the "stylegan_ffhq_pose_w_boundary.npy", the degree of pose changes are more or less ignorable.
That is because the current codebase will randomly sample w codes subject to Gaussian distribution instead of the actual distribution. There are basically two solutions
(1) Run generate_data.py first, which will save w.npy in the output folder. Then use -i option in edit.py to load the generated w codes.
(2) See HiGAN which provides a more robust generator, which will sample codes from the actual distribution.
Activity
ShenYujun commentedon Feb 23, 2020
How about setting
--latent_space_type=w, since you are using the boundary from W space.IQ17 commentedon Feb 23, 2020
Yes, I tried with
--latent_space_type=w or --latent_space_type=Wbut the outputs are not face anymore.IQ17 commentedon Feb 23, 2020
I use stylegan_ffhq to generate the images, and the generated images are great. Thus I think the model is correct.
ShenYujun commentedon Feb 23, 2020
That is because the current codebase will randomly sample w codes subject to Gaussian distribution instead of the actual distribution. There are basically two solutions
(1) Run
generate_data.pyfirst, which will savew.npyin the output folder. Then use-ioption inedit.pyto load the generated w codes.(2) See HiGAN which provides a more robust generator, which will sample codes from the actual distribution.
IQ17 commentedon Feb 23, 2020
Thanks! Using the solution 1, the results are good!
xing-shuai commentedon Sep 14, 2024