Hi everyone
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)
in ()
----> 1 z = m(y)
1 frames
/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)
201
202
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)
z=m(y)
Dose anyone could help me ?