Frizy的博客

不断累积

ubuntu14.04编译caffe

sudo apt-get install git
sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler
sudo apt-get install --no-install-recommends libboost-all-dev 
sudo apt-get install libatlas-base-dev 
sudo apt-get install python-dev 
sudo apt-get install libgflags-dev libgoogle-glog-dev liblmdb-dev 

sudo apt-get install python-numpy python-scipy python-matplotlib python-sklearn python-skimage python-h5py python-protobuf python-leveldb python-networkx python-nose python-pandas python-gflags Cython ipython python-pydot
sudo apt-get install protobuf-c-compiler protobuf-compiler  

git clone https://github.com/bvlc/caffe.git 
cd cdffe/
copy Makefile.config.example Makefile.config 
make all -j7 
make py 
make test -j7

$ sudo gedit /etc/profile
# 添加: export PYTHONPATH=/path/to/caffe/python:$PYTHONPATH
$ source /etc/profile # 使之生效 (最好restart)  

#可视化工具
#sudo apt-get install python-pydot (前面已安装)
python draw_net.py ../models/bvlc_reference_caffenet/train_val.prototxt vis.png
阅读更多
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u011291667/article/details/53999061
文章标签: caffe
个人分类: 深度学习 caffe
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭