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 #7

Open
arminbiglari opened this issue Sep 8, 2024 · 0 comments
Open

RuntimeError: No CUDA GPUs are available #7

arminbiglari opened this issue Sep 8, 2024 · 0 comments

Comments

@arminbiglari
Copy link

Dear author, Thank you for your great work.

Since i want to consider this work as one of my baselines, during running the code, i faced this error : RuntimeError: No CUDA GPUs are available.

i managed to solved the issue, which might be useful for others.

to overcome this issue while training using a single gpu, please add os.environ["CUDA_VISIBLE_DEVICES"] = "0" to line 508 in main.py

best wishes

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