Community
cancel
Showing results for 
Search instead for 
Did you mean: 
92 Views

load_network fails silently

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
91 Views

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

89 Views

75 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

 

Iffa_Intel
Moderator
41 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...


You could go to the thread for the answer.


Thanks!


Sincerely,

Iffa


Iffa_Intel
Moderator
20 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