Pytorch!!!Pytorch!!!Pytorch!!! Dynamic Convolution: Attention over Convolution Kernels (CVPR-2020)
553
stars
91
forks
source link
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
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(...)_
My image size is 112,112 and I got the below error. Any solution?
Line number
ConvLayers/dynamic_conv.py", line 176, in forward