Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

axis symmetry? #73

Open
danieleghisi opened this issue Apr 13, 2017 · 2 comments
Open

axis symmetry? #73

danieleghisi opened this issue Apr 13, 2017 · 2 comments

Comments

@danieleghisi
Copy link

Hi,

even if I feed as data black&white images with lots of white on the left side, I end up having samples as if also the vertical-mirrored images were in the data. I suspect that the algorithm doesn't care about axis symmetry, but I would like to keep the generated images "left-handed".

Is this a feature? Is there any parameter I might tweak to disable this symmetry forcing?

Thanks,
Daniele

@fonfonx
Copy link

fonfonx commented Apr 19, 2017

Look at https://github.com/soumith/dcgan.torch/blob/master/data/donkey_folder.lua#L67. When the data is loaded, images are randomly flipped. Commenting this line may solve your problem.

@danieleghisi
Copy link
Author

Thanks a lot, that makes sense!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants