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

CUDA error: no kernel image is available for execution on the device #12

Open
finnishbroccoli opened this issue Jan 7, 2023 · 1 comment

Comments

@finnishbroccoli
Copy link

I've installed BGRemover to Linux. I had some problems with torchvision version, because pip did not understand requirements.txt for some reason.

I have the following packages installed

Package Version


numpy 1.24.1
opencv-python 4.5.1.48
Pillow 6.2.2
pip 22.3.1
setuptools 65.6.3
six 1.16.0
torch 1.7.1
torchvision 0.2.2.post3
typing_extensions 4.4.0

When I run python inference.py --image

I get "Erro happend CUDA error: no kernel image is available for execution on the device"

So, should I modify torchvision version, install some additional pip package, both or something else?

@finnishbroccoli
Copy link
Author

  • I have CUDA version 12.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

1 participant