openvinotoolkit / openvino

OpenVINO™ is an open-source toolkit for optimizing and deploying AI inference
https://docs.openvino.ai
Apache License 2.0
7.25k stars 2.26k forks source link

0x00007FFC474D4ED9 in ylov5_openvino.exe: Microsoft C++ exception: InferenceEngine::NotImplemented at memory location 0x000000BC8B1FD450.[Bug] #7248

Closed Guemann-ui closed 3 years ago

Guemann-ui commented 3 years ago

Hello Currently I'm working on yolov5 with open vino using c++,and I faced this problem : Exception thrown at 0x00007FFC474D4ED9 in ylov5_openvino.exe: Microsoft C++ exception: InferenceEngine::NotImplemented at memory location 0x000000BC8B1FD450.[Bug]

Any help?

Iffa-Intel commented 3 years ago

Your problem seems like whether you didn't install something properly or you didn't run the setupvars script before running an inference.

Please note that there are 2 ways of getting OpenVINO:

  1. Download & install OpenVINO toolkit
  2. clone & build OpenVINO from source

Decide one of the ways and follow the instruction thoroughly.

Note:Please install all of the pre-requisite as indicated in the guide and run the script " install_prerequisites.sh". If you have everything set up correctly you should be able to run a demo. Make sure you are able to do so before doing anything else.

As for YOLOV5 you'll need to freeze and convert your model into IR before using it with OpenVINO.

Where did you get the yolov5 model? can you share the link? If for Python, you can refer to my answer here.

Iffa-Intel commented 3 years ago

Closing issue, feel free to re-open or start a new issue if additional assistance is needed.

latermarch commented 2 years ago

@besmaGuesmi do you get rid of this bug? I meet the same issue although I have download & install the latest OpenVINO toolkit

latermarch commented 2 years ago

in addition, the exe don't crash,also I can get the right infer result. it just output the exception message in vs2019 while running the code "core->LoadNetwork(*network, "CPU");"