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.
6503 Discussions

OpenVINO InferenceEngine::GeneralError in Loading Model Network

Lukech
Beginner
1,646 Views

Hello.

 

I recently changed openvino version to 23.0 in my own project. 

During changing version, i replaced some InferenceEngine code and sdk files (dll, lib).

but there are some error occurs when i excute my program.

 

There is no problem on the surface in obtaining the inference process and the result value,

but I want to deal with the cause of the error that occurs, but there is no way to grasp it.

 

The error contents are as below follows. 

* Microsoft C++ Exception : InferenceEngine::GeneralError, Memory Location

 

I really hope to handle this problem correctly.

 

kind regards

Luke

0 Kudos
5 Replies
Lukech
Beginner
1,620 Views

additionaly specific code is below.

error occurs same

 

InferenceEngine API

net = ie.ReadNetwork(modelPath);
compiled_net = ie.LoadNetwork(net , "CPU");

 

OpenVINO API v2.0

net = core.read_model(modelPath);
compiled_net = core.compile_model(model, "CPU");

0 Kudos
Megat_Intel
Moderator
1,590 Views

Hi Luke,

Thank you for reaching out to us.

 

Did you encounter this error in Microsoft Visual Studio output as shown here?

 hello_classification_debugx64.png

 

For your information, the exceptions you observed are normal behavior. The errors are internal exceptions that have already been handled internally by OpenVINO™, and they don't affect the code execution.

 

It is just how OpenVINO™ works internally. That also explains why the error messages are not displayed in the command prompt. You can refer to the Exception Thrown When Running Hello Classification Sample in Visual Studio* Output page for more information, Thank you.

 

 

Regards,

Megat

 

0 Kudos
Lukech
Beginner
1,537 Views

Thanks for replying.

I understood that it doesn't matter while executing  codes.

But, i wonder that why does these errors happen in codes.

The reason why I'm asking is to judge the probability about terminating code of a problem that may arise later.

if you hard to answer that, can you describe simple reason about that error?

 

 

kind regards

Luke

0 Kudos
Megat_Intel
Moderator
1,243 Views

Hi Luke,

We apologize for the delay.

 

For your information, in general, those internal exceptions are used when one plugin cannot support some property or function in one release. So same application may hit different internal exceptions in different releases. It is not an issue if an unsupported property or function does not block your use cases.

 

If this error is still blocking your use cases, please provide more details and information regarding your use case and how it's blocking it.

 

 

Regards,

Megat


0 Kudos
Megat_Intel
Moderator
1,180 Views

Hi Luke,

Thank you for your question. This thread will no longer be monitored since we have provided an explanation. If you need any additional information from Intel, please submit a new question.

 

 

Regards,

Megat


0 Kudos
Reply