Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

OpenVINO with OnnxRuntime in Intel i5-8500

AidenZhang
Beginner
964 Views

Hello

 

I try to use openVINO in this CPU Intel i5- 8500  UHD 630 .to deploy the AI model.
     
I am now using the Microsoft.ML.OnnxRuntime.OpenVino.1.20.0 nupkg .
But it can start the program , when i use the EP with OnnxRuntime. it can not start the program , when I use this code

try
{
std::vector<std::string> labels = { "test" };// readClassNames();
std::string onnxpath = "best.onnx";
Ort::Env env(ORT_LOGGING_LEVEL_WARNING);
Ort::SessionOptions sessionOptions;
sessionOptions.SetIntraOpNumThreads(10);

OrtSessionOptionsAppendExecutionProvider_OpenVINO(
sessionOptions,
"GPU"
);
std::wstring modelPathBy = std::wstring(onnxpath.begin(), onnxpath.end());
Ort::Session session(env, modelPathBy.c_str(), sessionOptions);

Labels (2)
0 Kudos
4 Replies
Zulkifli_Intel
Moderator
863 Views

Hi AidenZhang,

Thank you for reaching out.

 

May I know which model you are using. If possible can you share the steps to reproduce the issue?

 

 

Regards,

Zul


0 Kudos
AidenZhang
Beginner
851 Views

Hello Zulkfli,

I am now using the YoloV8 model , export to Onnx model ,the version is 1.16.2 in python environment.
   

AidenZhang_1-1740532640886.png


the C++ project ,I use the Microsoft.ML.OnnxRuntime.OpenVINO 1.20.0  .

AidenZhang_0-1740532512856.png 

it cannot run the C++ program in the I5-8500 CPU laptop.

 

0 Kudos
Zulkifli_Intel
Moderator
830 Views

Hi AidenZhang

 

 

Based on Requirements, ONNX Runtime OpenVINO™ Execution Provider is compatible with three latest releases of OpenVINO™:

ONNX Runtime

OpenVINO™

Notes

1.19.0

2024.3

Details

1.18.0

2024.1

Details

1.17.1

2023.3

Details


 

It seems like you are not using the supported version.

 


Regards,

Zul


0 Kudos
Zulkifli_Intel
Moderator
612 Views

Thank you for your question. If you need any additional information from Intel, please submit a new question as this thread is no longer being monitored. 


0 Kudos
Reply