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

RuntimeError: No CUDA GPUs are available #74

Open
JeSciglio opened this issue Nov 20, 2024 · 2 comments
Open

RuntimeError: No CUDA GPUs are available #74

JeSciglio opened this issue Nov 20, 2024 · 2 comments

Comments

@JeSciglio
Copy link

installed: python3.6.13 cuda10.2 pytorch1.8.0
torch.cuda.is_available(): True

but:
RuntimeError: No CUDA GPUs are available

How can i solve this problem?Thank you very much!

@makabaka22
Copy link

Check the ID of the GPU, and then go to the .sh file for the corresponding dataset in the scripts/ directory and change the export CUDA_VISIBLE_DEVICES=0 to your own GPU's ID.

@pokerface-cyz
Copy link

pytorch版本太高了,手动降为1.4.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

3 participants