Opencv_contrib: Using the dnn sample get a bug

Created on 14 Mar 2016  Â·  1Comment  Â·  Source: opencv/opencv_contrib

when i use the sample caffe_googlenet.cpp I get a error,#136,the forward func,
when run the layerInstance = LayerFactory::createLayerInstance(type, params);i got a null ptr, the error is OpenCV Error: Unspecified error (Can't create layer "conv1/7x7_s2" of type "Convolution") in cv::dnn::LayerData::getLayerInstance, file E:\opencv_contrib-3.1.0\modules\dnn\src\dnn.cpp, line 122,so if who can give me some help, deeply grateful.

btw,I use vs2013 and win10.

bug dnn (moved out)

Most helpful comment

add following line at the beginning of main function.

cv::dnn::initModule();

>All comments

add following line at the beginning of main function.

cv::dnn::initModule();

Was this page helpful?
0 / 5 - 0 ratings