Comments (7)
What version of CUDNN are you using? This code supports CUDNN v2.
On Thu, 24 Dec 2015, 16:06 Ted [email protected] wrote:
I met the following problem while compiling, but didn't get much useful
information after google it Can anyone tell me what might be the source of
these errors?/home/ted/SegNet/caffe-segnet/src/caffe/layers/cudnn_conv_layercu(81): error: argument of type "cudnnAddMode_t" is incompatible with parameter of type "const void *"
detected during instantiation of "void caffe::CuDNNConvolutionLayer::Forward_gpu(const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &, const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &) [with Dtype=float]"
(157): here/home/ted/SegNet/caffe-segnet/src/caffe/layers/cudnn_conv_layercu(81): error: argument of type "const void *" is incompatible with parameter of type "cudnnTensorDescriptor_t"
detected during instantiation of "void caffe::CuDNNConvolutionLayer::Forward_gpu(const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &, const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &) [with Dtype=float]"
(157): here/home/ted/SegNet/caffe-segnet/src/caffe/layers/cudnn_conv_layercu(81): error: argument of type "const void *" is incompatible with parameter of type "cudnnTensorDescriptor_t"
detected during instantiation of "void caffe::CuDNNConvolutionLayer::Forward_gpu(const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &, const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &) [with Dtype=float]"
(157): here/home/ted/SegNet/caffe-segnet/src/caffe/layers/cudnn_conv_layercu(81): error: too many arguments in function call
detected during instantiation of "void caffe::CuDNNConvolutionLayer::Forward_gpu(const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &, const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &) [with Dtype=float]"
(157): here/home/ted/SegNet/caffe-segnet/src/caffe/layers/cudnn_conv_layercu(125): error: argument of type "const void *" is incompatible with parameter of type "cudnnConvolutionBwdFilterAlgo_t"
detected during instantiation of "void caffe::CuDNNConvolutionLayer::Backward_gpu(const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &, const std::vector<__nv_bool, std::allocator<__nv_bool>> &, const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &) [with Dtype=float]"
(157): here/home/ted/SegNet/caffe-segnet/src/caffe/layers/cudnn_conv_layercu(125): error: argument of type "float *" is incompatible with parameter of type "size_t"
detected during instantiation of "void caffe::CuDNNConvolutionLayer::Backward_gpu(const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &, const std::vector<__nv_bool, std::allocator<__nv_bool>> &, const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &) [with Dtype=float]"
(157): here/home/ted/SegNet/caffe-segnet/src/caffe/layers/cudnn_conv_layercu(125): error: too few arguments in function call
detected during instantiation of "void caffe::CuDNNConvolutionLayer::Backward_gpu(const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &, const std::vector<__nv_bool, std::allocator<__nv_bool>> &, const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &) [with Dtype=float]"
(157): here/home/ted/SegNet/caffe-segnet/src/caffe/layers/cudnn_conv_layercu(140): error: argument of type "const void *" is incompatible with parameter of type "cudnnConvolutionBwdDataAlgo_t"
detected during instantiation of "void caffe::CuDNNConvolutionLayer::Backward_gpu(const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &, const std::vector<__nv_bool, std::allocator<__nv_bool>> &, const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &) [with Dtype=float]"
(157): here/home/ted/SegNet/caffe-segnet/src/caffe/layers/cudnn_conv_layercu(140): error: argument of type "float *" is incompatible with parameter of type "size_t"
detected during instantiation of "void caffe::CuDNNConvolutionLayer::Backward_gpu(const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &, const std::vector<__nv_bool, std::allocator<__nv_bool>> &, const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &) [with Dtype=float]"
(157): here/home/ted/SegNet/caffe-segnet/src/caffe/layers/cudnn_conv_layercu(140): error: too few arguments in function call
detected during instantiation of "void caffe::CuDNNConvolutionLayer::Backward_gpu(const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &, const std::vector<__nv_bool, std::allocator<__nv_bool>> &, const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &) [with Dtype=float]"
(157): here/home/ted/SegNet/caffe-segnet/src/caffe/layers/cudnn_conv_layercu(81): error: argument of type "cudnnAddMode_t" is incompatible with parameter of type "const void *"
detected during instantiation of "void caffe::CuDNNConvolutionLayer::Forward_gpu(const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &, const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &) [with Dtype=double]"
(157): here/home/ted/SegNet/caffe-segnet/src/caffe/layers/cudnn_conv_layercu(81): error: argument of type "const void *" is incompatible with parameter of type "cudnnTensorDescriptor_t"
detected during instantiation of "void caffe::CuDNNConvolutionLayer::Forward_gpu(const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &, const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &) [with Dtype=double]"
(157): here/home/ted/SegNet/caffe-segnet/src/caffe/layers/cudnn_conv_layercu(81): error: argument of type "const void *" is incompatible with parameter of type "cudnnTensorDescriptor_t"
detected during instantiation of "void caffe::CuDNNConvolutionLayer::Forward_gpu(const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &, const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &) [with Dtype=double]"
(157): here/home/ted/SegNet/caffe-segnet/src/caffe/layers/cudnn_conv_layercu(81): error: too many arguments in function call
detected during instantiation of "void caffe::CuDNNConvolutionLayer::Forward_gpu(const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &, const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &) [with Dtype=double]"
(157): here/home/ted/SegNet/caffe-segnet/src/caffe/layers/cudnn_conv_layercu(125): error: argument of type "const void *" is incompatible with parameter of type "cudnnConvolutionBwdFilterAlgo_t"
detected during instantiation of "void caffe::CuDNNConvolutionLayer::Backward_gpu(const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &, const std::vector<__nv_bool, std::allocator<__nv_bool>> &, const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &) [with Dtype=double]"
(157): here/home/ted/SegNet/caffe-segnet/src/caffe/layers/cudnn_conv_layercu(125): error: argument of type "double *" is incompatible with parameter of type "size_t"
detected during instantiation of "void caffe::CuDNNConvolutionLayer::Backward_gpu(const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &, const std::vector<__nv_bool, std::allocator<__nv_bool>> &, const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &) [with Dtype=double]"
(157): here/home/ted/SegNet/caffe-segnet/src/caffe/layers/cudnn_conv_layercu(125): error: too few arguments in function call
detected during instantiation of "void caffe::CuDNNConvolutionLayer::Backward_gpu(const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &, const std::vector<__nv_bool, std::allocator<__nv_bool>> &, const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &) [with Dtype=double]"
(157): here/home/ted/SegNet/caffe-segnet/src/caffe/layers/cudnn_conv_layercu(140): error: argument of type "const void *" is incompatible with parameter of type "cudnnConvolutionBwdDataAlgo_t"
detected during instantiation of "void caffe::CuDNNConvolutionLayer::Backward_gpu(const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &, const std::vector<__nv_bool, std::allocator<__nv_bool>> &, const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &) [with Dtype=double]"
(157): here/home/ted/SegNet/caffe-segnet/src/caffe/layers/cudnn_conv_layercu(140): error: argument of type "double *" is incompatible with parameter of type "size_t"
detected during instantiation of "void caffe::CuDNNConvolutionLayer::Backward_gpu(const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &, const std::vector<__nv_bool, std::allocator<__nv_bool>> &, const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &) [with Dtype=double]"
(157): here/home/ted/SegNet/caffe-segnet/src/caffe/layers/cudnn_conv_layercu(140): error: too few arguments in function call
detected during instantiation of "void caffe::CuDNNConvolutionLayer::Backward_gpu(const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &, const std::vector<__nv_bool, std::allocator<__nv_bool>> &, const std::vectorcaffe::Blob<Dtype *, std::allocatorcaffe::Blob<Dtype *>> &) [with Dtype=double]"
(157): here20 errors detected in the compilation of "/tmp/tmpxft_0000489a_00000000-7_cudnn_conv_layercpp1ii"
CMake Error at cuda_compile_generated_cudnn_conv_layercuocmake:264 (message):
Error generating file
/home/ted/SegNet/caffe-segnet/build/src/caffe/CMakeFiles/cuda_compiledir/layers//cuda_compile_generated_cudnn_conv_layercuomake[2]: *** [src/caffe/CMakeFiles/cuda_compiledir/layers//cuda_compile_generated_cudnn_conv_layercuo] Error 1
make[1]: *** [src/caffe/CMakeFiles/caffedir/all] Error 2
make: *** [all] Error 2—
Reply to this email directly or view it on GitHub
#12.
from caffe-segnet.
@alexgkendall Thank you so much, now everything works perfect after I change my CUDNN from V4 to V2.
from caffe-segnet.
where to get CUDNN V2?
from caffe-segnet.
I switched to cuDNNv2 downloaded from https://developer.nvidia.com/rdp/assets/cudnn-65-linux-v2-asset but failed when do make runtest. I got
Check failed: status == CUDNN_STATUS_SUCCESS (9 vs. 0) CUDNN_STATUS_NOT_SUPPORTED
@ieted is this what you used?
from caffe-segnet.
@lhoangan Yeah, exactly. I downloaded it from nvidia official archived releases.
from caffe-segnet.
@ieted could you tell which CUDA toolkit version you were using? I am trying to figure out what the difference is.
from caffe-segnet.
@lhoangan CUDA-7.5
from caffe-segnet.
Related Issues (20)
- About Run In C++
- Separate input concatenation in segnet
- Caffe2 caffe-segnet HOT 2
- make runtest fail HOT 4
- Reducing the noise in a image
- Error occurred when make resource code
- Which file does caffe execute when implementing convolutional operation?
- CUDNN version
- Caffe-SegNet installation on Windows
- All indices of the max locations will be stored and passed to the decoder during pooling?
- Hey - it doesn't make sense to train segnet on a single class. In this situation, segnet will simply learn to predict every pixel as this class, and you will see loss=0. HOT 1
- Help for implementing SegNet for predicting Single class
- Check failed: error == cudaSuccess (77 vs. 0) an illegal memory access was encountered HOT 2
- make problem
- make error
- nvcc fatal: redefinition of argument 'compiler-bindir'
- what is the softmax uncertainty in Bayesian Segnet paper?
- changing the number of classes in segnet produce error: cudaSuccess (700 vs. 0) an illegal memory access was encountered. HOT 1
- Try-demo issues about website http://mi.eng.cam.ac.uk/projects/segnet/demo.php
- why last prediction layer is 3x3 convolution??
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caffe-segnet.