Zj-BinXia / ENLCA

This project is official implementation of 'Efficient Non-Local Contrastive Attention for Image Super-Resolution', AAAI2022
86 stars 7 forks source link

conv2d() received an invalid combination of arguments #10

Closed flyingfish7777 closed 1 year ago

flyingfish7777 commented 1 year ago

File "/root/ENLA/models/enlcn.py", line 65, in forward x = self.tail(res) TypeError: conv2d() received an invalid combination of arguments - got (Tensor, Parameter, Parameter, tuple, tuple, tuple, int), but expected one of:

help~QAQ

Zj-BinXia commented 1 year ago

torch的版本是1.8吗?

flyingfish7777 commented 1 year ago

torch的版本是1.8吗?

不是,哦谢谢,提供了一个纠正思路,原来我要换成1.8 ε≡٩(๑>₃<)۶