您的位置:首页 > Web前端

caffe使用过程中的问题记录

2017-05-17 10:15 232 查看

错误一:

Check failed: error == cudaSuccess (30 vs. 0)


问题描述:

机器上安装了cuda以及对应的显卡驱动,使用正常;之前的caffe运行正常;在更新的显卡驱动之后电脑使用也一切正常,只是发现跑caffe的时候会出现上述错误。

初步判断是更新驱动之后造成的问题,可是cuda正常使用,驱动也正常。重新编译了caffe仍然是相同的错误。网上一个大神很好的解决了这个问题:https://github.com/NVIDIA/DIGITS/issues/799

解决办法:

sudo apt-get install nvidia-modprobe


原文如下:

Further to @TimZaman I’d just like to point out that CUDA runtime error (30) might show if your program is unable to create or open the /dev/nvidia-uvm device file. This is usually fixed by installing package nvidia-modprobe:

sudo apt-get install nvidia-modprobe

Note also that since your GPU has compute capability 2.1 as per this

page you will not be able to use CuDNN and will need to disable support for CuDNN in the Caffe makefile.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐