caffe

1\编译make: *** [.build_release/src/caffe/layer.o] Error 1


In file included from ./include/caffe/util/device_alternate.hpp:40:0,
                 from ./include/caffe/common.hpp:19,
                 from src/caffe/net.cpp:10:
./include/caffe/util/cudnn.hpp: In function 鈥榲oid caffe::cudnn::createPoolingDesc(cudnnPoolingStruct**, caffe::PoolingParameter_PoolMethod, cudnnPoolingMode_t*, int, int, int, int, int, int)鈥?
./include/caffe/util/cudnn.hpp:136:9: error: 鈥楥UDNN_PROPAGATE_NAN鈥?was not declared in this scope
         CUDNN_PROPAGATE_NAN, h, w, pad_h, pad_w, stride_h, stride_w));
         
./include/caffe/util/cudnn.hpp:136:68: error: there are no arguments to 鈥榗udnnSetPooling2dDescriptor_v4鈥?that depend on a template parameter, so a declaration of 鈥榗udnnSetPooling2dDescriptor_v4鈥?must be available [-fpermissive]
         CUDNN_PROPAGATE_NAN, h, w, pad_h, pad_w, stride_h, stride_w));
                                                                    
./include/caffe/util/cudnn.hpp:136:68: note: (if you use 鈥?fpermissive鈥? G++ will accept your code, but allowing the use of an undeclared name is deprecated)
         CUDNN_PROPAGATE_NAN, h, w, pad_h, pad_w, stride_h, stride_w));
                                                                    
./include/caffe/util/cudnn.hpp: At global scope:
./include/caffe/util/cudnn.hpp:141:40: error: variable or field 鈥榗reateActivationDescriptor鈥?declared void
 inline void createActivationDescriptor(cudnnActivationDescriptor_t* activ_desc,
                                        

./include/caffe/util/cudnn.hpp:142:27: error: expected primary-expression before 鈥榤ode鈥?     cudnnActivationMode_t mode) {

2\caffe error

      CHECK_LE(shape[i], INT_MAX / count_) <<count_ << "blob size exceeds INT_MAX" ;


size of blob oversize the int type.


出现这种问题一般都是因为因为cudnn版本与caffe版本不匹配

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值