taesungp / contrastive-unpaired-translation

Contrastive unpaired image-to-image translation, faster and lighter training than cyclegan (ECCV 2020, in PyTorch)
https://taesung.me/ContrastiveUnpairedTranslation/
Other
2.23k stars 417 forks source link

Some generated images are left-right flipped #130

Closed russelldj closed 2 years ago

russelldj commented 2 years ago

Hi all,

Great work. Perhaps this is a one-off error but I found it interesting. While training with FastCUT and an input resolution of 512x512 I found that some of my generated images are left-right flipped. Surprisingly, the structure seems like it would match if the image were flipped back. Here are some examples Untitled Untitled (1) Untitled (2)

taesungp commented 2 years ago

Strange! Could you disable flipping when you run this and see if it still happens? --no_flip is the command line option.

Hirnmoder commented 2 years ago

Well, I don't think it's that strange. It is just how FastCUT is implemented.

Now regarding the other parts of the question:

russelldj commented 2 years ago

Thanks for figuring this out.