Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A problem on ubuntu #35

Open
huxiaotaostasy opened this issue Sep 6, 2020 · 7 comments
Open

A problem on ubuntu #35

huxiaotaostasy opened this issue Sep 6, 2020 · 7 comments

Comments

@huxiaotaostasy
Copy link

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
Copy link
Owner

Did you compile deformable conv: bash make.sh?

@hjw520wsr
Copy link

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
Copy link
Owner

YapengTian commented Sep 18, 2020

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
Copy link

hjw520wsr commented Sep 18, 2020 via email

@xiaomingxige
Copy link

the more advanced pyTorch version can't work?

@sunnyHelen
Copy link

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
Copy link
Owner

My cuda version is 8.0.61 and gcc version is 5.5.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants