centos7下,intel-opencl-caffe安装中遇到的坑
来源:互联网 发布:买家淘宝退款率高咋办 编辑:程序博客网 时间:2024/05/29 08:13
用的是这个项目:https://github.com/01org/caffe
教程参考:https://github.com/01org/caffe/wiki/clCaffe
OpenCV的问题:
... CMake Warning at C:/opencv/opencv320/build/OpenCVConfig.cmake:138 (message): Found OpenCV Windows Pack but it has no binaries compatible with your configuration. You should manually point CMake variable OpenCV_DIR to your build of OpenCV ...
在CMakeList.txt中加入一句:
set(OpenCV_FOUND 1)
然后,在编译命令中添加:
-DOpenCV_DIR=/usr/local/opencv-2.4.13/build
如果使用atlas,会碰到找不到库的问题。建议改用openblas
openblas:
yum install openblas-devel
MakeFile.config配置如下:
BLAS := open # Custom (MKL/ATLAS/OpenBLAS) include and lib directories. # Leave commented to accept the defaults for your choice of BLAS # (which should work)! #BLAS_INCLUDE := /usr/include/atlas #BLAS_LIB := /usr/lib64/atlas
安装最新的epel-Release
sudo rpm -ivh https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-xx.noarch.rpm
出错:
Error: Failed Dependencies:epel-Release >= 7 Is Needed By Webtatic-Release-7-9.Noarch
移除老的版本:
yum remove epel*
之后再重新安装
运行测试
放到 /usr/local/lib 里面的动态链接库并不能正常被加载。(应该是之前安装的库都在这个目录……)
把这个目录添加到库搜索的目录就行了:sudo ldconfig /usr/local/lib
运行 examples 的例子的时候,其默认都是在 GPU 运行的,需要在 *_solver.prototxt 中将修改 solver_mode 为 solver_mode = CPU。
阅读全文
0 0
- centos7下,intel-opencl-caffe安装中遇到的坑
- Centos7下caffe的安装
- Centos7中安装caffe
- windows下安装centOS7遇到的几个问题
- 虚拟机下安装centos7遇到的问题
- UBUNTU14.04 下 安装Intel GPU OpenCL runtime
- [caffe]安装中遇到的问题
- centos7安装opencl环境
- ubuntu14.04安装intel openCL
- ubuntu14.04安装intel openCL
- 在centos7的无外网环境下编译安装caffe
- Intel Caffe的Linux安装教程
- CentOS7伪分布式下 hive安装过程中遇到的问题及解决办法
- CentOs7下,Caffe环境安装问题解决
- intel caffe安装
- OpenCL版Caffe安装教程
- Caffe-OpenCL在ubuntu16.04.2上的简要安装指南
- Caffe-OpenCL在ubuntu16.04.2上的简要安装指南
- was中发布失败后,项目删除不干净
- java.lang.UnsupportedOperationException
- DevOps的前世今生
- Linux中hive无法使用Delete和Backspace删除键
- java.lang.LinkageError: loader constraint violation in interface itable initialization
- centos7下,intel-opencl-caffe安装中遇到的坑
- 我是一个Java class
- ztree树菜单控制展开到任意几级节点的实现方法
- [架构]复杂App MVC重构小结
- 201402 系统更新后 VS2010 的宏功能不能正常使用(如添加头注释)
- Linux 中 ssh host 代理配置及远程免密码登陆
- Android进程保活招式大全
- Oracle
- 关于swift(3.3) 链式编程的理解