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

Restriction on input image size #2

Closed
usamahjundia opened this issue Feb 26, 2020 · 2 comments
Closed

Restriction on input image size #2

usamahjundia opened this issue Feb 26, 2020 · 2 comments

Comments

@usamahjundia
Copy link

Seems like there is a slight restriction on input image size. When i input an image with size not equal to 512 x 512 (could be smaller, could be larger), i got the
the size of tensor a (blablabla) must match the size of tensor b (blablabla) at non singleton dimension blablabla

So is there a restriction for input shape?

@shunsukesaito
Copy link
Owner

The hourglass network expects the input resolution to be a multiple of 32 and the model is trained with 512 x 512. I recommend resizing images to 512 x 512. For other resolutions, I wouldn't expect any good results.

@usamahjundia
Copy link
Author

i see, that clears things up, thanks!

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