软件硬件环境:
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_)