- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OS: Windows 11
OpenVINO version: 2022.2.0
I'm writing a sample which is using ov::intel_gpu::ocl::D3DContext with including,
#include <openvino/runtime/intel_gpu/ocl/dx.hpp>
C:/Program Files (x86)/Intel/openvino_2022/runtime/include\openvino/runtime/intel_gpu/ocl/ocl_wrapper.hpp(44,10): fatal error C1083: Cannot open include file: 'CL/cl2.hpp': No such file or directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Seunghyuk_P_Intel,
OpenCL headers are located in thirdparty/ocl/cl_headers in OpenVINO source distribution. In case if you build from sources you can reuse them, otherwise please install from Khronos repository: https://github.com/KhronosGroup/OpenCL-CLHPP
Regards,
Peh
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Seunghyuk_P_Intel,
I was able to duplicate the same error as you. It might be due to OpenCL is not build with OpenVINO.
I have to check with development team and come back to you at the earliest.
Regards,
Peh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
cv.dnn.readNet
Keep getting the error when trying to read openvino ir :
import cv2 as cv
net = cv.dnn.readNet(XML, BIN)
cv2.error: OpenCV(4.5.2-openvino) /home/pi/opencv/modules/dnn/src/dnn.cpp:3901: error: (-2:Unspecified error) Build OpenCV with Inference Engine to enable loading models from Model Optimizer. in function 'readFromModelOptimizer'
I did install openvino and run the initialization script on my raspberry pi4b ( with MYRIAD ) as per instructions in:
https://www.intel.com/content/www/us/en/support/articles/000057005/boards-and-kits.html
The initialization command is:
source /home/pi/openvino_dist/bin/setupvars.sh
How can I use cv.dnn.readNet without the error ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Farhâd I just `thanks`ed because Peh said .. will check my issue with dev team.
I don't know why you posted your question in my thread :), but..
Why don't you create new thread since your issue is not related to mine?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did create a new thread but getting no answers yet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Farhad,
Sorry for our late response. We will response to your threads accordingly.
Regards,
Peh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Seunghyuk_P_Intel,
OpenCL headers are located in thirdparty/ocl/cl_headers in OpenVINO source distribution. In case if you build from sources you can reuse them, otherwise please install from Khronos repository: https://github.com/KhronosGroup/OpenCL-CLHPP
Regards,
Peh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Seunghyuk_P_Intel,
This thread will no longer be monitored since this issue has been resolved. If you need any additional information from Intel, please submit a new question.
Regards,
Peh
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page