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

Importing problem #50

Open
dymwan opened this issue Sep 25, 2022 · 1 comment
Open

Importing problem #50

dymwan opened this issue Sep 25, 2022 · 1 comment

Comments

@dymwan
Copy link

dymwan commented Sep 25, 2022

Hi,
Firstly, your fantastic work is really helpful. And there is a small problem with using:

After importing the torch and deep_hough package in python, the error
imtens = imtens.cuda()
RuntimeError: CUDA error: unrecognized error code

occurred when I try to allocate a tensor from CPU to GPU via tensor.cuda().
However, if I just simply do not import deep_hough, the error disappeared. I am sure that my software was set ok.

Here is a small demo:
image

My software setup is:
pytorch 1.7 + cu11
Waiting for some suggestions sincerely.

@dymwan dymwan changed the title Importing problem for further use. Importing problem Sep 25, 2022
@Hanqer
Copy link
Owner

Hanqer commented Oct 8, 2022

I think this may caused by the incompatible cuda version, you can try to compile it using cuda10.

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

2 participants