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.
6503 Discussions

libcpu_extension_sse4.so is missing in OpenVino 2020 Inference Engine

M__W
Beginner
1,889 Views

I used ubuntu18_dev:2020.2 image and I tried to run the demo . And I got the following error:

/opt/intel/openvino/inference_engine/samples/python/classification_sample$ ./classification_sample.py -i "../images/blue-car.jpg" -m "../models/vehicle-attributes-recognition-barrier-0039.xml" -c "/opt/intel/openvino/deployment_tools/inference_engine/lib/intel64/libcpu_extension_sse4.so"
Traceback (most recent call last):
  File "./app.py", line 136, in <module>
    main()
  File "./app.py", line 132, in main
    perform_inference(args)
  File "./app.py", line 103, in perform_inference
    n, c, h, w = inference_network.load_model(args.model, args.device, args.cpu_extension)
  File "inference.py", line 38, in load_model
    self.plugin.add_extension(cpu_extension, device)
  File "ie_api.pyx", line 301, in openvino.inference_engine.ie_api.IECore.add_extension
RuntimeError: Cannot load library '/opt/intel/openvino/deployment_tools/inference_engine/lib/intel64/libcpu_extension_sse4.so': /opt/intel/openvino/deployment_tools/inference_engine/lib/intel64/libcpu_extension_sse4.so: cannot open shared object file: No such file or directory

EDIT: I tried to replace libcpu_extension_sse4.so with libMKLDNNPlugin.so and got a new error:

./app.py -i "../images/blue-car.jpg" -m "../models/vehicle-attributes-recognition-barrier-0039.xml" -c "/opt/intel/openvino/deployment_tools/inference_engine/lib/intel64/libMKLDNNPlugin.so"
Traceback (most recent call last):
  File "./app.py", line 141, in <module>
    main()
  File "./app.py", line 137, in main
    perform_inference(args)
  File "./app.py", line 108, in perform_inference
    n, c, h, w = inference_network.load_model(args.m, args.d, args.c)
  File "inference.py", line 38, in load_model
    self.plugin.add_extension(cpu_extension, device)
  File "ie_api.pyx", line 301, in openvino.inference_engine.ie_api.IECore.add_extension
RuntimeError: dlSym cannot locate method 'CreateExtension': /opt/intel/openvino/deployment_tools/inference_engine/lib/intel64/libMKLDNNPlugin.so: undefined symbol: CreateExtension

Thanks in advance

0 Kudos
1 Reply
JAIVIN_J_Intel
Employee
1,889 Views

Seems like you have started another thread with same issue. Please follow up on that thread.

0 Kudos
Reply