-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RPN_BF caffe cudnn compiling error #11
Comments
Hi, There might be several options. |
@zhangliliang Thanks! I solved the issue by copying the cudnn-related files from the latest caffe. |
Sorry for replying late since I am just onboard. You might try to use that prototxt in the final model tar for backup. And I also paste it as below. name: "VGG_ILSVRC_16" input: "data" input: "rois" layer { layer { layer { layer { layer { layer { layer { layer { layer { layer { layer { layer { layer { layer { layer { layer { layer { layer { layer { layer { layer { layer { layer { ------------- roi layer --------layer { layer { layer { layer { layer { |
@juntingzh Hi,I encountered the same problem as you. (@zhangliliang Thanks! I solved the issue by copying the cudnn-related files from the latest caffe. I would like to ask,which specific documents to be replaced and where to amend ? |
@juntingzh hello I met similar problem when I compile pycaffe in faster-rcnn. Can you tell me what files have you copied from the last version caffe? |
Hello, I tried to compile RPN_BF customized caffe but got an cudnn ralated error.
The error message is given below:
PROTOC src/caffe/proto/caffe.proto
CXX .build_release/src/caffe/proto/caffe.pb.cc
CXX src/caffe/internal_thread.cpp
In file included from ./include/caffe/util/device_alternate.hpp:40:0,
from ./include/caffe/common.hpp:19,
from ./include/caffe/internal_thread.hpp:4,
from src/caffe/internal_thread.cpp:2:
./include/caffe/util/cudnn.hpp: In function ‘void caffe::cudnn::createPoolingDesc(cudnnPoolingStruct*, caffe::PoolingParameter_PoolMethod, cudnnPoolingMode_t, int, int, int, int, int, int)’:
./include/caffe/util/cudnn.hpp:123:3: error: too few arguments to function ‘cudnnStatus_t cudnnSetPooling2dDescriptor(cudnnPoolingDescriptor_t, cudnnPoolingMode_t, cudnnNanPropagation_t, int, int, int, int, int, int)’
In file included from ./include/caffe/util/cudnn.hpp:5:0,
from ./include/caffe/util/device_alternate.hpp:40,
from ./include/caffe/common.hpp:19,
from ./include/caffe/internal_thread.hpp:4,
from src/caffe/internal_thread.cpp:2:
/usr/local/include/cudnn.h:803:27: note: declared here
Makefile:521: recipe for target '.build_release/src/caffe/internal_thread.o' failed
make: *** [.build_release/src/caffe/internal_thread.o] Error 1
My environment is ubuntu 15.04, with cuda 5.7 cudnn v5. I suspect the customized caffe is outdated and does not support cudnn v5. Any suggestions will be appreciated!
The text was updated successfully, but these errors were encountered: