Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Run-time Error Importing Caffe Models

When importing a caffe model I am getting the error convolution_layer.cpp:89:error:(-215) input.dims() ==4 && (input.type() == CV_32F || input.type() == CV_64F) in function cv::dnn::ConvolutionLayerImpl::allocate.

We never used to have this problem until recently we have rebuilt the libaries multiple times. We have had the program sucessfully run for quite some time importing and classifying with caffe models. However we lost the origional copies and as we reconstructed the new libaries this error has occured.

Run-time Error Importing Caffe Models

When importing a caffe model I am getting the error convolution_layer.cpp:89:error:(-215) input.dims() ==4 && (input.type() == CV_32F || input.type() == CV_64F) in function cv::dnn::ConvolutionLayerImpl::allocate.

We never used to have this problem until recently we have rebuilt the libaries multiple times. We have had the program sucessfully run for quite some time importing and classifying with caffe models. However we lost the origional copies and as we reconstructed the new libaries this error has occured.

Issue has now been posted at this link: https://github.com/opencv/opencv_contrib/issues/749