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

RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...) #12

Open
khawar-islam opened this issue Jun 21, 2021 · 2 comments

Comments

@khawar-islam
Copy link

khawar-islam commented Jun 21, 2021

My image size is 112,112 and I got the below error. Any solution?

Line number
ConvLayers/dynamic_conv.py", line 176, in forward

_x = x.view(1, -1, height, width)# 变化成一个维度进行组卷积
RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...)_
@Idea-in-Dream
Copy link

Do you resolve this question?if you do,can you help me?

@khawar-islam
Copy link
Author

@CUIMD No man, still waiting please also let me know when you find some solution

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