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

ENLCA的位置报错didn't match because some of the arguments have invalid types: (Tensor, Tensor, Tensor, tuple of (bool, bool), tuple of (int, int), tuple of (int, int), int) #14

Closed DeepBlueNight closed 1 year ago

DeepBlueNight commented 1 year ago

TypeError: conv2d() received an invalid combination of arguments - got (Tensor, Tensor, Tensor, tuple, tuple, tuple, int), but expected one of:

Zj-BinXia commented 1 year ago

Do you use pytorch==1.8? high version pytorch will cause the error.

DeepBlueNight commented 1 year ago

是。知道问题了谢作者