Intel® Distribution of OpenVINO™ Toolkit
Community support and discussions about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all things computer vision-related on Intel® platforms.

DL Streamer samples - model path error

Kobu_Intel
Employee
1,252 Views

Hi,
I can't run DL Streamer samples, e.g.
https://docs.openvinotoolkit.org/latest/_samples_gst_launch_face_detection_and_classification_README...

Following error occurs:
  Model face-detection-adas-0001 file was not found. Please set MODELS_PATH

Which parameter should be changed in face_detection_and_classification.sh to have program recognize the models path /home/kobu/intel/dl_streamer/models/intel?

# models were successfully downloaded with download_models.sh.
# OpenVINO2020.3 LTS Ubuntu 18.04

It should be easy for experts, sorry for asking this.
Thanks!
BR/Kobu

0 Kudos
1 Solution
Max_L_Intel
Moderator
1,129 Views

Hi @Kobu_Intel 

Yes, please try new OpenVINO 2020.4 build and during the installation ensure all the components being marked for installation, as per step 3 "If you select the default options, the Installation summary GUI screen looks like this" in https://docs.openvinotoolkit.org/latest/openvino_docs_install_guides_installing_openvino_linux.html#...

After this being done, proceed with further steps - install external dependencies, set environment variables, install model optimizer prerequisites, run verification scripts, and then try DL Streamer demo once again.

Best regards, Max.

View solution in original post

8 Replies
Kobu_Intel
Employee
1,249 Views

p.s.:

sudo was used, thanks  

$sudo face_detection_and_classification.sh xxxxx(video file or cam device)

 

Max_L_Intel
Moderator
1,227 Views

Hi @Kobu_Intel 

Yes, both download_models.sh and face_detection_and_classification.sh scripts are designed in the way to be used without sudo privileges.

Thanks for using OpenVINO toolkit!

Kobu_Intel
Employee
1,220 Views

Hi,

Without sudo, following errors occurred, what is wrong?

My OpenVINO is stable.

./face_detection_and_classification.sh /dev/video0
==> <translation> error pipeline cannot be built: element "v4l2src" is not found
./face_detection_and_classification.sh Running_09_Videvo.mov
==> <translation> error pipeline cannot be built: element "filesrc" is not found

thanks!

BR/Kobu

 

 

Max_L_Intel
Moderator
1,211 Views

Hi @Kobu_Intel 

1) Did you source bin/setupvars.sh before running the sample?

2) Can you please try to execute it with default input by running the sample script without any parameters

./face_detection_and_classification.sh

 

Kobu_Intel
Employee
1,175 Views

Hi Max,

Thanks for your comments, even default causes error.

./face_detection_and_classification.sh 
<translation> error : pipeline cannot be built: element "urisourcebin" is not found

any suggestion is appreciated.

thanks!

BR/Kobu 

Max_L_Intel
Moderator
1,148 Views

Hi @Kobu_Intel 

I'm not able to reproduce the issue on my end. For me it works fine on OpenVINO toolkit 2020.3 build under Ubuntu 18.04.

Please install and upgrade (if already installed) all GStreamer related packages with following commands:

sudo apt-get install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio

and

sudo apt-get upgrade libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio


If this doesn't help, then please have a chance to try fresh OpenVINO installation and then run DL Streamer sample again.

 

 

Kobu_Intel
Employee
1,139 Views

Hi @Max_L_Intel 

Thanks a lot for your suggestion, 2 commands for Gstreamer were executed.

No error occured (messages in log is Japanese, sorry).

However following error was occurred when running default demo.

 

 

<translation> pipeline cannot be built : Element "urisourcebin"  is not found.

 

 

I'll try DL Streamer at OpenVINO2020.4, I assume GStreamer & OpenVINO DL Streamer integration my environment is not good. OpenVINO itself is as mentioned very stable.

Thanks!

BR/Kobu

 

Max_L_Intel
Moderator
1,130 Views

Hi @Kobu_Intel 

Yes, please try new OpenVINO 2020.4 build and during the installation ensure all the components being marked for installation, as per step 3 "If you select the default options, the Installation summary GUI screen looks like this" in https://docs.openvinotoolkit.org/latest/openvino_docs_install_guides_installing_openvino_linux.html#...

After this being done, proceed with further steps - install external dependencies, set environment variables, install model optimizer prerequisites, run verification scripts, and then try DL Streamer demo once again.

Best regards, Max.

Reply