opteroncx / SESR

SESR: Single Image Super Resolution with Recursive Squeeze and Excitation Networks
28 stars 13 forks source link

runtime error #1

Closed pzz2011 closed 6 years ago

pzz2011 commented 6 years ago

https://github.com/opteroncx/SESR/blob/master/model.py#L53

cannot pass the code in the link。

error message:

out=out*out1 File "/usr/local/lib/python2.7/dist-packages/torch/autograd/variable.py", line 757, in mul return self.mul(other) File "/usr/local/lib/python2.7/dist-packages/torch/autograd/variable.py", line 301, in mul return Mul.apply(self, other) File "/usr/local/lib/python2.7/dist-packages/torch/autograd/_functions/basic_ops.py", line 50, in forward return a.mul(b) RuntimeError: inconsistent tensor size at /home/pzz/nips2016/pytorch/torch/lib/TH/generic/THTensorMath.c:846

pzz2011 commented 6 years ago

sorry, pytorch version mismatch!