Pytorch-cyclegan-and-pix2pix: some images are rotated even with --no_flip

Created on 23 Jul 2018  Â·  5Comments  Â·  Source: junyanz/pytorch-CycleGAN-and-pix2pix

i've been using CycleGAN for more than several months but just recently started to observe this rotation, almost sure it happened after upgrading to PyTorch 0.4
thank you!

Most helpful comment

No worries. Have fun with CycleGAN. :)

On Tue, Jul 24, 2018 at 22:54 Helena notifications@github.com wrote:

Closed #334
https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix/issues/334.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix/issues/334#event-1751598728,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFaWZcZPmwamywS7pt054BHF_Nd8LJNEks5uJ93ugaJpZM4VaxkP
.

All 5 comments

Which resize_or_crop and dataset_mode are you using? Are you using no_flip?

i don't set the first two so they are defaulted , and yes - no_flip

and it seems like only the rectangular images get rotated - i'm currently training with square ones, and there is no rotation as far as i can see

Do you have a concrete example? From the code it shouldn't have such behavior...

and of course you're right - double checked the training set - some of the images coming my phone were rotated and i totally missed - so sorry :woman_facepalming:

No worries. Have fun with CycleGAN. :)

On Tue, Jul 24, 2018 at 22:54 Helena notifications@github.com wrote:

Closed #334
https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix/issues/334.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix/issues/334#event-1751598728,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFaWZcZPmwamywS7pt054BHF_Nd8LJNEks5uJ93ugaJpZM4VaxkP
.

Was this page helpful?
0 / 5 - 0 ratings