【ubuntu14.04配置caffe】五——安装anaconda、pycuda
来源:互联网 发布:md5算法c 实现 编辑:程序博客网 时间:2024/04/30 19:24
在ubuntu14.04下配置caffe主要有以下步骤:
- NVIDIA驱动以及cuda和cudnn的安装配置
- Intel MKL的安装配置
- MATLAB的安装配置
- OpenCV的安装配置
- Anaconda以及pycuda的安装配置
- caffe的安装编译
本文介绍anaconda以及pycuda的安装配置
0.确保cuda已正确安装并且环境变量设置正确
注意:需要设置$CUDA_ROOT为你的cuda安装路径,添加$CUDA_ROOT/bin到$PATH中。
参考:在~/.bashrc中添加:
export CUDA_ROOT=/usr/local/cuda:$CUDA_ROOTexport PATH=/usr/local/cuda/bin:$PATH
1.安装anaconda
下载anaconda,选择linux Python2.7版本:https://www.continuum.io/downloads
执行:
bash Anaconda2-4.2.0-Linux-x86_64.sh
按照默认选项一步步进行安装即可。
anaconda可提供绝大多数python依赖包,包括numpy等。
2.安装boost C++
sudo apt-get install libboost-all-dev
3.安装pycuda
安装必要的库:
sudo apt-get install build-essential python-dev python-setuptools libboost-python-dev libboost-thread-dev -y
下载pycuda:https://pypi.python.org/pypi/pycuda
解压:
tar xzvf pycuda-VERSION.tar.gz
cd pycuda-VERSION./configure.py --cuda-root=/usr/local/cuda --cudadrv-lib-dir=/usr/lib/x86_64-linux-gnu --boost-inc-dir=/usr/include --boost-lib-dir=/usr/lib --boost-python-libname=boost_python --boost-thread-libname=boost_thread --no-use-shipped-boost make -j 4sudo python setup.py installsudo pip install .
0 0
- 【ubuntu14.04配置caffe】五——安装anaconda、pycuda
- ubuntu14.04安装Anaconda、opencv3.1、caffe
- 【ubuntu14.04配置caffe】六——安装编译caffe
- ubuntu14.04 + cuda6.5 + pycuda 安装
- 【ubuntu14.04配置caffe】二——安装intel MKL
- Ubuntu14.04+Anaconda+Cuda+Cudnn+Caffe环境搭建配置
- Ubuntu14.04+Anaconda+Cuda+Cudnn+Caffe环境搭建配置
- ubuntu14.04 Caffe 安装配置步骤
- Caffe Ubuntu14.04安装配置源问题
- 安装配置ubuntu14.04+cuda7.5+caffe
- 【Caffe安装】Ubuntu14.04上Caffe配置安装(Only CPU)
- 【ubuntu14.04配置caffe】四——opencv的安装与配置
- Ubuntu14.04下Python集成开发环境Anaconda安装配置
- Window+Anaconda+Cuda之Pycuda安装
- Ubuntu14.04配置caffe
- ubuntu14.04配置caffe
- 【ubuntu14.04配置caffe】一——双显卡安装NVIDIA驱动以及cuda和cudnn
- 32bit/64bit-Ubuntu14.04+anaconda+CPU版本的Caffe安装教程
- Android Studio合作开发时,module下的依赖包不用自己下
- 闲聊
- 【SpringMVC学习01】SpringMVC中实现文件上传
- Linux开机自启动程序
- Eclipse自动提示:java/html/jsp/js/xml文本,mybatis xml自动提示
- 【ubuntu14.04配置caffe】五——安装anaconda、pycuda
- 进入Java的世界
- 找不到外部符号
- java MVC设计模式
- HTML5启程
- 对拍
- springMVC - Controller
- 四轴的方案设计
- 帧头 帧尾问题