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.

load_network fails silently

Brown_Kramer__Joshua
1,349 Views

I am trying to run a yolov3 model converted from a pytorch model from this repo: https://github.com/ultralytics/yolov3.  Here is my code.  The script simply exits - with no error, warning, or anything - after printing "Loading on device" and before "Reading image".  This is Windows 10, openvino_2021.2.185, Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD64)] on win32.  Attached are the xml and bin files.

from openvino.inference_engine import IECore, IENetwork

ie = IECore()

print("Reading network")
net = ie.read_network(model="yolov3-master35.xml",weights="yolov3-master35.bin")

print("Loading on device")
exec_net = ie.load_network(network=net, device_name="CPU")

print("Reading image")
 
0 Kudos
5 Replies
Brown_Kramer__Joshua
1,348 Views

It wouldn't accept the bin file.  Attached is the xml file.

0 Kudos
Brown_Kramer__Joshua
1,346 Views
0 Kudos
Brown_Kramer__Joshua
1,332 Views

Here is an error being thrown when loading the network in c++.  I am running the code _openVino->ExecutableNetwork = _openVino->Core->LoadNetwork(_openVino->Network, "CPU"); and the error is "Exception thrown at 0x00007FFCEAFF7D3B (inference_engine_legacyd.dll) in Ocuvera.CV.Tools.NeuralInferenceTester.exe: 0xC0000005: Access violation reading location 0x0000000000000030."

Brown_Kramer__Joshua_0-1611865119121.png

 

0 Kudos
Iffa_Intel
Moderator
1,298 Views

Greetings,


I believe this problem is the same as the one you ha posted here:

https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/YOLOv3-tutorial-doesn-t-work-in-latest-OpenVINO-but-does-work-in/m-p/1251468#M22614


You could go to the thread for the answer.


Thanks!


Sincerely,

Iffa


0 Kudos
Iffa_Intel
Moderator
1,277 Views

Greetings,


Intel will no longer monitor this thread since we have provided a solution. If you need any additional information from Intel, please submit a new question. 


Sincerely,

Iffa


0 Kudos
Reply