Dynamic-convolution-Pytorch
Dynamic-convolution-Pytorch copied to clipboard
RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...)
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(...)_
Do you resolve this question?if you do,can you help me?
@CUIMD No man, still waiting please also let me know when you find some solution