- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Trying to run an inference model generated with OpenVINO2024 as a Visual Studio2022 dll, I get an error (no supported front end). Can you please tell me how to resolve the error?
Phenomenon:
When trying to run OpenVINO 2024 on Visual Studio 2022, ov::Core.read_model() outputs an error and the inference model cannot be executed.
Objective:
- To infer a trained model (yolox_nano) generated using OpenVINO 2024 in Visual Studio 2022 environment (to create a dll that can infer the model)
- Incorporate it into another program as a Visual Studio dll.
System Requirements
- OS: Windows 10 (64 bit)
- Development environment: Visual Studio Professional 2022
- OpenVINO: OpenVINO
- Install/build with vcpkg manifest mode
- Download/Install with version: 2024.0.0
- Specification Inference Model
- yolov3-10.xml, yolov3-10.bin converted from yolov3-10.onnx by ovc
- Source code
- Use executable in CMake environment
Error status:
- vcpkg 1st build failed, 2nd build succeeded
- Error in ov::Core.read_model() at runtime
- Nothing is output after " Available frontends: " (I assume this is due to manager.get_available_front_ends() not getting the front end)
Overall error message:
yolov3-10.xml
yolov3-10.bin
Exception from src\inference\src\cpp\core.cpp:92:.
Exception from src\inference\src\model_reader.cpp:160:
Unable to read the model: yolov3-10.xml Please check that model format: xml is supported and the model is correct.
vcpkg.json
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Zul,
Thanks for the reply.
I was able to get it to work by using the compiled runtime library “openvino.lib;openvino_c.lib” instead of vcpkg.
Best Regards,
MAC2024
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi MAC2024,
Thank you for reaching out.
For your information these are the supported build environment components for Windows 10 and 11 are:
- Microsoft Visual Studio 2019
- CMake 3.16 or higher
- Python 3.8-3.11
- Intel® HD Graphics Driver required for inference on GPU
For more information please refer to System Requirements.
Regards,
Zul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Zul,
Thanks for the reply.
I was able to get it to work by using the compiled runtime library “openvino.lib;openvino_c.lib” instead of vcpkg.
Best Regards,
MAC2024
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This thread will no longer be monitored since we have provided the information. If you need additional information from Intel, please submit a new question.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page