HideUnderBush / UI2I_via_StyleGAN2

Unsupervised image-to-image translation method via pre-trained StyleGAN2 network
Other
222 stars 30 forks source link

Bug in gen_ref.py #14

Open williamyang1991 opened 2 years ago

williamyang1991 commented 2 years ago

BUG: Line 104 and Line 107 should add parameter input_is_latent=True or the content and the reference cannot be properly used.

ISSUE: Also truncation=0.5 can sometimes be too strict, making the output's content and style not matched with the input content image and the reference image.

649459021 commented 1 year ago

@williamyang1991 Hi, can you reproduce the Ref-guided generation results? In my case, the style is changed after utilizing reference's style code, but not same as the reference. Could you show some results? Thanks for your help!

williamyang1991 commented 1 year ago

image

649459021 commented 1 year ago

image

Thanks very much for your reply. The results I get are very similar to the first two columns of your reproduced results