Pytorch-cyclegan-and-pix2pix: Image with numbers will be reverse after training

Created on 20 Jun 2018  路  3Comments  路  Source: junyanz/pytorch-CycleGAN-and-pix2pix

I used original captcha as our dataset "A" and another style of captcha as dataset "B" to put in model and train, trying to transfer from "A to B" or "B to A".
However, I found there is a problem. I check for intermediate results, and the number in the captcha was reversed. But what I input was an "unreversed" image, besides, there are no problems when I train for other images without numbers, such as zebra2horse or photo2monet ...etc.
Btw, all parameters were set as default.
Wondering what reason casued this problem ?
visdom_1

Most helpful comment

This might be because the framework uses Data augmentation by default, input the option --no_flip.
https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix/blob/master/options/base_options.py#L43

All 3 comments

This might be because the framework uses Data augmentation by default, input the option --no_flip.
https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix/blob/master/options/base_options.py#L43

Thank u so much. I didn鈥檛 notice there鈥檚 a so important parameter to me ! 馃槄

Thank u so much. I didn鈥檛 notice there鈥檚 a so important parameter to me ! 馃槄

We got hit by it too! @bill0812

Btw: Close the issue if it helped!

Was this page helpful?
0 / 5 - 0 ratings