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

Fixed 256x256 ? #11

Closed
kadarakos opened this issue Mar 2, 2017 · 3 comments
Closed

Fixed 256x256 ? #11

kadarakos opened this issue Mar 2, 2017 · 3 comments

Comments

@kadarakos
Copy link

How is it possible to use the model on different sized images e.g.: 480 x 640?

@christopherhesse
Copy link
Contributor

I think it will work with those images by automatically resizing to 256x256. You can fix the output aspect ratio with the --aspect_ratio option. If you want to add layers to support, say, 512x512 as the input/output, that is possible but not supported by default. I think you'd have to add two layers in the generator, 512x512=>256x256, and 256x256=>512x512, then add one in the discriminator, 512x512=>256x256.

@kadarakos
Copy link
Author

And not square sizes like 480 x 640?

@christopherhesse
Copy link
Contributor

That's not a square, and the model should work fine with that, it will just resize it internally.

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