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

Input size different to 1x64x64x64 throws Exception #11

Open
defaultUser3214 opened this issue Sep 9, 2021 · 8 comments
Open

Input size different to 1x64x64x64 throws Exception #11

defaultUser3214 opened this issue Sep 9, 2021 · 8 comments

Comments

@defaultUser3214
Copy link

Hey,
I fed input tensors of e.g. the shape 1x48x48x48 into this network package. Unfortunately, I get the error message in the image.
MicrosoftTeams-image

Can anybody tell me, how the network can be adapted to also use it with custom sized squared input tensors?
Thanks a lot in advance!

@14renus
Copy link

14renus commented Sep 20, 2021

I found that increasing size / padding the input fixed this error for me.

@Doge2408
Copy link

我发现增加大小/填充输入为我修复了这个错误。

Hello, can you tell me in detail how to change it to your own input shape? thank you very much.

@shijianjian
Copy link
Owner

I think it has to be at least 2**n (n >= 5), otherwise it will not have enough image space to perform the convolution, etc.

@Doge2408
Copy link

Doge2408 commented Dec 4, 2021 via email

@shijianjian
Copy link
Owner

Say, change from Conv3D(kernel_size=(3, 3, 3)) to Conv3D(kernel_size=(1, 3, 3))will probably work for your case.

@Doge2408
Copy link

Doge2408 commented Dec 4, 2021 via email

@riyaj8888
Copy link

its not working at all .
i changed all kernel size from (3,3,3) to (1,,3,3) but i am getting error

@darshvirbelandis
Copy link

Please see my issue posted here : #16

I am having a similar issue but I am very lost. Please help !! This EfficientNet is perfect but im just stuck on the input shape.

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

6 participants