- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unable to run cvsdk samples on Intel with -d CPU option.
Already setup the environment but MKL fails. This system also has external GPU.
Cannot find plugin to use :Tried load plugin : MKLDNNPlugin, error: Plugin MKLDNNPlugin cannot be loaded: cannot load plugin: MKLDNNPlugin from ./: Cannot load library './/libMKLDNNPlugin.so': .//libMKLDNNPlugin.so: cannot open shared object file: No such file or directory, skipping
cannot load plugin: MKLDNNPlugin from ./lib: Cannot load library './lib/libMKLDNNPlugin.so': ./lib/libMKLDNNPlugin.so: cannot open shared object file: No such file or directory, skipping
cannot load plugin: MKLDNNPlugin from ../../../lib/ubuntu_16.04/intel64: Cannot load library '../../../lib/ubuntu_16.04/intel64/libMKLDNNPlugin.so': libiomp5.so: cannot open shared object file: No such file or directory, skipping
cannot load plugin: MKLDNNPlugin from : Cannot load library 'libMKLDNNPlugin.so': libiomp5.so: cannot open shared object file: No such file or directory, skipping
Tried load plugin : OpenVXPlugin, error: Plugin OpenVXPlugin cannot be loaded: cannot load plugin: OpenVXPlugin from ./: Cannot load library './/libOpenVXPlugin.so': .//libOpenVXPlugin.so: cannot open shared object file: No such file or directory, skipping
cannot load plugin: OpenVXPlugin from ./lib: Cannot load library './lib/libOpenVXPlugin.so': ./lib/libOpenVXPlugin.so: cannot open shared object file: No such file or directory, skipping
cannot load plugin: OpenVXPlugin from ../../../lib/ubuntu_16.04/intel64: Cannot load library '../../../lib/ubuntu_16.04/intel64/libOpenVXPlugin.so': ../../../lib/ubuntu_16.04/intel64/libOpenVXPlugin.so: cannot open shared object file: No such file or directory, skipping
cannot load plugin: OpenVXPlugin from : Cannot load library 'libOpenVXPlugin.so': libOpenVXPlugin.so: cannot open shared object file: No such file or directory, skipping
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may need to edit the LD_LIBRARY_PATH in /opt/intel/computer_vision_sdk_2017.0.113/bin/setupvars.sh
from
export LD_LIBRARY_PATH=$INSTALLDIR/inference_engine/external/cldnn/lib:$INSTALLDIR/inference_engi ne/external/mklml_lnx/lib:$LD_LIBRARY_PATH
to
export LD_LIBRARY_PATH=$INSTALLDIR/inference_engine/lib/ubuntu_16.04/intel 64:$INSTALLDIR/inference_engine/external/cldnn/lib:$INSTALLDIR/inference_engi ne/external/mklml_lnx/lib:$LD_LIBRARY_PATH
The default location for the MKLDNN plugin your application needs to load is $INSTALLDIR/inference_engine/lib/ubuntu_16.04/intel64 directory
$ ls $INSTALLDIR/inference_engine/lib/ubuntu_16.04/intel64 libclDNNPlugin.so libinference_engine.so libMKLDNNPlugin.so
if you type
$ source /opt/intel/computer_vision_sdk_2017.0.113/bin/setupvars.sh
with the modified setupvars.sh before running the example it should set all of the paths and environment variables you need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was able to solve the issue but stuck again loading xml file.
Same xml/bin files I'm using on Windows.
/opt/intel/computer_vision_sdk_2017.0.113/inference_engine/bin/intel64/Release$ ./classification_sample -i /home/cvsdk/image/ -m /home/cvsdk/resnet -d CPU
InferenceEngine:
API version ............ 1.0
Build .................. 4463
[INFO] Add file tiger.bmp from directory /home/cvsdk/image/.
****
API version ............ 1.0
Build .................. lnx_2018.0.20170425
Description ....... MKLDnnPlugin
Error loading xmlfile: /home/cvsdk/resnet, Could not allocate memory at offset 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is /home/cvsdk/resnet the .xml file or the directory where it is found? I see output like this when only the directory is supplied.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Works fine now :)
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am also having the same issue, and have tried the solution you suggested of editing the LD_LIBRARY_PATH.
The error I get is:
/usr/bin/ld: warning: libinference_engine.so, needed by /opt/intel/computer_vision_sdk_2018.2.319/opencv/lib/libopencv_dnn.so.3.4.2, not found (try using -rpath or -rpath-link)
I confirmed that $INSTALLDIR/inference_engine/lib/ubuntu_16.04/intel 64 is in my LD_LIBRARY_PATH.
Can you please advise what to try?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I fixed the above issue, I was running make for the samples as sudo, so the LD_LIBRARY_PATH was different.
To fix the issue I set an alias for the path when running as sudo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Buckley, Leonie wrote:Hi,My OpenVINO' path is computer_vision_sdk_2018.4.420/ I build the sample code from /opt/intel/computer_vision_sdk_2018.4.420/deployment_tools/inference_engine/samples ,command just like this: bash build_samples.sh make -j8 sudo make install I don't know install's path,but in inference_engine_samples_build/intel64/Release have some compiled program, so I use this code: /home/liushuai/inference_engine_samples_build/intel64/Release/human_pose_estimation_demo -i human-pose-estimation-0001.png -m ../FP16/human-pose-estimation-0001.xml output: InferenceEngine: API version ............ 1.4 Build .................. 17328 [ INFO ] Parsing input parameters [ ERROR ] Cannot find plugin to use :Tried load plugin : MKLDNNPlugin, error: Plugin MKLDNNPlugin cannot be loaded: cannot load plugin: MKLDNNPlugin from ../../../lib/intel64: Cannot load library '../../../lib/intel64/libMKLDNNPlugin.so': ../../../lib/intel64/libMKLDNNPlugin.so: cannot open shared object file: No such file or directory, skipping cannot load plugin: MKLDNNPlugin from : Cannot load library 'libMKLDNNPlugin.so': libiomp5.so: cannot open shared object file: No such file or directory, skipping My setupenv.sh is different from the topic,So I just add the intel's lib64 in my env: export LD_LIBRARY_PATH=/opt/intel/computer_vision_sdk_2018.4.420/deployment_tools/inference_engine/lib/ubuntu_16.04/intel64/:$LD_LIBRARY_PATH source ~/.zshrc but the same error shown:[ ERROR ] Cannot find plugin to use :Tried load plugin : MKLDNNPlugin, error: Plugin MKLDNNPlugin cannot be loaded: cannot load plugin: MKLDNNPlugin from ../../../lib/intel64: Cannot load library '../../../lib/intel64/libMKLDNNPlugin.so': ../../../lib/intel64/libMKLDNNPlugin.so: cannot open shared object file: No such file or directory, skipping cannot load plugin: MKLDNNPlugin from : Cannot load library 'libMKLDNNPlugin.so': libiomp5.so: cannot open shared object file: No such file or directory, skipping can you help how to solve it?thanks for your help
I fixed the above issue, I was running make for the samples as sudo, so the LD_LIBRARY_PATH was different.
To fix the issue I set an alias for the path when running as sudo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I meet a similar problem;The detail information is "Intel\computer_vision_sdk_2018.5.445\deployment_tools\inference_engine\samples\intel64\Debug\inference_engined.dll”。无法查找或打开 PDB 文件。"; in windows environment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
liu, shuai wrote:Quote:
Buckley, Leonie wrote:
I fixed the above issue, I was running make for the samples as sudo, so the LD_LIBRARY_PATH was different.
To fix the issue I set an alias for the path when running as sudo
Hi,My OpenVINO' path is computer_vision_sdk_2018.4.420/
I build the sample code from /opt/intel/computer_vision_sdk_2018.4.420/deployment_tools/inference_engine/samples ,command just like this:
bash build_samples.sh
make -j8
sudo make install
I don't know install's path,but in inference_engine_samples_build/intel64/Release have some compiled program,
so I use this code:
/home/liushuai/inference_engine_samples_build/intel64/Release/human_pose_estimation_demo -i human-pose-estimation-0001.png -m ../FP16/human-pose-estimation-0001.xmloutput:
InferenceEngine:
API version ............ 1.4
Build .................. 17328
[ INFO ] Parsing input parameters
[ ERROR ] Cannot find plugin to use :Tried load plugin : MKLDNNPlugin, error: Plugin MKLDNNPlugin cannot be loaded: cannot load plugin: MKLDNNPlugin from ../../../lib/intel64: Cannot load library '../../../lib/intel64/libMKLDNNPlugin.so': ../../../lib/intel64/libMKLDNNPlugin.so: cannot open shared object file: No such file or directory, skipping
cannot load plugin: MKLDNNPlugin from : Cannot load library 'libMKLDNNPlugin.so': libiomp5.so: cannot open shared object file: No such file or directory, skippingMy setupenv.sh is different from the topic,So I just add the intel's lib64 in my env:
export LD_LIBRARY_PATH=/opt/intel/computer_vision_sdk_2018.4.420/deployment_tools/inference_engine/lib/ubuntu_16.04/intel64/:$LD_LIBRARY_PATH
source ~/.zshrc
but the same error shown:[ ERROR ] Cannot find plugin to use :Tried load plugin : MKLDNNPlugin, error: Plugin MKLDNNPlugin cannot be loaded: cannot load plugin: MKLDNNPlugin from ../../../lib/intel64: Cannot load library '../../../lib/intel64/libMKLDNNPlugin.so': ../../../lib/intel64/libMKLDNNPlugin.so: cannot open shared object file: No such file or directory, skipping
cannot load plugin: MKLDNNPlugin from : Cannot load library 'libMKLDNNPlugin.so': libiomp5.so: cannot open shared object file: No such file or directory, skippingcan you help how to solve it?thanks for your help
not sure exactly what your setup is, but I was trying to run this on the "MYRIAD" device. I was running the face detection model and got a similar error about libMKLDNNPlugin.so. I was running 4 different networks, but had only specified the correct device for one of them. As such, the models I hadn't specified MYRIAD for tried to run on the CPU and coughed up this error. The fix was specifying correct "-d MYRIAD" for all of them.
This was the correct command: "./interactive_face_detection_demo -m ~/intel/computer_vision_sdk/deployment_tools/intel_models/face-detection-adas-0001/FP16/face-detection-adas-0001.xml -m_ag ~/intel/computer_vision_sdk/deployment_tools/intel_models/age-gender-recognition-retail-0013/FP16/age-gender-recognition-retail-0013.xml -m_hp ~/intel/computer_vision_sdk/deployment_tools/intel_models/head-pose-estimation-adas-0001/FP16/head-pose-estimation-adas-0001.xml -m_em ~/intel/computer_vision_sdk/deployment_tools/intel_models/emotions-recognition-retail-0003/FP16/emotions-recognition-retail-0003.xml -m_lm ~/intel/computer_vision_sdk/deployment_tools/intel_models/facial-landmarks-35-adas-0001/FP16/facial-landmarks-35-adas-0001.xml -d MYRIAD -d_ag MYRIAD -d_hp MYRIAD -d_em MYRIAD -d_lm MYRIAD"
This was the WRONG command: "./interactive_face_detection_demo -m ~/intel/computer_vision_sdk/deployment_tools/intel_models/face-detection-adas-0001/FP16/face-detection-adas-0001.xml -m_ag ~/intel/computer_vision_sdk/deployment_tools/intel_models/age-gender-recognition-retail-0013/FP16/age-gender-recognition-retail-0013.xml -m_hp ~/intel/computer_vision_sdk/deployment_tools/intel_models/head-pose-estimation-adas-0001/FP16/head-pose-estimation-adas-0001.xml -m_em ~/intel/computer_vision_sdk/deployment_tools/intel_models/emotions-recognition-retail-0003/FP16/emotions-recognition-retail-0003.xml -m_lm ~/intel/computer_vision_sdk/deployment_tools/intel_models/facial-landmarks-35-adas-0001/FP16/facial-landmarks-35-adas-0001.xml -d MYRIAD"
Note how I only have one "-d" for the wrong command.
The wrong command gave the following error, which is a little different than yours, but similar.
"InferenceEngine:
API version ............ 1.4
Build .................. 19154
[ INFO ] Parsing input parameters
[ INFO ] Reading input
[ INFO ] Loading plugin MYRIAD
API version ............ 1.5
Build .................. 19154
Description ....... myriadPlugin
[ INFO ] Loading plugin CPU
[ ERROR ] Cannot find plugin to use :Tried load plugin : MKLDNNPlugin, error: Plugin MKLDNNPlugin cannot be loaded: cannot load plugin: MKLDNNPlugin from ../../../lib/intel64: Cannot load library '../../../lib/intel64/libMKLDNNPlugin.so': ../../../lib/intel64/libMKLDNNPlugin.so: cannot open shared object file: No such file or directory, skipping
cannot load plugin: MKLDNNPlugin from : Cannot load library 'libMKLDNNPlugin.so': libmkl_tiny_omp.so: cannot open shared object file: No such file or directory, skipping"
Hopefully this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I am trying to implement https://software.intel.com/en-us/smart-video on Ubuntu 18.04.
Currently, I am using Openvino_2020.1.023 toolkit and in all the demos I am facing a common error-/opt/intel/openvino/inference_engine/lib/intel64/libcpu_extension_sse4.so : cannot open shared object file:
I tried a lot to find why this error occurs and how can I overcome that error but I am not to do so. Can anyone please help me?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page