- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI,
I have a NUC10i7 and I bought a model that it has a VPU Myriad-x. And Im trying to run the openvino system with this module but I cant. I try to run the Openvino example with CPU and all its okey. But with the -HDDL or -MYRIAD all wrong.
In the next picture there is a description of my system.
The system has installed a VPU-Myriad-X but the problem is that the system does not detect this VPU. I tried to install differents version of OpenVino and different versions of Ubuntu (18.04 LTS, 20.0) and now i have ubuntu 18.04.05.
When i just haver installed OpenVino and try the HDDL module, with the order
carlos@carlos-NUC10i7FNH:/opt/intel/openvino/deployment_tools/demo$ ./demo_squeezenet_download_convert_run.sh -d HDDL
target = HDDL
target_precision = FP16
[setupvars.sh] OpenVINO environment initialized
###################################################
Downloading the Caffe model and the prototxt
Installing dependencies
Des:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Obj:2 http://es.archive.ubuntu.com/ubuntu bionic InRelease
Des:3 http://es.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Des:4 http://es.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Descargados 252 kB en 0s (705 kB/s)
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Todos los paquetes están actualizados.
Run sudo -E apt -y install build-essential python3-pip virtualenv cmake libcairo2-dev libpango1.0-dev libglib2.0-dev libgtk2.0-dev libswscale-dev libavcodec-dev libavformat-dev libgstreamer1.0-0 gstreamer1.0-plugins-base
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
build-essential ya está en su versión más reciente (12.4ubuntu1).
libgtk2.0-dev ya está en su versión más reciente (2.24.32-1ubuntu1).
virtualenv ya está en su versión más reciente (15.1.0+ds-1.1).
cmake ya está en su versión más reciente (3.10.2-1ubuntu2.18.04.1).
gstreamer1.0-plugins-base ya está en su versión más reciente (1.14.5-0ubuntu1~18.04.1).
libcairo2-dev ya está en su versión más reciente (1.15.10-2ubuntu0.1).
libglib2.0-dev ya está en su versión más reciente (2.56.4-0ubuntu0.18.04.6).
libgstreamer1.0-0 ya está en su versión más reciente (1.14.5-0ubuntu1~18.04.1).
libpango1.0-dev ya está en su versión más reciente (1.40.14-1ubuntu0.1).
libavcodec-dev ya está en su versión más reciente (7:3.4.8-0ubuntu0.2).
libavformat-dev ya está en su versión más reciente (7:3.4.8-0ubuntu0.2).
libswscale-dev ya está en su versión más reciente (7:3.4.8-0ubuntu0.2).
python3-pip ya está en su versión más reciente (9.0.1-2.3~ubuntu1.18.04.3).
0 actualizados, 0 nuevos se instalarán, 0 para eliminar y 0 no actualizados.
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
libpng-dev ya está en su versión más reciente (1.6.34-1ubuntu0.18.04.2).
0 actualizados, 0 nuevos se instalarán, 0 para eliminar y 0 no actualizados.
The directory '/home/carlos/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/carlos/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied: pyyaml in /usr/lib/python3/dist-packages (from -r /opt/intel/openvino/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 1))
Requirement already satisfied: requests in /usr/local/lib/python3.6/dist-packages (from -r /opt/intel/openvino/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2))
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests->-r /opt/intel/openvino/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2))
Requirement already satisfied: chardet<4,>=3.0.2 in /usr/lib/python3/dist-packages (from requests->-r /opt/intel/openvino/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2))
Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3/dist-packages (from requests->-r /opt/intel/openvino/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2))
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/lib/python3/dist-packages (from requests->-r /opt/intel/openvino/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2))
Run python3 /opt/intel/openvino_2020.2.120/deployment_tools/open_model_zoo/tools/downloader/downloader.py --name squeezenet1.1 --output_dir /home/carlos/openvino_models/models --cache_dir /home/carlos/openvino_models/cache
################|| Downloading models ||################
========== Retrieving /home/carlos/openvino_models/models/public/squeezenet1.1/squeezenet1.1.prototxt from the cache
========== Retrieving /home/carlos/openvino_models/models/public/squeezenet1.1/squeezenet1.1.caffemodel from the cache
################|| Post-processing ||################
========== Replacing text in /home/carlos/openvino_models/models/public/squeezenet1.1/squeezenet1.1.prototxt
Target folder /home/carlos/openvino_models/ir/public/squeezenet1.1/FP16 already exists. Skipping IR generation with Model Optimizer.If you want to convert a model again, remove the entire /home/carlos/openvino_models/ir/public/squeezenet1.1/FP16 folder. Then run the script again
###################################################
Build Inference Engine samples
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for C++ include unistd.h
-- Looking for C++ include unistd.h - found
-- Looking for C++ include stdint.h
-- Looking for C++ include stdint.h - found
-- Looking for C++ include sys/types.h
-- Looking for C++ include sys/types.h - found
-- Looking for C++ include fnmatch.h
-- Looking for C++ include fnmatch.h - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Found InferenceEngine: /opt/intel/openvino_2020.2.120/deployment_tools/inference_engine/lib/intel64/libinference_engine.so (Required is at least version "2.1")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/carlos/inference_engine_samples_build
[ 36%] Built target gflags_nothreads_static
[ 81%] Built target format_reader
[100%] Built target classification_sample_async
###################################################
Run Inference Engine classification sample
Run ./classification_sample_async -d HDDL -i /opt/intel/openvino/deployment_tools/demo/car.png -m /home/carlos/openvino_models/ir/public/squeezenet1.1/FP16/squeezenet1.1.xml
[ INFO ] InferenceEngine:
API version ............ 2.1
Build .................. 42025
Description ....... API
[ INFO ] Parsing input parameters
[ INFO ] Parsing input parameters
[ INFO ] Files were added: 1
[ INFO ] /opt/intel/openvino/deployment_tools/demo/car.png
[ INFO ] Creating Inference Engine
HDDL
HDDLPlugin version ......... 2.1
Build ........... custom_releases/2020/2_d8830cd2bfe6199444299be1d92b281e5459f195
[ INFO ] Loading network files
[ INFO ] Preparing input blobs
[ WARNING ] Image is resized from (787, 259) to (227, 227)
[ INFO ] Batch size is 1
[ INFO ] Loading model to the device
[17:59:16.9465][6368]I[main.cpp:243] ## HDDL_INSTALL_DIR: /opt/intel/openvino_2020.2.120/deployment_tools/inference_engine/external/hddl
[17:59:16.9466][6368]I[main.cpp:245] Config file '/opt/intel/openvino_2020.2.120/deployment_tools/inference_engine/external/hddl/config/hddl_service.config' has been loaded
[17:59:16.9468][6368]I[FileHelper.cpp:272] Set file:/var/tmp/hddl_service_alive.mutex owner: user-'no_change', group-'users', mode-'0660'
[17:59:16.9469][6368]I[FileHelper.cpp:272] Set file:/var/tmp/hddl_service_ready.mutex owner: user-'no_change', group-'users', mode-'0660'
[17:59:16.9469][6368]I[FileHelper.cpp:272] Set file:/var/tmp/hddl_start_exit.mutex owner: user-'no_change', group-'users', mode-'0660'
[17:59:16.9470][6368]I[AutobootStarter.cpp:156] Info: No running autoboot process. Start autoboot daemon...
[17:59:16.9522][6370]I[FileHelper.cpp:272] Set file:/var/tmp/hddl_autoboot_alive.mutex owner: user-'no_change', group-'users', mode-'0660'
[17:59:16.9522][6370]I[FileHelper.cpp:272] Set file:/var/tmp/hddl_autoboot_ready.mutex owner: user-'no_change', group-'users', mode-'0660'
[17:59:16.9523][6370]I[FileHelper.cpp:272] Set file:/var/tmp/hddl_autoboot_start_exit.mutex owner: user-'no_change', group-'users', mode-'0660'
[17:59:16.9523][6370]I[FileHelper.cpp:272] Set file:/tmp/hddl_autoboot_device.map owner: user-'no_change', group-'users', mode-'0660'
[17:59:16.9523][6370]I[AutoBoot.cpp:308] [Firmware Config] deviceName=default deviceNum=0 firmwarePath=/opt/intel/openvino_2020.2.120/deployment_tools/inference_engine/external/hddl/lib/mvnc/usb-ma2x8x.mvcmd
[E:] [BSL] No device found
[17:59:16.9600][6370]ERROR[AutoBoot.cpp:478] Error: HDDL hardware initialization failed, exits now.
[17:59:17.9485][6368]I[AutobootStarter.cpp:79] Info: Service has been waiting for Autoboot to boot up for 1 seconds ...
[17:59:18.9498][6368]I[AutobootStarter.cpp:79] Info: Service has been waiting for Autoboot to boot up for 2 seconds ...
[17:59:19.9511][6368]I[AutobootStarter.cpp:79] Info: Service has been waiting for Autoboot to boot up for 3 seconds ...
[17:59:20.9526][6368]I[AutobootStarter.cpp:79] Info: Service has been waiting for Autoboot to boot up for 4 seconds ...
[17:59:21.9539][6368]I[AutobootStarter.cpp:79] Info: Service has been waiting for Autoboot to boot up for 5 seconds ...
[17:59:22.9554][6368]I[AutobootStarter.cpp:79] Info: Service has been waiting for Autoboot to boot up for 6 seconds ...
[17:59:23.9570][6368]I[AutobootStarter.cpp:79] Info: Service has been waiting for Autoboot to boot up for 7 seconds ...
[17:59:24.9584][6368]I[AutobootStarter.cpp:79] Info: Service has been waiting for Autoboot to boot up for 8 seconds ...
[17:59:25.9596][6368]I[AutobootStarter.cpp:79] Info: Service has been waiting for Autoboot to boot up for 9 seconds ...
[17:59:26.9608][6368]I[AutobootStarter.cpp:79] Info: Service has been waiting for Autoboot to boot up for 10 seconds ...
[17:59:26.9609][6368]ERROR[AutobootStarter.cpp:89] Error: Service wait Autoboot to get ready failed due to timeout after 10 seconds.
[17:59:26.9609][6368]W[AutobootStarter.cpp:99]
** Suggestion: The timeout by default is 10 seconds, and you can increase it by following steps:
(1) Add following entry in $HDDL_INSTALL_DIR/config/hddl_service.config like this:
"service_settings":
{
"autoboot_boot_timeout_sec": 10,
...
}
(2) Change the '10' to a larger value to increase the time out window, then try again.
[17:59:26.9609][6368]ERROR[AutobootStarter.cpp:49] Error: Failed to start autoboot
[17:59:26.9609][6368]ERROR[main.cpp:76] Error: Start Service failed due to autoboot failure
Always the same problem.I've been stuck for 3 days and i dont know what i can do.
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Carlos,
Thank you for reaching out to us. Could you share some information about VPU device you are using ? Is it Neural Compute Stick 2 or HDDL card like AI core XM 2280 or similar ?
From the terminal log, we can see that the system does not detect the VPU. Try running the following command :
- lsusb for NCS2
- lspci for HDDL.
If you see the device in the list of devices (lsusb/lspci), then it is possible that you could miss the additional installations steps. Please follow the following guides:
HDDL steps - https://docs.openvinotoolkit.org/2020.4/openvino_docs_install_guides_installing_openvino_linux_ivad_vpu.html
Regards,
Adli
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Carlos,
This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question.
Regards,
Adli

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page