YapengTian / TDAN-VSR-CVPR-2020

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

A problem on ubuntu #35

Open huxiaotaostasy opened 3 years ago

huxiaotaostasy commented 3 years ago

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

YapengTian commented 3 years ago

Did you compile deformable conv: bash make.sh?

hjw520wsr commented 3 years ago

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 also encountered the same problem, have you solved it

YapengTian commented 3 years ago

The problem occurred mostly when the pytorch version is not 0.3.1. Please use print(torch.__version__) to check your pytorch version and then make sure to compile the deformable conv.

hjw520wsr commented 3 years ago

Thank you so much, my version is wrong(0.4.1), so I haven't run successfully!

------------------ 原始邮件 ------------------ 发件人: "YapengTian"<notifications@github.com>; 发送时间: 2020年9月18日(星期五) 上午10:04 收件人: "YapengTian/TDAN-VSR-CVPR-2020"<TDAN-VSR-CVPR-2020@noreply.github.com>; 抄送: "SrLove"<1522335637@qq.com>; "Comment"<comment@noreply.github.com>; 主题: Re: [YapengTian/TDAN-VSR-CVPR-2020] A problem on ubuntu (#35)

The problem occurred mostly when the pytorch version is not 0.3.1. Please use print(torch.version) to check your pytorch version and then make sure to compile the deformable conv.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

xiaomingxige commented 3 years ago

the more advanced pyTorch version can't work?

sunnyHelen commented 3 years ago

My pytorch is 0.3.1, but got this error "_ext/deform_conv/_deform_conv.so: undefined symbol: state". What's your version of cuda and gcc?

YapengTian commented 3 years ago

My cuda version is 8.0.61 and gcc version is 5.5.0.