我正在安装Caffe.我正在使用Ubuntu 14.04.
我试着安装cuda.在Caffe网站上写道,我需要单独安装库和最新的独立驱动程序.
我从那里下载了驱动程序.我尝试了每种产品类型,但我得到了同样的错误:
You do not appear to have an NVIDIA GPU supported by the 346.46
NVIDIA Linux graphics driver installed in this system. For further
details, please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in
the README available on the Linux driver download page at www.nvidia.com.
Run Code Online (Sandbox Code Playgroud)
然后
You appear to be running an X server; please exit X before
installing. For further details, please see the section INSTALLING
THE NVIDIA DRIVER in the README available on the Linux driver
download page at www.nvidia.com.
Run Code Online (Sandbox Code Playgroud)
和
Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find
suggestions on fixing installation problems in the README available
on the Linux driver download page at www.nvidia.com.
Run Code Online (Sandbox Code Playgroud)
我成功安装了cuda和cuDNN.
然后我从这里下载了Caffe .
然后我试图编译和我做了以后make all
和make test
我做make runtest
,让这个错误:
Check failed: error == cudaSuccess (38 vs. 0) no CUDA-capable device is detected
Run Code Online (Sandbox Code Playgroud)
此外,我发现我需要验证我有一个具有CUDA功能的GPU.此命令:lspci | grep -i nvidia
不返回任何内容.update-pciids
尽管它返回,但它们都没有帮助Downloaded daily snapshot dated
.
任何人都可以帮我安装Caffe和一切正确吗?
您的系统显然没有兼容CUDA的GPU.根据你使用的是什么类型的系统(最有可能是台式机或服务器与适当的空闲的PCI-E插槽(一个或多个),箱体空间和足够的供电能力),它可能可以购买并安装这样的GPU.
仍然可以通过CPU_ONLY
在Makefile.config中取消注释标记而不使用GPU来开始使用Caffe