Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Error with DNN

$
0
0
Hi I have deep network //set input data cv::dnn::Blob input_blob = cv::dnn::Blob::fromImages(candidate); net.setBlob("data", input_blob); //propagate through googlenet net.forward(net.getLayerId("relu4")); //get final feature map cv::dnn::Blob relu5 = net.getBlob("relu4"); but get error OpenCV Error: Assertion failed ((size_t)innerSize == input[0]->total(axisCan)) in cv::dnn::FullyConnectedLayerImpl::allocate, file C:\Bin\opencv_contrib-master\modules\dnn\src\layers\fully_connected_layer.cpp, line 72

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>