你的位置:首页 > 信息动态 > 新闻中心
信息动态
联系我们

failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected

2022/1/1 20:21:06

failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected

    • 解决办法

在调用tensorflow作测试时遇到上述问题。

解决办法

首先在终端执行nvdia-smi,遇到错误:NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver.
然后采用https://blog.csdn.net/u012114438/article/details/104425573中的解决方法二通过重启电脑进入原来版本的Ubuntu内核解决了问题。