Ubuntu14.04的caffe编译及安装

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Caffe

Caffe

CaffecuDNNAlexNetK40

1.17ms.

Caffe

BSD-2

sudo apt-get install build-essential #

sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libop encv-dev libhdf5-serial-dev protobuf-com

sudo apt-get install --no-install-recommends libboost-all-dev

CUDA7.5

Nvidia Ubuntudeb

,

sudo dpkg -i cuda-repo-ubuntu1404-7-5-local_7.5-18_amd64.deb

sudo apt-get update

sudo apt-get install cuda

sudo ldconfig /usr/local/cuda/lib64

660

sudo apt-get install nvidia-cuda-toolkit

sudo apt-get install nvidia-352

sudo reboot

Atlas

sudo apt-get install libatlas-base-dev

pythonpipeasy_install

wget --no-check-certificate https://bootstrap.pypa.io/ez_setup.py

sudo python ez_setup.py --insecure

wget https://bootstrap.pypa.io/get-pip.py

sudo python get-pip.py

python

sudo apt-get install libblas-dev liblapack-dev libatlas-base-dev gfortr an python-numpy

sudo apt-get install libgflags-dev libgoogle-glog-dev liblmdb-dev

git

sudo apt-get install git

git clone https:///BVLC/caffe.git

python()

cd caffe/python

for req in $(cat requirements.txt); do pip install $req; done

caffe

cp Makefile.config.example Makefile.config

make all -j4

make test

make runtest

make pycaffe -j4

相关文档
最新文档