YapengTian / TDAN-VSR-CVPR-2020

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

interrupted by signal 11:SIGSEGV #63

Open 2279072142 opened 2 years ago

2279072142 commented 2 years ago

help!!!!! i find this error,because the deformable conv. My cuda=10.0 pytorch=1.0.0 ,but i can't run this code

YapengTian commented 2 years ago

Please use Pytorch-0.3.1.

2279072142 commented 2 years ago

my gpu is 2080ti, it has't compatible with cuda earlier than 9.0 and torch-0.3.1 only has 0.91

2279072142 commented 2 years ago

Is there any better way?

2279072142 commented 2 years ago

so I use torch=0.4.1 cuda92 but torch.FatalError: invalid argument 5: 4D weight tensor (nOutputPlane,nInputPlane,kH,kW) expected, but got: (null) at /home/lab-503/Documents/xzt/TDAN-VSR-CVPR-2020-master/src/deform_conv_cuda.c:15

YapengTian commented 2 years ago

If you want to use the code without any changes, you should use Pytorch-0.3.1. Another way is to replace the deformable module making it runnable for pytorch>=1.0.0. For example, using https://github.com/chengdazhi/Deformable-Convolution-V2-PyTorch/tree/pytorch_1.0.0. The code should also be changed accordingly since there are differences between pytorch0.3.1 and 1.0.0.

2279072142 commented 2 years ago

Thank you for your help, I succeed run this program

GopiRajuMatta commented 2 years ago

@2279072142

I am also facing same problem. If you had succeeded using DCV-v2 for pytorch>=1.0.0. Can you please let me know what kind of modifications you've done in the code.

Thank you Gopi

GopiRajuMatta commented 2 years ago

Please use Pytorch-0.3.1.

@YapengTian

In the reported Previous PyTorch versions, I could only see wheel for mac not for Ubuntu. As reported in one of the issues, command, "conda create -n tdan python=3.6 pytorch=0.3.1" is not working. In this case, can you please let me know how can I install 0.3.1 pytorch version.

Thank you Gopi

MurtazaAbdissamat commented 1 year ago

Please use Pytorch-0.3.1.

Where we can find it?

MurtazaAbdissamat commented 1 year ago

could you send us wheel file of pytorch=0.3.1?