deeplab-v2 安装问题总结
来源:互联网 发布:cpu散片淘宝店家推荐? 编辑:程序博客网 时间:2024/06/05 02:13
交流QQ:1187053210
deeplabv2安装问题总结如下:
1. cudnn从v5降级到v4,版本5在我的系统出现bug
2. atomicAdd的重写问题,cuda8已经有了atomicAdd函数的定义,出现bug。
解决方法:https://github.com/vlfeat/matconvnet/issues/575
具体做法:修改common.cuh
#ifndef CAFFE_COMMON_CUH_
#define CAFFE_COMMON_CUH_
#include <cuda.h>
#if !defined(__CUDA_ARCH__) || __CUDA_ARCH__ >= 600
#else
// CUDA: atomicAdd is not defined for doubles
static __inline__ __device__ double atomicAdd(double *address, double val) {
unsigned long long int* address_as_ull = (unsigned long long int*)address;
unsigned long long int old = *address_as_ull, assumed;
if (val==0.0)
return __longlong_as_double(old);
do {
assumed = old;
old = atomicCAS(address_as_ull, assumed, __double_as_longlong(val +__longlong_as_double(assumed)));
} while (assumed != old);
return __longlong_as_double(old);
}
#endif
#endif
3. matio.h no such file or directory
安装 libmatio: sudo apt-get install libmatio-dev
4. 找不到Mat系列bug:
../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarCreate' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to
Mat_CreateVer'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarWrite' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to
Mat_VarFree'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadInfo' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to
Mat_Close'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadDataLinear' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to
Mat_Open'
解决方法:https://github.com/TheLegendAli/DeepLab-Context2/issues/1
具体做法:添加以下代码至cmake/Dependencies.cmake文件中
find_package(MATIO REQUIRED)include_directories(${MATIO_INCLUDE_DIR})list(APPEND Caffe_LINKER_LIBS ${MATIO_LIBRARIES})
并拷贝该findMatio文件到cmake/Modules/文件夹中文件下载路径:https://github.com/TheLegendAli/DeepLab-Context/files/453735/FindMATIO.cmake.zip
- deeplab-v2 安装问题总结
- <caffe安装系列>deeplab-v2问题总结
- DeepLab V2安装配置
- DeepLab v2安装问题解决-------安装笔记
- Deeplab-v2 编译过程中的问题
- DeepLab V2 配置bug
- DeepLab v2 配置
- 图像分割 DeepLab v2
- [Paper Reading] DeepLab v1 & v2
- Deeplab V1 和 V2讲解
- 基于deeplab v2的语义分割
- 论文阅读:《DeepLab-v2: Semantic Image Segmentation 》
- deepLab
- 语义分割DeepLab v2--DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolut
- 基于deeplab v2的语义分割参考博文
- Deeplab v2 调试全过程(Ubuntu 16.04+cuda8.0)
- 图像语义分割:从头开始训练deeplab v2系列之四【nyu v2数据集】
- 安装rgbd slam v2时,部分问题
- bzoj 3238: [Ahoi2013]差异 (后缀自动机+树形dp)
- 基于TCP的半关闭
- Leetcode 153. Find Minimum in Rotated Sorted Array
- 第七十五天学习笔记
- 【LeetCode】 189. Rotate Array
- deeplab-v2 安装问题总结
- 【作业存档】堆排序和插入排序的练习
- android动画-布局动画(3)
- android AsyncTask介绍
- <caffe安装系列>deeplab-v2问题总结
- C++ call fortran using cmd
- 文章标题 关于java运算符的知识点以及如何从键盘输入
- 【LeetCode】 190. Reverse Bits
- 实验十二 百度地图 定位