I am trying to run interactive_face_detection_demo sample from open_model_zoo, but getting memory-relate Segmentation fault.
Perhaps it is crashing while it is reading face-detection-adas-0001 model.
Any idea waht is causing this error and how to avoid it?
H/W: Raspberry Pi 3B+ and NCS2
OS: Rasbian Sretch
OpenVINO SDK: l_openvino_toolkit_ie_p_2018.5.445.tgz
Camera: either RPi default or USB webcam.
Error looks like this:
GNU gdb (Raspbian 7.12-6) 22.214.171.12461007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/pi/inference_engine_samples_build/armv7l/Debug/interactive_face_detection_demo...done.
Starting program: /home/pi/inference_engine_samples_build/armv7l/Debug/interactive_face_detection_demo -i cam -m /home/pi/wk1/open_model_zoo/intel_models/face-detection-adas-0001.xml -m_ag /home/pi/wk1/open_model_zoo/intel_models/age-gender-recognition-retail-0013.xml -m_hp /home/pi/wk1/open_model_zoo/intel_models/head-pose-estimation-adas-0001.xml -m_em /home/pi/wk1/open_model_zoo/intel_models/emotions-recognition-retail-0003.xml -m_lm /home/pi/wk1/open_model_zoo/intel_models/facial-landmarks-35-adas-0001.xml -d MYRIAD -d_ag MYRIAD -d_hp MYRIAD -d_em MYRIAD -d_lm MYRIAD -n_ag 2 -n_hp 2 -n_em 2 -n_lm 2
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
API version ............ 1.4
Build .................. 19154
[ INFO ] Parsing input parameters
[ INFO ] Reading input
[New Thread 0x7005c1a0 (LWP 2647)]
[New Thread 0x6cf6f1a0 (LWP 2648)]
[ INFO ] Loading plugin MYRIAD
[New Thread 0x6b72c1a0 (LWP 2649)]
API version ............ 1.5
Build .................. 19154
Description ....... myriadPlugin
[ INFO ] Loading network files for Face Detection
Thread 1 "interactive_fac" received signal SIGSEGV, Segmentation fault.
0x76fb9bdc in memcmp () from /usr/lib/arm-linux-gnueabihf/libarmmem.so
#0 0x76fb9bdc in memcmp () from /usr/lib/arm-linux-gnueabihf/libarmmem.so
#1 0x00000000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Hello everyone ! You'll be happy to know that this issue has been fixed in our upcoming 2019 R1 OpenVino Release.
Thanks for your patience and thanks for using OpenVino !
Sorry I am a bit confused.
What I am trying now is to run OpenVINO demos on Raspberry Pi and the OpenVINO package I used is the following:
(as suggested by https://software.intel.com/en-us/articles/OpenVINO-Install-RaspberryPI)
But when I look into the OpenVINO toolkit 2019 release node and follow the download link suggested there:
>Where to Download This Release
I only get the following target options:
>Linux (supports Ubuntu, CentOS, and Yocto Project)
>Linux for FPGA
I was brave anyway to try Linux package, and I get:
But it looks like it only contains x86_64 rpms?
And if I look into below, there is no 2019_R1 folder (just 2018_R3, 2018_R4, 2018_R5 are there).
Where I can find updated version of OpenVINO toolkit for Raspberry Pi OS?
Thank you very much for the pointer.
Now I could install 2019 R1 version of the package onto my RPi and run interactive_face_detection_demo successfully.
The demo as it is can gain benefit if I connect 2 or more NCS to my RPi?
(In other words, teh Myriad plugin can transparently load-balance requests among multiple NCS2 if they are available?)
Also, the plugin API (used by Myriad plugin and others) public?
I just wonder if anyone can come up with a plugin supporting RPi-GPU or others.