hfsoftmax icon indicating copy to clipboard operation
hfsoftmax copied to clipboard

TypeError: conv2d(): argument 'input' (position 1) must be Tensor, not list

Open xad1997 opened this issue 3 years ago • 0 comments

File "/home/adam/anaconda3/envs/torch04/lib/python3.6/site-packages/torch/nn/modules/conv.py", line 303, in forward self.padding, self.dilation, self.groups) TypeError: conv2d(): argument 'input' (position 1) must be Tensor, not list

Here, the convolution operation will report an error. You should enter a tensor. Actually enter a list composed of two tensors. I want to ask the author how to solve it.

xad1997 avatar Jun 22 '21 12:06 xad1997