TheLegendAli / DeepLab-Context

Other
239 stars 97 forks source link

Error in running run.py #7

Open koizora223 opened 8 years ago

koizora223 commented 8 years ago

Hi @TheLegendAli Which version of cudnn do you use for deeplab ? How can I use cudnn v4 ?

TheLegendAli commented 8 years ago

I'm not sure what you mean? it should work can you give me more details?

wolf943134497 commented 7 years ago

Hi @TheLegendAli when I run run.py,I meet the following problem. /include/caffe/util/cudnn.hpp:60:32: error : ‘createTensor4dDesc’声明为 void ./include/caffe/util/cudnn.hpp:60:32: 错误: ‘cudnnTensor4dDescriptor_t’在此作用域中尚未声明 ./include/caffe/util/cudnn.hpp:60:59: 错误: ‘desc’在此作用域中尚未声明 ./include/caffe/util/cudnn.hpp:65:29: 错误: 变量或字段‘setTensor4dDesc’声明为 void ./include/caffe/util/cudnn.hpp:65:29: 错误: ‘cudnnTensor4dDescriptor_t’在此作用域中尚未声明 ./include/caffe/util/cudnn.hpp:65:56: 错误: ‘desc’在此作用域中尚未声明 ./include/caffe/util/cudnn.hpp:66:5: 错误: expected primary-expression before ‘int’ ./include/caffe/util/cudnn.hpp:66:12: 错误: expected primary-expression before ‘int’ ./include/caffe/util/cudnn.hpp:66:19: 错误: expected primary-expression before ‘int’ ./include/caffe/util/cudnn.hpp:66:26: 错误: expected primary-expression before ‘int’ ./include/caffe/util/cudnn.hpp:67:5: 错误: expected primary-expression before ‘int’ ./include/caffe/util/cudnn.hpp:67:19: 错误: expected primary-expression before ‘int’ ./include/caffe/util/cudnn.hpp:67:33: 错误: expected primary-expression before ‘int’ ./include/caffe/util/cudnn.hpp:67:47: 错误: expected primary-expression before ‘int’ ./include/caffe/util/cudnn.hpp:73:29: 错误: 变量或字段‘setTensor4dDesc’声明为 void ./include/caffe/util/cudnn.hpp:73:29: 错误: ‘cudnnTensor4dDescriptor_t’在此作用域中尚未声明 ./include/caffe/util/cudnn.hpp:73:56: 错误: ‘desc’在此作用域中尚未声明 ./include/caffe/util/cudnn.hpp:74:5: 错误: expected primary-expression before ‘int’ ./include/caffe/util/cudnn.hpp:74:12: 错误: expected primary-expression before ‘int’ ./include/caffe/util/cudnn.hpp:74:19: 错误: expected primary-expression before ‘int’ ./include/caffe/util/cudnn.hpp:74:26: 错误: expected primary-expression before ‘int’ ./include/caffe/util/cudnn.hpp:98:5: 错误: ‘cudnnTensor4dDescriptor_t’未声明

Thanks! I use cuDNN v4 .which version of cuDNN do you use???