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

failed call to cuInit: CUDA_ERROR_NO_DEVICE #3

Open
wangames opened this issue Mar 11, 2019 · 3 comments
Open

failed call to cuInit: CUDA_ERROR_NO_DEVICE #3

wangames opened this issue Mar 11, 2019 · 3 comments

Comments

@wangames
Copy link

when I try run python train.py , it get an error :failed call to cuInit: CUDA_ERROR_NO_DEVICE

@YurongChen1998
Copy link

Hi, I got the same problem, do you fix it?

@wangames
Copy link
Author

@DanielChen98 I have not solved it, but I find a repository that are more helpful and robust, https://github.com/you359/Keras-FasterRCNN, it works well on my machine。

@YurongChen1998
Copy link

@DanielChen98 I have not solved it, but I find a repository that are more helpful and robust, https://github.com/you359/Keras-FasterRCNN, it works well on my machine。

I have solved it.
change ./tools/train.py
os.environ["CUDA_VISIBLE_DEVICES"] = "1"
to
os.environ["CUDA_VISIBLE_DEVICES"] = "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

2 participants