Ask Your Question

Revision history [back]

DNN Net crashed after pausing for a long period.

Hi All,

I followed this tutorial https://github.com/opencv/opencv/blob/3.4/samples/dnn/object_detection.cpp I used yolov3 model, backend = Intel's Deep Learning Inference Engine, target = OpenCL fp16. It worked well if I let it run continuously. However, if I pause halfway (cv::waitKey(0)) and resume some moment later (a few minutes), it gives an error at the call net.forward... (line 128 in the tutorial). On the console window, only show this error:

Abort was called at 767 line in file: D:\qb\workspace\19992\src\vpg-compute-neo\runtime\os_interface\windows\wddm.cpp (The Call Stack is below.)

I couldn't find this file anywhere. I also don't know which exception to catch, tried both std::exception and cv::Exception but didn't catch anything.

Thanks for help.

Here is the Call Stack window when it crashed: igdrclneo64.dll!00007fff052c3e0c() Unknown igdrclneo64.dll!00007fff050ccc19() Unknown igdrclneo64.dll!00007fff050ccc8a() Unknown igdrclneo64.dll!00007fff050e7dd3() Unknown igdrclneo64.dll!00007fff052271f8() Unknown igdrclneo64.dll!00007fff051cf922() Unknown igdrclneo64.dll!00007fff051776dd() Unknown igdrclneo64.dll!00007fff050d10ee() Unknown clDNN64.dll!00007ffeff97a337() Unknown clDNN64.dll!00007ffeff8bde96() Unknown clDNN64.dll!00007ffeff89618f() Unknown clDNN64.dll!00007ffeff89ce9b() Unknown clDNN64.dll!00007ffeff89e81e() Unknown clDNNPlugin.dll!00007fff174c2e99() Unknown clDNNPlugin.dll!00007fff1742f886() Unknown clDNNPlugin.dll!00007fff174da238() Unknown clDNNPlugin.dll!00007fff174de1a7() Unknown inference_engine.dll!00007fff437e7a08() Unknown inference_engine.dll!00007fff437e7c4c() Unknown clDNNPlugin.dll!00007fff174b7f8b() Unknown clDNNPlugin.dll!00007fff174bd5e0() Unknown clDNNPlugin.dll!00007fff174b64a7() Unknown opencv_dnn342.dll!InferenceEngine::InferRequest::Infer(void) C++ opencv_dnn342.dll!cv::dnn::forwardInfEngine(struct cv::Ptr<class cv::dnn::experimental_dnn_v5::backendnode=""> &) C++ opencv_dnn342.dll!cv::dnn::experimental_dnn_v5::Net::Impl::forwardLayer(struct cv::dnn::experimental_dnn_v5::LayerData &) C++ opencv_dnn342.dll!cv::dnn::experimental_dnn_v5::Net::Impl::forwardToLayer(struct cv::dnn::experimental_dnn_v5::LayerData &,bool) C++ opencv_dnn342.dll!cv::dnn::experimental_dnn_v5::Net::forward(class cv::_OutputArray const &,class std::vector<class cv::string,class="" std::allocator<class="" cv::string=""> > const &) C++