Ubuntu 16.04 + caffe + cuda Installation Mannual
来源:互联网 发布:电信内蒙古大数据 编辑:程序博客网 时间:2024/06/06 19:10
//============================================================================
问题描述:
Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
出现场景:
使用命令:sudo apt-get update
原因解析:
在上一次下载资源时,由于网络问题,下载失败。当换一个较好一点网络环境之后,下载失败报错。
原因在于,上一次不正常的关闭下载,导致资源被锁不可用,删除异常的资源,重新下载即可。
解决方案:
运行以下命令,删除资源:
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
之后重新使用命令:sudo apt-get update,可以重新正常下载。
PS:如有不正确之处,欢迎指正!
//===========================================================================
“fatal error: hdf5.h: 没有那个文件或目录”解决方法
参考自http://blog.csdn.net/hongye000000/article/details/51043913
Step 1
在Makefile.config文件的第85行,添加/usr/include/hdf5/serial/ 到INCLUDE_DIRS,也就是把下面第一行代码改为第二行代码。
INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include
- 1
INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include /usr/include/hdf5/serial/
Error when Building GPU docker image for caffe: Unsupported gpu architecture 'compute_60'
In the Makefile.example, try commenting out the *_60 and *_61 lines (for compatibility with CUDA < 8.0).
CUDA_ARCH := -gencode arch=compute_20,code=sm_20 \ -gencode arch=compute_20,code=sm_21 \ -gencode arch=compute_30,code=sm_30 \ -gencode arch=compute_35,code=sm_35 \ -gencode arch=compute_50,code=sm_50 \ -gencode arch=compute_52,code=sm_52 \ #-gencode arch=compute_60,code=sm_60 \ #-gencode arch=compute_61,code=sm_61 \ #-gencode arch=compute_61,code=compute_61
//===========================================================================
Build caffe fails on Ubuntu 16.04 (‘memcpy’ was not declared in this scope)
You could try to pass an argument (CXX_FLAGS) to the compiler -D_FORCE_INLINES by editing the CMAKE files (for example: set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_FORCE_INLINES")) or makefiles.
So, Open the Makefile and changing the line
NVCCFLAGS += -ccbin=$(CXX) -Xcompiler -fPIC $(COMMON_FLAGS)
into
NVCCFLAGS += -D_FORCE_INLINES -ccbin=$(CXX) -Xcompiler -fPIC $(COMMON_FLAGS)
For me this was on line 406
//===================================================================
在make py的时候,遇到了这个错误:
/usr/bin/ld: cannot find -lhdf5_hl/usr/bin/ld: cannot find -lhdf5collect2: error: ld returned 1 exit status
这说明连接器找不到 hdf5_hl和hdf5这两个库,没法进行链接。
我的解决方案是更改makefile:在makefile中作如下更改:
#LIBRARIES += glog gflags protobuf boost_system boost_filesystem m hdf5_hl hdf5LIBRARIES += glog gflags protobuf boost_system boost_filesystem m hdf5_serial_hl hdf5_serial
- Ubuntu 16.04 + caffe + cuda Installation Mannual
- ubuntu 16.04LTS + cuda +caffe
- Ubuntu 16.04 + cuda 8.0 + caffe安装记录
- ubuntu 16.04 安装 Caffe + Cuda 8.0
- ubuntu caffe cuda
- Caffe + Ubuntu 14.04 + CUDA 6.5
- caffe +cuda +ubuntu 14.04安装
- [Caffe]ubuntu无cuda安装caffe
- Ubuntu 16.04 + CUDA 8.0 + Matlab 2016a + OpenCV 3.1 + Caffe
- caffe 编译问题 ubuntu 16.04 + cuda 8 + opencv + matlab
- ubuntu 16.04中安装无cuda的caffe
- ubuntu 16.04 cuda 8.0 caffe 安装 及遇到的问题。
- Caffe + Ubuntu 12.04 64bit + CUDA 5.5
- Ubuntu 14.04+cuda 7.5+caffe安装配置
- Ubuntu 15.04: Compile Caffe with CUDA/cuDNN
- caffe安装+cuda一些坑+ubuntu
- Ubuntu 14.04+cuda 7.5+caffe安装配置
- Ubuntu+cuda+CuDnn+Caffe完美安装教程
- 公司利润
- sql-server-2017-integration-services-cookbook.pdf 英文原版 免费下载
- C语言中的操作符和表达式
- HTML面试真题
- 11---------几种简单排序算法
- Ubuntu 16.04 + caffe + cuda Installation Mannual
- 吴恩达深度学习1-4课后作业1 Building your Deep Neural Network: Step by Step
- bootstrap table 数据行合并
- 高并发Oracle数据库系统的架构与设计.pdf 免费下载
- tensorboard使用问题
- JAVA反射(一):获取Class对象
- c/c++ json对象操作
- 【BZOJ1096】仓库建设
- npm --save-dev --save 的区别