Puzer / stylegan-encoder

StyleGAN Encoder - converts real images to latent space
Other
1.07k stars 165 forks source link

Getting black output images #18

Open adizhol opened 5 years ago

adizhol commented 5 years ago

Hi,

When I try to optimize d_latent as in the code, I start from a nice image but it transforms into a completely black image. Adding an L2 loss between the reference and the generated image helps, but the resulting image is not similar to the reference.

Any ideas?

Thanks!

NoctisZ commented 2 years ago

@adizhol I encountered this issue as well when running _encodeimages.py on local machine. Did you figure out a way to solve it eventually?