Ask Your Question

cqxooo's profile - activity

2017-04-24 22:55:05 -0600 commented question Fail to run the example in the OpenCV tutorial of Load Caffe framework models

I tried to disable opencl before and it can work. But opencv detects only one gpu on my system, so I still want to make opencl work.

1 GPU devices are detected.
name:              Intel(R) HD Graphics 5500
available:         1
imageSupport:      1
OpenCL_C_Version:  OpenCL C 2.0
2017-04-23 23:18:14 -0600 asked a question Fail to run the example in the OpenCV tutorial of Load Caffe framework models

I've tried the example in the opencv_contrib tutorial of dnn: docs.opencv.org/master/d5/de7/tutorial_dnn_googlenet.html

But it return two errors, I've search for hours and didn't get any solution. Does anyone could give me some help?

OpenCV Error: Assertion failed (retval == 0) in cv::ocl::Kernel::set, file D:\opencv32\opencv\modules\core\src\ocl.cpp, line 3366
OpenCV Error: Assertion failed (The following error occured while making forward() for layer "loss3/classifier": retval == 0) in cv::ocl::Kernel::set, file D:\opencv32\opencv\modules\core\src\ocl.cpp, line 3366