YapengTian / TDAN-VSR-CVPR-2020

TDAN: Temporally-Deformable Alignment Network for Video Super-Resolution, CVPR 2020
MIT License
400 stars 62 forks source link

Cannot load files in src correctly #58

Closed Jin-97 closed 3 years ago

Jin-97 commented 3 years ago

File "/home/jinyuying/VSR/TDAN-VSR-CVPR-2020/modules/deform_conv.py", line 43, in forward self.num_deformable_groups) File "/home/jinyuying/VSR/TDAN-VSR-CVPR-2020/functions/deform_conv.py", line 23, in conv_offset2d return f(input, offset, weight) File "/home/jinyuying/VSR/TDAN-VSR-CVPR-2020/functions/deform_conv.py", line 54, in forward self.dilation[0], self.deformable_groups) File "/home/jinyuying/anaconda3/envs/pytorch04/lib/python3.6/site-packages/torch/utils/ffi/init.py", line 202, in safe_call result = torch._C._safe_call(*args, **kwargs) torch.FatalError: invalid argument 5: 4D weight tensor (nOutputPlane,nInputPlane,kH,kW) expected, but got: (null) at /mnt/ssd0/project/ytian21/videoSR/DCN/src/deform_conv_cuda.c:15 I don’t understand why I can’t load the deformable convolution to src in my compilation.I followed the steps: bash make.sh.

YapengTian commented 3 years ago

The DCN might not be successfully compiled. Could you first check your pytorch version? First install Pytorch-0.3.1 and then compile it.

Jin-97 commented 3 years ago

DCN 可能无法成功编译。你能先检查一下你的pytorch版本吗?先安装Pytorch-0.3.1,然后编译。

Thanks for your reply, I will try again.