环境: CentOS 6.4由于我的CentOS服务器上没有Nvidia的显卡,不过 caffe 是可以在CPU模式下进行train和predict的,因此我尝试了在没有GPU的情况下把caffe跑起来。主要参考官网的文档,Installation。安装 Caffe 前需要安装以下库:PrerequisitesCUDA (5.0 or 5.5)BoostMKL (but see the boost-eigen branch for a boost/Eigen3 port)OpenCVglog, gflags, protobuf, leveldb, snappy, hdf5For the Python wrapper: python, numpy (>= 1.7 preferred), and boost_pythonFor the Matlab wrapper: Matlab with mex1. 安装CUDAwget http://developer.download.nvidia.com/compute/cuda/repos/rhel6/x86_64/cuda-repo-rhel6-5.5-0.x86_64.rpm
sudo rpm -Uvh libgcc-4.4.7-4.el6.x86_64.rpm
yum search cuda
sudo yum install cuda或
...
继续阅读
(61)