YapengTian/TDAN-VSR-CVPR-2020

An error was encountered at runtime

zzhh0622 opened this issue · 11 comments

Thanks for your code.
When run eval.py, something went wrong, the error is as follows, what should I do.
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 know this is a problem of default path,but I can't find where to change.

Did you re-compile the deformable conv?

Do you mean the second step in readme(bash make.sh).
I have done that.

Successfully? In addition, what data you are testing now?

Did you follow the instructions to install pytorch-031?

No error.But I don't how to cofirm if is successful.I use the test-date you support.

I use pytorch-041.Let me try 0-3-1.

Yes, please try pytorch031 and compile dconv again.

It's OK now.
Thanks for your reply.

Hello,i have encountered the same problem,when i install pytorch031,compile dconv and run eval.py, it report the error:
Traceback (most recent call last):
File "eval.py", line 6, in
import torch
File "/opt/conda/lib/python3.6/site-packages/torch/init.py", line 320, in
import torch.distributions
File "/opt/conda/lib/python3.6/site-packages/torch/distributions/init.py", line 77, in
from .categorical import Categorical
File "/opt/conda/lib/python3.6/site-packages/torch/distributions/categorical.py", line 2, in
from torch._six import nan
ImportError: cannot import name 'nan'
Do you know how to fix it ? Thanks.

Sorry for the late response. It seems that PyTorch is not well installed.