senlinuc / caffe_ocr

主流ocr算法研究实验性的项目,目前实现了CNN+BLSTM+CTC架构
1.26k stars 536 forks source link

DenseBlock 出错,cudnnTensorDescriptor_t’ does not name a type #71

Closed ghost closed 5 years ago

ghost commented 6 years ago

In file included from src/caffe/layers/DenseBlock_layer.cpp:19:0: ./include/caffe/layers/DenseBlock_layer.hpp:147:3: error: ‘cudnnTensorDescriptor_t’ does not name a type

ghost commented 5 years ago

找到原因了,是因为我在makefile.config 中把cudnn注释掉了,而这个文件好像必须要使用cudnn,所以去掉注释就行了