Faster R-CNN 和最新的版本cuDNN V5.0不兼容问题

软件硬件环境:
Ubuntu 14.04 64bit
NVIDIA GTX1060
cuda 8.0
cuDNN 5.0
错误如下:

  • 这里写图片描述

解决方法:

cd py-faster-rcnn/caffe-fast-rcnn  
Git remote add caffe https://github.com/BVLC/caffe.git  
git fetch caffe  
git merge caffe/master 

在合并之后注释掉include/caffe/layers/python_layer.hppa文件里的self_.attr(“phase”) = static_cast(this->phase_)

猜你喜欢

转载自blog.csdn.net/RZJMPB/article/details/52373012