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

Model fails for input size other than multiples of 32(for depth of 4) #15

Open
Tharun98 opened this issue Jul 16, 2018 · 1 comment
Open

Comments

@Tharun98
Copy link

Tharun98 commented Jul 16, 2018

Hi,
If we give the input image size other than 32 multiples there is a size mismatch error when adding the output from encoder3 and decoder4.
For example input image size is 1000x2000 output of encoder3 is 63x125 and decoder4 output size is 64x126. We need adjust parameters for spatialfullconvolution layer only if input image size is multiple of 2^(n+1) where n is encoder depth. For other image sizes adjust parameter depends on the image size. In this example network works if adjust parameter is zero in decoders 3 and 4.
Please clarify if this network works only for 2^(n+1) sizes.
Thanks.

@Tharun98 Tharun98 changed the title Size mismatch for input image size other than multiples of 32(4 encoders) Model fails for input size other than multiples of 32(for depth of 4) Jul 16, 2018
@sunstarchan
Copy link

@Tharun98 Yes, the input size should be 32 multiples, as the network does 5 times down-samples and up-samples.

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