I am trying to apply a 1d conv filter on my torch.Size([65536, 94]) data, however I faced with this error.
RuntimeError Traceback (most recent call last)
----> 1 z = m(y)
/usr/local/lib/python3.6/dist-packages/torch/nn/modules/conv.py in forward(self, input)
198 _single(0), self.dilation, self.groups)
199 return F.conv1d(input, self.weight, self.bias, self.stride,
–> 200 self.padding, self.dilation, self.groups)
RuntimeError: Expected 3-dimensional input for 3-dimensional weight 10 1, but got 2-dimensional input of size [65536, 94] instead
Here is my code:
m = nn.Conv1d(1,10,5)
Dose anyone could help me ?