Closed Bahramudin closed 4 years ago
I tried this, but I couldn't reproduce it. What's your compiler command line? Can you gather a full stack trace?
@IRDonch Thanks for the reply! I am using Visual Studio 2019. All the stack trace message I got while running program is what I copied above.
It is what I got from the stack trace:
Exception thrown at 0x00007FFEB9D5A839 in app.exe: Microsoft C++ exception: InferenceEngine::details::InferenceEngineException at memory location 0x000000611118D580. Exception thrown at 0x00007FFEB9D5A839 in app.exe: Microsoft C++ exception: InferenceEngine::details::InferenceEngineException at memory location 0x000000611118D8F0. 'app.exe' (Win32): Loaded 'C:\Program Files (x86)\IntelSWTools\openvino_2020.1.033\deployment_tools\inference_engine\bin\intel64\Release\GNAPlugin.dll'. Module was built without symbols. 'app.exe' (Win32): Loaded 'C:\Program Files (x86)\IntelSWTools\openvino_2020.1.033\deployment_tools\inference_engine\bin\intel64\Release\gna.dll'. 'app.exe' (Win32): Loaded 'C:\Windows\System32\setupapi.dll'. 'app.exe' (Win32): Loaded 'C:\Windows\System32\devobj.dll'. Exception thrown at 0x00007FFEBCA412D4 (ntdll.dll) in app.exe: 0xC0000005: Access violation reading location 0x0000000000000004.
These lines are NOT from stack trace (call stack) window.
It should look like this (but for C++ instead of C#).
Hmm, see this now:
Latest changes: I build OpenCV from source with enabling EI, now the line above is not throwing the error, but this line throws an exception:
cv::Mat detection = net.forward();
Why it passed the first error, and now why it throws the second error?
Try this:
openvino\inference_engine\bin\intel64\Release
)or reinstall OpenVINO without GNA plugin (disable GNA component in installer).
Which CPU model do you have? (link on ark.intel.com is preferable)
For the above (readFromModelOptimizer OR readNet) problem more stack trace info: here I am unable to copy/paste the text, so using screenshots
@alalek Thank you so much!! Yes, it was the tick, now it works well, with both release and debugs mode, but in debug mode, it works very slow. And also now it works well with the OpenCV which builds by myself.
In the next release, it will be good to avoid this problem exist.
Thanks again!!
I installed Intel® OpenVINO™ toolkit 2020 1 version, and from open_model_zoo downloaded the following two files:
OpenVINO installed successfully and when running the demos it runs without error. And added all necessary paths to the environment variable e.g:
And then for test, I first run a simple program which opens (laptop camera as well as a video file) and read frames and shows it:
All works well. But when I read net, then throws exception, code + error:
Error:
Exception thrown at 0x00007FFEBCA412D4 (ntdll.dll) in cloths_detector.exe: 0xC0000005: Access violation reading location 0x0000000000000004.
So I don't know where I am wrong, and how to solve this error? Thanks!