mit-han-lab / anycost-gan

[CVPR 2021] Anycost GANs for Interactive Image Synthesis and Editing
https://hanlab.mit.edu/projects/anycost-gan/
MIT License
776 stars 98 forks source link

Color difference in generated image for stylegan2-ffhq-config-f model #28

Open davidwdw opened 1 year ago

davidwdw commented 1 year ago

Hi, thanks so much for this awesome library. Congrats on the great work!

I've a question regarding the color of the generated image using the stylegan2-ffhq-config-f.

Why are they yellowish and have less contrast? I'm thinking it might be the difference in how the training images for the different generators are normalized, is there a way to reverse the normalization after the images are generated using the stylegan2-ffhq-config-f?

I tried to play around with the parameters in the image_to_np function, but it did not work.

Please see attached for a sample.

sample

Please let me know what I did wrong here or if this is an improvement that could be made.

Thank you!

tonylins commented 1 year ago

Hi, thanks for reaching out. Could you please briefly introduce the steps to reproduce the issue?