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

run test.py has error on gpu? #14

Open
RyanCV opened this issue Dec 18, 2017 · 1 comment
Open

run test.py has error on gpu? #14

RyanCV opened this issue Dec 18, 2017 · 1 comment

Comments

@RyanCV
Copy link

RyanCV commented Dec 18, 2017

I run test.py, and got the following error

RuntimeError: cuda runtime error (46) : all CUDA-capable devices are busy or unavailable at /pytorch/torch/lib/THC/THCStream.cpp:40

could u tell me how to solve it? thx.

@twtygqyy
Copy link
Owner

@RyanCV It looks like a gpu problem, please put CUDA_VISIBLE_DEVICES=($Your_available_gpu_device_index) before python test.py and have a try.

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