caffee 安装教程
来源:互联网 发布:淘宝主图无缝拼接 编辑:程序博客网 时间:2024/06/10 10:42
参考网站:http://www.th7.cn/system/lin/201508/123485.shtml
安装依赖库
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
安装BLAS
sudo apt-get install libatlas-base-dev
安装依赖库
sudo apt-get install libgflags-dev libgoogle-glog-dev liblmdb-dev
下载CAFFE
cd ~
git clone git://github.com/BVLC/caffe.git
编译caffe
cd ~/caffe
cp Makefile.config.example Makefile.config
修改Makefile.config文件:去掉CPU_ONLY:= 1的注释
make all
make test
make runtest
配置pycaffe
a、安装依赖库:
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
sudo apt-get install protobuf-c-compiler protobuf-compiler
b、编译:
$ cd ~/caffe$ make pycaffe
c、添加~/caffe/python到$PYTHONPATH:
$ sudo gedit /etc/profile # 末尾添加: export PYTHONPATH=/path/to/caffe/python:$PYTHONPATH# 用完整路径,不要用~
$ source /etc/profile # 使之生效
$ sudo reboot # 永久生效
d、测试是否可以引用:
$ pythonPython 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> import caffe>>>
安装依赖库
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
安装BLAS
sudo apt-get install libatlas-base-dev
安装依赖库
sudo apt-get install libgflags-dev libgoogle-glog-dev liblmdb-dev
下载CAFFE
cd ~
git clone git://github.com/BVLC/caffe.git
编译caffe
cd ~/caffe
cp Makefile.config.example Makefile.config
修改Makefile.config文件:去掉CPU_ONLY:= 1的注释
make all
make test
make runtest
配置pycaffe
a、安装依赖库:
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
sudo apt-get install protobuf-c-compiler protobuf-compiler
b、编译:
$ cd ~/caffe$ make pycaffe
c、添加~/caffe/python到$PYTHONPATH:
$ sudo gedit /etc/profile # 末尾添加: export PYTHONPATH=/path/to/caffe/python:$PYTHONPATH# 用完整路径,不要用~
$ source /etc/profile # 使之生效
$ sudo reboot # 永久生效
d、测试是否可以引用:
$ pythonPython 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> import caffe>>>
0 0
- caffee 安装教程
- ubuntn 16.04.2下caffee的安装教程
- GPU+Cuda8.0+cudnn8+OpenCv2.4.13+Caffee 安装教程嘎嘎
- Server 安装 caffee
- Ubuntu+CUDA+OpenCV+Caffee安装
- 【边喝caffee边Caffe 】(一)Caffe的安装
- caffee learning notebook 1
- Caffee调参tips
- 嵌入式Ubuntu 搭建caffee环境
- caffee学习中文指南(1)(1)
- caffee学习——图像切割
- 安装教程
- Ubuntu14.04+CUDA6.5+OpenCV2.4+Caffee配置
- [教程] [教程]RedHat9安装图解
- 【教程】Ubuntu安装cryptominisat教程
- 虚拟机安装教程 VPC安装教程
- 【安装教程】windows下安装Django教程
- python安装教程 Pycharm安装详细教程
- GTID的常见错误和处理方法
- AngularJS 问题&解决 | 技巧
- PHP版 判断两个字符串为互换词语
- 嵌入式core dump调试方法
- 汇编语言基础知识
- caffee 安装教程
- JDBC常用驱动和语法汇总
- Centos 7 gem install -v=0.12.0 pcaprub 出错解决办法
- Android resources.arsc资源文件防护原理分析
- Codeforces 597C(树状数组 + dp)
- Android resources.arsc资源文件防护原理分析
- bellman_ford 模板
- Java http post远程请求数据
- centos7安装rabbitmq