Ask Your Question

Revision history [back]

opencv3.2 dnn module problem

I tried to try out the tutorial provided of dnn module using Caffe framework models, the link is www.docs.opencv.org/trunk/d5/de7/tutorial_dnn_googlenet.html

However, when I run the source code I got the following error in console:

OpenCV Error: Assertion failed (clSetKernelArg_pfn(p->handle, (cl_uint)i, arg.sz, arg.obj == 0) in cv::ocl::Kernel::set, file E:\opencv_root\opencv\modules\core\src\ocl.cpp, line 3445

OpenCV Error: Assertion failed (The following error occured while making forward() for layer "pool1/3*3_s2"): OpenCV Error: Assertion failed (clSetKernelArg_pfn(p->handle, (cl_uint)i, arg.sz, arg.obj == 0) in cv::ocl::Kernel::set, file E:\opencv_root\opencv\modules\core\src\ocl.cpp, line 3445

Could somebody help me find why this happened? I found the file ocl.cpp is related to openCL, is it because my embedded intel graphic card's driver isn't compatible?

Thank you very much