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

ValueError: expected 5D input (got 4D input) #1

Closed
usingcsharp opened this issue Aug 22, 2018 · 0 comments
Closed

ValueError: expected 5D input (got 4D input) #1

usingcsharp opened this issue Aug 22, 2018 · 0 comments

Comments

@usingcsharp
Copy link

Hello,I find you question in 'Torch2CoreML' project,
def _check_input_dim(self, input):
reshape (N,C,H,W) to (N,C,1,H,W)
if input.dim() != 5:
raise ValueError('expected 5D input (got {}D input)'
.format(input.dim()))
But I can't work well, can you help me? Thank you very much!

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