caffe cpu版 Anaconda3 python 接口安装

安装之前请详细阅读官方的文档

caffer installation

caffer Ubuntu Installation

由于官方的文档给出了各个版本的安装需求和 config 文件的部分参数含义,不够仔细(当然所有的 config 参数含义都在该文件中有解释),这里我单独记录一下自己使用 Anaconda3 编译 caffe cpu 版的完整过程。

环境:

ubuntu 14.04
anaconda3
python3.5
编译版本:纯cpu版

1. 依赖

相关依赖库的安装参见官网给的链接:

caffer Ubuntu Installation

2. 配置

修改配置文件如下:

## Refer to http://caffe.berkeleyvision.org/installation.html
# Contributions simplifying and improving our build system are welcome!

# cuDNN acceleration switch (uncomment to build with cuDNN).
# USE_CUDNN := 1

# CPU-only switch (uncomment to build without GPU support).
CPU_ONLY := 1

# uncomment to disable IO dependencies and corresponding data layers
# USE_OPENCV := 0
# USE_LEVELDB := 0
# USE_LMDB := 0

# uncomment to allow MDB_NOLOCK when reading LMDB files (only if necessary)
#   You should not set this flag if you will be reading LMDBs with any
#   possibility of simultaneous read and write
# ALLOW_LMDB_NOLOCK := 1

# Uncomment if you're using OpenCV 3
# OPENCV_VERSION := 3

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值