Closed RohitKeshari closed 4 years ago
I'm busy updating other projects at the moment, so here's an example You can change the parameters to suit your environment. libcpu_extension.so
is not required for the latest OpenVINOs.
try:
from armv7l.openvino.inference_engine import IENetwork, IECore
except:
from openvino.inference_engine import IENetwork, IECore
model_xml = args["model_path"]
model_bin = os.path.splitext(model_xml)[0] + ".bin"
ie = IECore()
net = ie.read_network(model_xml, model_bin)
input_info = net.input_info
input_blob = next(iter(input_info))
exec_net = ie.load_network(network=net, device_name=args["device"])
Thanks for your reply. The problem is resolved. I am closing it
[Required] Your device (RaspberryPi3, LaptopPC, or other device name):
Mac [Required] Your device's CPU architecture (armv7l, x86_64, or other architecture name):
[Required] Your OS (Raspbian, Ubuntu1604, or other os name):
MacOS 10.14.6 [Required] Details of the work you did before the problem occurred:
[Required] Error message:
RuntimeError: Cannot load library 'lib/libcpu_extension.so': dlopen(lib/libcpu_extension.so, 1): image not found
[Required] Overview of problems and questions:
libcpu_extension.so is removed from the current version of openvino. How it can be compatible with current version.