Created
March 20, 2017 14:07
-
-
Save Orpheon/82f1d8ffbf7248a36e1192b0c55bb2a6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ python 1dconv.py | |
Traceback (most recent call last): | |
File "1dconv.py", line 30, in <module> | |
outputs = cnn(inputs) | |
File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 202, in __call__ | |
result = self.forward(*input, **kwargs) | |
File "1dconv.py", line 22, in forward | |
out = self.layer(x) | |
File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 202, in __call__ | |
result = self.forward(*input, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/conv.py", line 143, in forward | |
self.padding, self.dilation, self.groups) | |
File "/usr/local/lib/python3.5/dist-packages/torch/nn/functional.py", line 61, in conv1d | |
return f(input, weight, bias) if bias is not None else f(input, weight) | |
File "/usr/local/lib/python3.5/dist-packages/torch/nn/_functions/conv.py", line 35, in forward | |
output = self._update_output(input, weight, bias) | |
File "/usr/local/lib/python3.5/dist-packages/torch/nn/_functions/conv.py", line 99, in _update_output | |
output = self._thnn('update_output', input, weight, bias) | |
File "/usr/local/lib/python3.5/dist-packages/torch/nn/_functions/conv.py", line 159, in _thnn | |
impl = _thnn_convs[self.thnn_class_name(input)] | |
File "/usr/local/lib/python3.5/dist-packages/torch/nn/_functions/conv.py", line 140, in thnn_class_name | |
assert input.dim() == 4 or input.dim() == 5 | |
AssertionError |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment