Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1626 Discussions

OneAPI Dev cloud account not able to run OpenVino sample models

Daya
Beginner
2,185 Views

Hi,

  we have a requirement to run OpenVino sample application in OneAPI dev cloud enviroment, when we tried to run sample offline_speech_recognition_app encountering the below error.

Please do support if there is any step being missed or the account is not intended to run OpenVino application. 

[ INFO ] Using feature transformation /home/u44141/openVino_speechkaldi/lspeech_s5_ext/lspeech_s5_ext.feature_transform
[ INFO ] InferenceEngine API ver. 2.1 (build: 2020.3.0-3467-15f2c61a-releases/2020/3)
[ ERROR ] Failed to initialize due to: Failed to create plugin /glob/development-tools/versions/oneapi/beta07/openvino_2020.3.194/deployment_tools/inference_engine/lib/intel64/libMKLDNNPlugin.so for device CPU
Please, check your environment
Cannot load library '/glob/development-tools/versions/oneapi/beta07/openvino_2020.3.194/deployment_tools/inference_engine/lib/intel64/libMKLDNNPlugin.so': /glob/development-tools/versions/oneapi/beta07/openvino_2020.3.194/deployment_tools/inference_engine/lib/intel64/libMKLDNNPlugin.so: failed to map segment from shared object

Failed to initialize speech library. Status: -1

Thanks

Daya

0 Kudos
12 Replies
ArunJ_Intel
Moderator
2,172 Views

 

Dear Daya,

 

Thanks for reaching out to us. Could you please share the commands used for running the openvino sample ? Also please confirm whether setupvars.sh is being sourced before running the application.

 

Thanks

Arun

 

 

0 Kudos
Daya
Beginner
2,165 Views

Dear Arun,

  >>whether setupvars.sh is being sourced before running the application.

yes, I have sourced the below file.

source /opt/intel/openvino_2020.3.194/bin/setupvars.sh

 

 >>Could you please share the commands used for running the open vino sample

I'm running intel provided open vino sample  code (offline_speech_recognition_app), with the below command, have modified the code to provide wav file and config file internally instead of command  line arguments.

Running in the below format

u44141@login-2:~/speech-recognition-master/speech_demo_1.0.0.721_linux/data_processing/audio/speech_recognition/
intel64/Release$ ./offline_speech_recognition_app

Thanks,

Daya

0 Kudos
Max_L_Intel
Moderator
1,965 Views

Hi @Daya 

Are you able to execute demo_speech_recognition.sh script in <openvino_dir>/deployment_tools/demo directory?
Please let us know.

0 Kudos
Daya
Beginner
1,937 Views

Hi @Max_L_Intel 

  Thank you for the support.

I'm getting below error message when tried to execute demo_speech_recognition.sh

Please find the details below:

------------------------------------------------------------------------

u44141@login-2:~$ /opt/intel/openvino/deployment_tools/demo/demo_speech_recognition.sh
[setupvars.sh] OpenVINO environment initialized
Dear User,

this server does not allow you to run "sudo".

If you need to install a dependency, please put it in your home directory.
* For autotools, you can do it with "./configure --prefix=~/my-path"
* For Python packages, use "pip install <package_name> --user" or create a Conda environment.

Sincerely,
Admins
Error on or near line 109; exiting with status 1

-----------------------------------------------------------------------

Thanks,
Daya

0 Kudos
Max_L_Intel
Moderator
1,924 Views

Hi @Daya. Thanks for letting us know.

@ArunJ_Intel @Adweidh_Intel  could you kindly test demo_speech_recognition.sh from your side on openvino devcloud?

0 Kudos
ArunJ_Intel
Moderator
2,112 Views

Hi Daya,

 

We have verified other openvino samples to be working fine in devcloud. We are moving this to openvino forum so this could be resolved quicker.

 

Arun

 

0 Kudos
Daya
Beginner
2,086 Views

Hi @ArunJ_Intel 

   Thank you for the support, shall wait for the update from other forums.

 

Thanks

Daya

0 Kudos
Adweidh_Intel
Moderator
2,030 Views

Hi Daya,

It seems like the same issue is being discussed in openvino forum. You can check further details on below link. We are closing this case from devcloud forum by @Max_L_Intel .

https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Re-Re-OneAPI-Dev-cloud-account-not-able-to-run-OpenVi/m-p/1190242#U1190242

0 Kudos
Max_L_Intel
Moderator
2,016 Views

Hi @ArunJ_Intel 

Can you please share some information on what OpenVINO samples have you verified in devcloud? By looking at @Daya message in this thread it seems like OpenVINO devcloud version is limited, as least from sudo user perspective.

Sudo access is usually required to install dependencies for verification scripts, and as I see in the other thread there is a workaround provided for demo_squeezenet_download_convert_run.sh 

Thanks in advance.

0 Kudos
Adweidh_Intel
Moderator
1,845 Views

Dear Daya/Maxim,


Thanks for your patience. We tried running the samples in devcloud and we are getting some error which is due to lack of privileges. Also we tried editing the code by removing the sudo but no luck.


Dear Maxim,


Could you please check and let us know if there is any workaround in order to run the sample in an limited access environment ?


0 Kudos
Max_L_Intel
Moderator
1,820 Views

Hi @Adweidh_Intel  @Daya 

I am moving this topic to DevCloud for Edge forum for further assistance.
Thank you.

0 Kudos
Eltablawy__Alaa
1,788 Views

Hello!

Thanks for reaching out. The script you mentioned is trying to run commands which require sudo privileges.

If you are trying to run OpenVINO samples on Intel Devcloud for the Edge, you can follow the steps below:

1- Go to: https://devcloud.intel.com/edge/ and login using the username and password in the Welcome email you received when your Intel Devcloud for the Edge account was created.

2- If you want to run a sample tutorial, form the home page choose Tutorials.

3- If you are interested in more advanced applications like speech recognition, navigate to Advanced-> Sample Applications and choose one of the OpenVINO samples available of the Devcloud for the Edge, this will take you to a jupyter notebook with detailed explanation on how to run OpenVINO sample on one of the edge nodes.

Regard,

Alaa

 

 

Reply