- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
macOs 10.14.5
I successful optimize my model with openvino and create .xml and .bin files. When i try inference with this code in python
model_xml = args.frozen_model_filename model_bin = os.path.splitext(model_xml)[0] + ".bin" plugin = IEPlugin(device=args.device) if args.cpu_extension and 'CPU' in args.device: plugin.add_cpu_extension(args.cpu_extension) if args.performance: plugin.set_config({"PERF_COUNT": "YES"}) # Read IR net = IENetwork(model=model_xml, weights=model_bin) input_blob = next(iter(net.inputs)) exec_net = plugin.load(network=net)
I got bus error when running plugin.load. what am I doing wrong?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It looks like there may be a problem with your inputs.
Print out the variables to the console that you are trying to load to make sure that they are getting parsed correctly.
I also would test them hardcoded to see if it is a user error or an issue with Inference engine.
Also what version of python are you using ?
Regards,
Kenneth
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page