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

2D tensor changed to 3D tensor, runtime error #49

Open
ZealACMer opened this issue Jul 4, 2019 · 1 comment
Open

2D tensor changed to 3D tensor, runtime error #49

ZealACMer opened this issue Jul 4, 2019 · 1 comment

Comments

@ZealACMer
Copy link

y = self.con1x1(x) # 2D tensor
y = y.view((-1, 96, 16) + y.size()[2:]) #2D tensor changed to 3D tensor

error:
image

@JasonYangZi
Copy link

y = self.con1x1(x) # 2D tensor
y = y.view((-1, 96, 16) + y.size()[2:]) #2D tensor changed to 3D tensor

error:
image

I also encountered this problem, I hope to get your help.

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