- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, guys.
We are trying to get the IEI Mustang-V100-MX8-R11 accelerator working on balenaOS.
As mentioned in this link, we have to install IVAD_VPU dependencies to detect 8 VPUs.
But I couldn't get it working on the balenaOS.
Here are details of the balenaOS:
root@balena:/opt/intel/openvino_2021.4.689/inference_engine/external/hddl/drivers/drv_vsc# uname -r 5.10.43-yocto-standard
root@balena:/opt/intel/openvino_2021.4.689/inference_engine/external/hddl/drivers/drv_vsc# cat /etc/os-release NAME="Ubuntu" VERSION="18.04.5 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.5 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic
In other words, your openvino/ubuntu18_runtime docker image is running on the balenaOS so that I can access openvion installations.
I have checked the source code of install_IVAD_VPU_dependencies.sh and was able to compile drv_vsc by following commands:
// Download kernel header files and extract to /usr/src/kernel as the Makefile uses that location for YOCTO
wget -nv https://files.balena-staging.com/images/%%BALENA_MACHINE_NAME%%/2.83.18%2Brev1.prod/kernel_modules_headers.tar.gz && \
tar -xzf kernel_modules_headers.tar.gz && \
mkdir -p /usr/src/kernel && \
cp -r kernel_modules_headers/* /usr/src/kernel/
ln -s /lib64/ld-linux-x86-64.so.2 /lib/ld-linux-x86-64.so.2 && \
However, drv_ion is not compiled at all:
root@balena:/opt/intel/openvino_2021.4.689/inference_engine/external/hddl/drivers/drv_ion# make >>> start building NODEBUG ION driver <<< make[1]: Entering directory '/usr/src/kernel' CC [M] /opt/intel/openvino_2021.4.689/inference_engine/external/hddl/drivers/drv_ion/ion.o /opt/intel/openvino_2021.4.689/inference_engine/external/hddl/drivers/drv_ion/ion.c:1353:3: error: 'struct dma_buf_ops' has no member named 'map'; did you mean 'mmap'? .map = ion_dma_buf_kmap, ^~~ mmap /opt/intel/openvino_2021.4.689/inference_engine/external/hddl/drivers/drv_ion/ion.c:1353:9: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .map = ion_dma_buf_kmap, ^~~~~~~~~~~~~~~~ /opt/intel/openvino_2021.4.689/inference_engine/external/hddl/drivers/drv_ion/ion.c:1353:9: note: (near initialization for 'dma_buf_ops.mmap') /opt/intel/openvino_2021.4.689/inference_engine/external/hddl/drivers/drv_ion/ion.c:1354:3: error: 'struct dma_buf_ops' has no member named 'unmap'; did you mean 'vunmap'? .unmap = ion_dma_buf_kunmap, ^~~~~ vunmap /opt/intel/openvino_2021.4.689/inference_engine/external/hddl/drivers/drv_ion/ion.c:1354:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .unmap = ion_dma_buf_kunmap, ^~~~~~~~~~~~~~~~~~ /opt/intel/openvino_2021.4.689/inference_engine/external/hddl/drivers/drv_ion/ion.c:1354:11: note: (near initialization for 'dma_buf_ops.vmap') cc1: some warnings being treated as errors scripts/Makefile.build:279: recipe for target '/opt/intel/openvino_2021.4.689/inference_engine/external/hddl/drivers/drv_ion/ion.o' failed make[2]: *** [/opt/intel/openvino_2021.4.689/inference_engine/external/hddl/drivers/drv_ion/ion.o] Error 1 Makefile:1821: recipe for target '/opt/intel/openvino_2021.4.689/inference_engine/external/hddl/drivers/drv_ion' failed make[1]: *** [/opt/intel/openvino_2021.4.689/inference_engine/external/hddl/drivers/drv_ion] Error 2 make[1]: Leaving directory '/usr/src/kernel' Makefile:42: recipe for target 'all' failed make: *** [all] Error 2
How can we get this compiled?
And then what are the steps to load these kernel modules so that 8 VPUs are detected via lsusb command?
Cheers,
Shane.
P.S. We have 2 Mustang accelerators.
The old one is working out of the box like the following:
root@viso:~# uname -r
5.8.18-yocto-standard
root@viso:~# lsusb
Bus 009 Device 003: ID 03e7:2485 Intel Movidius MyriadX
Bus 009 Device 002: ID 03e7:2485 Intel Movidius MyriadX
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 003: ID 03e7:2485 Intel Movidius MyriadX
Bus 007 Device 005: ID 2933:f541
Bus 007 Device 004: ID 03e7:2485 Intel Movidius MyriadX
Bus 007 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 003: ID 03e7:2485 Intel Movidius MyriadX
Bus 005 Device 002: ID 03e7:2485 Intel Movidius MyriadX
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 03e7:2485 Intel Movidius MyriadX
Bus 003 Device 002: ID 03e7:2485 Intel Movidius MyriadX
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 05a3:9230 ARC International Camera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
But the newer one doesn't work on balenaOS.
Here is the output on Ubuntu20.04 after installing VPU plugins successfully:
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Shane,
It makes sense, thanks for clarifying. Is it possible to execute bsl_reset binary in the balenaOS system with the newer HDDL card? The binary should be located under /opt/intel/openvino_2021.4.689/inference_engine/external/hddl/bin/bsl_reset. I am hoping this would bring the the VPU devices up and can be recognized by lsusb command. Let me know the outcome of this.
Best Regards,
Luis
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Shane,
Thanks for reaching out. It is possible the drv_ion module can't compile successfully due to the newer kernel 5.10.43. Besides facing issues compiling the driver, have you tried running any sample applications with the HDDL plugin? I am doing some tests on my side, I will share more details soon.
Also, when you stated "The old one is working out of the box..." do you mean you have an Mustang-V100-MX8-R10?
Best Regards,
Luis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Luis.
The problem is that I cannot see 03e7:f63b via lsusb command.
8 VPUs are even not detected at all. They are detected on normal Ubuntu20.04 OS after installing the HDDL plugin.
The problem is that I cannot install the HDDL plugin on balenaOS.
Does this make sense?
Cheers,
Shane.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Luis.
Regarding the mustang boards, this one is the old one that is working out of the box:
And this is the problematic one that isn't detected:
As you could see, the old one's serial number is Q196102642, which was manufactured in June 2019 and this works without any issue.
The newer one(serial number is Q20BI06587(manufactured in 2020) is not working tho.
Cheers,
Shane.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Shane,
It makes sense, thanks for clarifying. Is it possible to execute bsl_reset binary in the balenaOS system with the newer HDDL card? The binary should be located under /opt/intel/openvino_2021.4.689/inference_engine/external/hddl/bin/bsl_reset. I am hoping this would bring the the VPU devices up and can be recognized by lsusb command. Let me know the outcome of this.
Best Regards,
Luis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Luis.
I already tried bsl_reset, but this time VPUs are detected as 03e7:2485 and the demo code doesn't work at all:
root@balena:/opt/intel/openvino_2021.4.689/deployment_tools/demo# lsusb Bus 003 Device 011: ID 03e7:2485 Bus 007 Device 004: ID 2c42:5114 Bus 007 Device 014: ID 03e7:2485 Bus 005 Device 011: ID 03e7:2485 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 009 Device 011: ID 03e7:2485 Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 012: ID 03e7:2485 Bus 005 Device 010: ID 03e7:2485 Bus 007 Device 006: ID 2933:f542 Bus 007 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 007 Device 013: ID 03e7:2485 Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 009 Device 010: ID 03e7:2485 Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub root@balena:/opt/intel/openvino_2021.4.689/deployment_tools/demo# bash demo_squeezenet_download_convert_run.sh -d MYRIAD target = MYRIAD target_precision = FP16 [setupvars.sh] OpenVINO environment initialized ################################################### Downloading the Caffe model and the prototxt Installing dependencies sudo: unable to resolve host balena Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Hit:4 https://repositories.intel.com/graphics/ubuntu bionic InRelease Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:6 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1439 kB] Get:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2868 kB] Get:8 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2430 kB] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2220 kB] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [34.4 kB] Fetched 8719 kB in 5s (1737 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 18 packages can be upgraded. Run 'apt list --upgradable' to see them. 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 sudo: unable to resolve host balena Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version (12.4ubuntu1). libgtk2.0-dev is already the newest version (2.24.32-1ubuntu1). virtualenv is already the newest version (15.1.0+ds-1.1). cmake is already the newest version (3.10.2-1ubuntu2.18.04.2). gstreamer1.0-plugins-base is already the newest version (1.14.5-0ubuntu1~18.04.3). libcairo2-dev is already the newest version (1.15.10-2ubuntu0.1). libglib2.0-dev is already the newest version (2.56.4-0ubuntu0.18.04.8). libgstreamer1.0-0 is already the newest version (1.14.5-0ubuntu1~18.04.2). libpango1.0-dev is already the newest version (1.40.14-1ubuntu0.1). libavcodec-dev is already the newest version (7:3.4.8-0ubuntu0.2). libavformat-dev is already the newest version (7:3.4.8-0ubuntu0.2). libswscale-dev is already the newest version (7:3.4.8-0ubuntu0.2). python3-pip is already the newest version (9.0.1-2.3~ubuntu1.18.04.5). 0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded. sudo: unable to resolve host balena Reading package lists... Done Building dependency tree Reading state information... Done libpng-dev is already the newest version (1.6.34-1ubuntu0.18.04.2). 0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded. sudo: unable to resolve host balena Requirement already satisfied: pyyaml>=5.4.1 in /usr/local/lib/python3.6/dist-packages (from -r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 1)) (5.4.1) Requirement already satisfied: requests>=2.25.1 in /usr/local/lib/python3.6/dist-packages (from -r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (2.26.0) Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.6/dist-packages (from requests>=2.25.1->-r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (2.0.4) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.6/dist-packages (from requests>=2.25.1->-r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (2021.5.30) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.6/dist-packages (from requests>=2.25.1->-r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (1.26.6) Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.6/dist-packages (from requests>=2.25.1->-r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (3.2) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Run python3 /opt/intel/openvino_2021.4.689/deployment_tools/open_model_zoo/tools/downloader/downloader.py --name squeezenet1.1 --output_dir /root/openvino_models/models --cache_dir /root/openvino_models/cache ################|| Downloading squeezenet1.1 ||################ ========== Retrieving /root/openvino_models/models/public/squeezenet1.1/squeezenet1.1.prototxt from the cache ========== Retrieving /root/openvino_models/models/public/squeezenet1.1/squeezenet1.1.caffemodel from the cache ========== Replacing text in /root/openvino_models/models/public/squeezenet1.1/squeezenet1.1.prototxt Target folder /root/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 /root/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 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- 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 -- Configuring done -- Generating done -- Build files have been written to: /root/inference_engine_samples_build Consolidate compiler generated dependencies of target gflags_nothreads_static [ 26%] Built target gflags_nothreads_static Consolidate compiler generated dependencies of target ie_samples_utils [ 53%] Built target ie_samples_utils Consolidate compiler generated dependencies of target format_reader [ 86%] Built target format_reader Consolidate compiler generated dependencies of target classification_sample_async [100%] Built target classification_sample_async ################################################### Run Inference Engine classification sample Run ./classification_sample_async -d MYRIAD -i /opt/intel/openvino_2021.4.689/deployment_tools/demo/car.png -m /root/openvino_models/ir/public/squeezenet1.1/FP16/squeezenet1.1.xml [ INFO ] InferenceEngine: IE version ......... 2021.4.1 Build ........... 2021.4.1-3926-14e67d86634-releases/2021/4 [ INFO ] Parsing input parameters [ INFO ] Files were added: 1 [ INFO ] /opt/intel/openvino_2021.4.689/deployment_tools/demo/car.png [ INFO ] Loading Inference Engine [ INFO ] Device info: MYRIAD myriadPlugin version ......... 2021.4.1 Build ........... 2021.4.1-3926-14e67d86634-releases/2021/4 [ INFO ] Loading network files: [ INFO ] /root/openvino_models/ir/public/squeezenet1.1/FP16/squeezenet1.1.xml [ 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 E: [ncAPI] [ 878882] [classification_] ncDeviceOpen:1013 Failed to find booted device after boot [ ERROR ] Can not init Myriad device: NC_ERROR Error on or near line 217; exiting with status 1
I have also tried to execute autoboot manually and here is the output:
Cheers,
Shane.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Luis.
Yeah, I have tried bsl_reset, but this time the VPUs are detected as 03e7:2485 and the demo script doesn't work at all:
root@balena:/opt/intel/openvino_2021.4.689/deployment_tools/demo# lsusb ^[[A^[[A^[[ABus 003 Device 013: ID 03e7:2485 Bus 007 Device 004: ID 2c42:5114 Bus 007 Device 016: ID 03e7:2485 Bus 005 Device 013: ID 03e7:2485 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 009 Device 013: ID 03e7:2485 Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 014: ID 03e7:2485 Bus 005 Device 012: ID 03e7:2485 Bus 007 Device 006: ID 2933:f542 Bus 007 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 007 Device 015: ID 03e7:2485 Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 009 Device 012: ID 03e7:2485 Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub root@balena:/opt/intel/openvino_2021.4.689/deployment_tools/demo# bash demo_squeezenet_download_convert_run.sh -d MYRIAD target = MYRIAD target_precision = FP16 [setupvars.sh] OpenVINO environment initialized ################################################### Downloading the Caffe model and the prototxt Installing dependencies sudo: unable to resolve host balena Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Hit:4 https://repositories.intel.com/graphics/ubuntu bionic InRelease Get:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Fetched 140 kB in 4s (36.8 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 18 packages can be upgraded. Run 'apt list --upgradable' to see them. 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 sudo: unable to resolve host balena Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version (12.4ubuntu1). libgtk2.0-dev is already the newest version (2.24.32-1ubuntu1). virtualenv is already the newest version (15.1.0+ds-1.1). cmake is already the newest version (3.10.2-1ubuntu2.18.04.2). gstreamer1.0-plugins-base is already the newest version (1.14.5-0ubuntu1~18.04.3). libcairo2-dev is already the newest version (1.15.10-2ubuntu0.1). libglib2.0-dev is already the newest version (2.56.4-0ubuntu0.18.04.8). libgstreamer1.0-0 is already the newest version (1.14.5-0ubuntu1~18.04.2). libpango1.0-dev is already the newest version (1.40.14-1ubuntu0.1). libavcodec-dev is already the newest version (7:3.4.8-0ubuntu0.2). libavformat-dev is already the newest version (7:3.4.8-0ubuntu0.2). libswscale-dev is already the newest version (7:3.4.8-0ubuntu0.2). python3-pip is already the newest version (9.0.1-2.3~ubuntu1.18.04.5). 0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded. sudo: unable to resolve host balena Reading package lists... Done Building dependency tree Reading state information... Done libpng-dev is already the newest version (1.6.34-1ubuntu0.18.04.2). 0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded. sudo: unable to resolve host balena Requirement already satisfied: pyyaml>=5.4.1 in /usr/local/lib/python3.6/dist-packages (from -r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 1)) (5.4.1) Requirement already satisfied: requests>=2.25.1 in /usr/local/lib/python3.6/dist-packages (from -r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (2.26.0) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.6/dist-packages (from requests>=2.25.1->-r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (2021.5.30) Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.6/dist-packages (from requests>=2.25.1->-r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (2.0.4) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.6/dist-packages (from requests>=2.25.1->-r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (1.26.6) Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.6/dist-packages (from requests>=2.25.1->-r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (3.2) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Run python3 /opt/intel/openvino_2021.4.689/deployment_tools/open_model_zoo/tools/downloader/downloader.py --name squeezenet1.1 --output_dir /root/openvino_models/models --cache_dir /root/openvino_models/cache ################|| Downloading squeezenet1.1 ||################ ========== Retrieving /root/openvino_models/models/public/squeezenet1.1/squeezenet1.1.prototxt from the cache ========== Retrieving /root/openvino_models/models/public/squeezenet1.1/squeezenet1.1.caffemodel from the cache ========== Replacing text in /root/openvino_models/models/public/squeezenet1.1/squeezenet1.1.prototxt Target folder /root/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 /root/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 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- 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 -- Configuring done -- Generating done -- Build files have been written to: /root/inference_engine_samples_build Consolidate compiler generated dependencies of target gflags_nothreads_static [ 26%] Built target gflags_nothreads_static Consolidate compiler generated dependencies of target ie_samples_utils [ 53%] Built target ie_samples_utils Consolidate compiler generated dependencies of target format_reader [ 86%] Built target format_reader Consolidate compiler generated dependencies of target classification_sample_async [100%] Built target classification_sample_async ################################################### Run Inference Engine classification sample Run ./classification_sample_async -d MYRIAD -i /opt/intel/openvino_2021.4.689/deployment_tools/demo/car.png -m /root/openvino_models/ir/public/squeezenet1.1/FP16/squeezenet1.1.xml [ INFO ] InferenceEngine: IE version ......... 2021.4.1 Build ........... 2021.4.1-3926-14e67d86634-releases/2021/4 [ INFO ] Parsing input parameters [ INFO ] Files were added: 1 [ INFO ] /opt/intel/openvino_2021.4.689/deployment_tools/demo/car.png [ INFO ] Loading Inference Engine [ INFO ] Device info: MYRIAD myriadPlugin version ......... 2021.4.1 Build ........... 2021.4.1-3926-14e67d86634-releases/2021/4 [ INFO ] Loading network files: [ INFO ] /root/openvino_models/ir/public/squeezenet1.1/FP16/squeezenet1.1.xml [ 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 E: [ncAPI] [ 730625] [classification_] ncDeviceOpen:1013 Failed to find booted device after boot [ ERROR ] Can not init Myriad device: NC_ERROR Error on or near line 217; exiting with status 1 root@balena:/opt/intel/openvino_2021.4.689/deployment_tools/demo#
I also tried autoboot, but failed:
Cheers,
Shane.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Luis.
Yes, I already tried bsl_reset, but this time VPUs are detected as 03e7:2485 like the followings:
root@balena:/opt/intel/openvino_2021.4.689/deployment_tools/demo# lsusb Bus 003 Device 013: ID 03e7:2485 Bus 007 Device 004: ID 2c42:5114 Bus 007 Device 016: ID 03e7:2485 Bus 005 Device 013: ID 03e7:2485 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 009 Device 013: ID 03e7:2485 Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 014: ID 03e7:2485 Bus 005 Device 012: ID 03e7:2485 Bus 007 Device 006: ID 2933:f542 Bus 007 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 007 Device 015: ID 03e7:2485 Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 009 Device 012: ID 03e7:2485 Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
And the demo script doesn't work at all:
root@balena:/opt/intel/openvino_2021.4.689/deployment_tools/demo# bash demo_squeezenet_download_convert_run.sh -d MYRIAD target = MYRIAD target_precision = FP16 [setupvars.sh] OpenVINO environment initialized ################################################### Downloading the Caffe model and the prototxt Installing dependencies sudo: unable to resolve host balena Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Hit:4 https://repositories.intel.com/graphics/ubuntu bionic InRelease Get:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2220 kB] Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2868 kB] Fetched 5339 kB in 3s (1596 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 18 packages can be upgraded. Run 'apt list --upgradable' to see them. 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 sudo: unable to resolve host balena Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version (12.4ubuntu1). libgtk2.0-dev is already the newest version (2.24.32-1ubuntu1). virtualenv is already the newest version (15.1.0+ds-1.1). cmake is already the newest version (3.10.2-1ubuntu2.18.04.2). gstreamer1.0-plugins-base is already the newest version (1.14.5-0ubuntu1~18.04.3). libcairo2-dev is already the newest version (1.15.10-2ubuntu0.1). libglib2.0-dev is already the newest version (2.56.4-0ubuntu0.18.04.8). libgstreamer1.0-0 is already the newest version (1.14.5-0ubuntu1~18.04.2). libpango1.0-dev is already the newest version (1.40.14-1ubuntu0.1). libavcodec-dev is already the newest version (7:3.4.8-0ubuntu0.2). libavformat-dev is already the newest version (7:3.4.8-0ubuntu0.2). libswscale-dev is already the newest version (7:3.4.8-0ubuntu0.2). python3-pip is already the newest version (9.0.1-2.3~ubuntu1.18.04.5). 0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded. sudo: unable to resolve host balena Reading package lists... Done Building dependency tree Reading state information... Done libpng-dev is already the newest version (1.6.34-1ubuntu0.18.04.2). 0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded. sudo: unable to resolve host balena Requirement already satisfied: pyyaml>=5.4.1 in /usr/local/lib/python3.6/dist-packages (from -r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 1)) (5.4.1) Requirement already satisfied: requests>=2.25.1 in /usr/local/lib/python3.6/dist-packages (from -r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (2.26.0) Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.6/dist-packages (from requests>=2.25.1->-r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (3.2) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.6/dist-packages (from requests>=2.25.1->-r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (1.26.6) Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.6/dist-packages (from requests>=2.25.1->-r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (2.0.4) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.6/dist-packages (from requests>=2.25.1->-r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (2021.5.30) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Run python3 /opt/intel/openvino_2021.4.689/deployment_tools/open_model_zoo/tools/downloader/downloader.py --name squeezenet1.1 --output_dir /root/openvino_models/models --cache_dir /root/openvino_models/cache ################|| Downloading squeezenet1.1 ||################ ========== Retrieving /root/openvino_models/models/public/squeezenet1.1/squeezenet1.1.prototxt from the cache ========== Retrieving /root/openvino_models/models/public/squeezenet1.1/squeezenet1.1.caffemodel from the cache ========== Replacing text in /root/openvino_models/models/public/squeezenet1.1/squeezenet1.1.prototxt Target folder /root/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 /root/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 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- 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 -- Configuring done -- Generating done -- Build files have been written to: /root/inference_engine_samples_build Consolidate compiler generated dependencies of target gflags_nothreads_static [ 26%] Built target gflags_nothreads_static Consolidate compiler generated dependencies of target ie_samples_utils [ 53%] Built target ie_samples_utils Consolidate compiler generated dependencies of target format_reader [ 86%] Built target format_reader Consolidate compiler generated dependencies of target classification_sample_async [100%] Built target classification_sample_async ################################################### Run Inference Engine classification sample Run ./classification_sample_async -d MYRIAD -i /opt/intel/openvino_2021.4.689/deployment_tools/demo/car.png -m /root/openvino_models/ir/public/squeezenet1.1/FP16/squeezenet1.1.xml [ INFO ] InferenceEngine: IE version ......... 2021.4.1 Build ........... 2021.4.1-3926-14e67d86634-releases/2021/4 [ INFO ] Parsing input parameters [ INFO ] Files were added: 1 [ INFO ] /opt/intel/openvino_2021.4.689/deployment_tools/demo/car.png [ INFO ] Loading Inference Engine [ INFO ] Device info: MYRIAD myriadPlugin version ......... 2021.4.1 Build ........... 2021.4.1-3926-14e67d86634-releases/2021/4 [ INFO ] Loading network files: [ INFO ] /root/openvino_models/ir/public/squeezenet1.1/FP16/squeezenet1.1.xml [ 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 E: [ncAPI] [ 454742] [classification_] ncDeviceOpen:1013 Failed to find booted device after boot [ ERROR ] Can not init Myriad device: NC_ERROR Error on or near line 217; exiting with status 1 root@balena:/opt/intel/openvino_2021.4.689/deployment_tools/demo#
Tried to launch autoboot but failed as well:
root@balena:/opt/intel/openvino_2021.4.689/deployment_tools/demo# ./../../inference_engine/external/hddl/bin/autoboot [04:25:39.2945][9205]I[FileHelper.cpp:272] Set file:/var/tmp/hddl_autoboot_alive.mutex owner: user-'no_change', group-'users', mode-'0660' [04:25:39.2946][9205]I[FileHelper.cpp:272] Set file:/var/tmp/hddl_autoboot_ready.mutex owner: user-'no_change', group-'users', mode-'0660' [04:25:39.2947][9205]I[FileHelper.cpp:272] Set file:/var/tmp/hddl_autoboot_start_exit.mutex owner: user-'no_change', group-'users', mode-'0660' [04:25:39.2947][9205]I[FileHelper.cpp:272] Set file:/tmp/hddl_autoboot_device.map owner: user-'no_change', group-'users', mode-'0660' [04:25:39.2948][9205]I[AutoBoot.cpp:308] [Firmware Config] deviceName=default deviceNum=0 firmwarePath=/opt/intel/openvino/deployment_tools/inference_engine/external/hddl/lib/mvnc/usb-ma2x8x.mvcmd [04:25:40.4181][9207]I[AutoBoot.cpp:197] Start boot device 9.2-ma2480 [04:25:40.5302][9207]ERROR[AutoBoot.cpp:207] Error: Device 9.2-ma2480 boot failed, firmware=/opt/intel/openvino/deployment_tools/inference_engine/external/hddl/lib/mvnc/usb-ma2x8x.mvcmd [04:25:40.5302][9207]I[AutoBoot.cpp:197] Start boot device 5.2-ma2480 [04:25:40.6435][9207]ERROR[AutoBoot.cpp:207] Error: Device 5.2-ma2480 boot failed, firmware=/opt/intel/openvino/deployment_tools/inference_engine/external/hddl/lib/mvnc/usb-ma2x8x.mvcmd [04:25:40.6436][9207]I[AutoBoot.cpp:197] Start boot device 3.2-ma2480 [04:25:40.7546][9207]ERROR[AutoBoot.cpp:207] Error: Device 3.2-ma2480 boot failed, firmware=/opt/intel/openvino/deployment_tools/inference_engine/external/hddl/lib/mvnc/usb-ma2x8x.mvcmd [04:25:40.7547][9207]I[AutoBoot.cpp:197] Start boot device 7.1.3-ma2480 [04:25:40.8657][9207]ERROR[AutoBoot.cpp:207] Error: Device 7.1.3-ma2480 boot failed, firmware=/opt/intel/openvino/deployment_tools/inference_engine/external/hddl/lib/mvnc/usb-ma2x8x.mvcmd [04:25:40.8657][9207]I[AutoBoot.cpp:197] Start boot device 9.1-ma2480 [04:25:40.9767][9207]ERROR[AutoBoot.cpp:207] Error: Device 9.1-ma2480 boot failed, firmware=/opt/intel/openvino/deployment_tools/inference_engine/external/hddl/lib/mvnc/usb-ma2x8x.mvcmd [04:25:40.9767][9207]I[AutoBoot.cpp:197] Start boot device 7.2-ma2480 [04:25:41.0877][9207]ERROR[AutoBoot.cpp:207] Error: Device 7.2-ma2480 boot failed, firmware=/opt/intel/openvino/deployment_tools/inference_engine/external/hddl/lib/mvnc/usb-ma2x8x.mvcmd [04:25:41.0877][9207]I[AutoBoot.cpp:197] Start boot device 5.1-ma2480 [04:25:41.1987][9207]ERROR[AutoBoot.cpp:207] Error: Device 5.1-ma2480 boot failed, firmware=/opt/intel/openvino/deployment_tools/inference_engine/external/hddl/lib/mvnc/usb-ma2x8x.mvcmd [04:25:41.1988][9207]I[AutoBoot.cpp:197] Start boot device 3.1-ma2480 [04:25:41.3097][9207]ERROR[AutoBoot.cpp:207] Error: Device 3.1-ma2480 boot failed, firmware=/opt/intel/openvino/deployment_tools/inference_engine/external/hddl/lib/mvnc/usb-ma2x8x.mvcmd
Cheers,
Shane.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Luis.
Yes, I have already tried bsl_reset, but this time VPUs are detected as 03e7:2485 like the following:
root@balena:/opt/intel/openvino_2021.4.689/deployment_tools/demo# lsusb Bus 003 Device 015: ID 03e7:2485 Bus 007 Device 004: ID 2c42:5114 Bus 007 Device 018: ID 03e7:2485 Bus 005 Device 015: ID 03e7:2485 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 009 Device 015: ID 03e7:2485 Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 016: ID 03e7:2485 Bus 005 Device 014: ID 03e7:2485 Bus 007 Device 006: ID 2933:f542 Bus 007 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 007 Device 017: ID 03e7:2485 Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 009 Device 014: ID 03e7:2485 Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
And demo script doesn't work at all:
root@balena:/opt/intel/openvino_2021.4.689/deployment_tools/demo# bash demo_squeezenet_download_convert_run.sh -d MYRIAD target = MYRIAD target_precision = FP16 [setupvars.sh] OpenVINO environment initialized ################################################### Downloading the Caffe model and the prototxt Installing dependencies sudo: unable to resolve host balena Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:4 https://repositories.intel.com/graphics/ubuntu bionic InRelease Hit:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease Reading package lists... Done Building dependency tree Reading state information... Done 18 packages can be upgraded. Run 'apt list --upgradable' to see them. 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 sudo: unable to resolve host balena Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version (12.4ubuntu1). libgtk2.0-dev is already the newest version (2.24.32-1ubuntu1). virtualenv is already the newest version (15.1.0+ds-1.1). cmake is already the newest version (3.10.2-1ubuntu2.18.04.2). gstreamer1.0-plugins-base is already the newest version (1.14.5-0ubuntu1~18.04.3). libcairo2-dev is already the newest version (1.15.10-2ubuntu0.1). libglib2.0-dev is already the newest version (2.56.4-0ubuntu0.18.04.8). libgstreamer1.0-0 is already the newest version (1.14.5-0ubuntu1~18.04.2). libpango1.0-dev is already the newest version (1.40.14-1ubuntu0.1). libavcodec-dev is already the newest version (7:3.4.8-0ubuntu0.2). libavformat-dev is already the newest version (7:3.4.8-0ubuntu0.2). libswscale-dev is already the newest version (7:3.4.8-0ubuntu0.2). python3-pip is already the newest version (9.0.1-2.3~ubuntu1.18.04.5). 0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded. sudo: unable to resolve host balena Reading package lists... Done Building dependency tree Reading state information... Done libpng-dev is already the newest version (1.6.34-1ubuntu0.18.04.2). 0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded. sudo: unable to resolve host balena Requirement already satisfied: pyyaml>=5.4.1 in /usr/local/lib/python3.6/dist-packages (from -r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 1)) (5.4.1) Requirement already satisfied: requests>=2.25.1 in /usr/local/lib/python3.6/dist-packages (from -r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (2.26.0) Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.6/dist-packages (from requests>=2.25.1->-r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (3.2) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.6/dist-packages (from requests>=2.25.1->-r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (2021.5.30) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.6/dist-packages (from requests>=2.25.1->-r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (1.26.6) Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.6/dist-packages (from requests>=2.25.1->-r /opt/intel/openvino_2021.4.689/deployment_tools/demo/../open_model_zoo/tools/downloader/requirements.in (line 2)) (2.0.4) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Run python3 /opt/intel/openvino_2021.4.689/deployment_tools/open_model_zoo/tools/downloader/downloader.py --name squeezenet1.1 --output_dir /root/openvino_models/models --cache_dir /root/openvino_models/cache ################|| Downloading squeezenet1.1 ||################ ========== Retrieving /root/openvino_models/models/public/squeezenet1.1/squeezenet1.1.prototxt from the cache ========== Retrieving /root/openvino_models/models/public/squeezenet1.1/squeezenet1.1.caffemodel from the cache ========== Replacing text in /root/openvino_models/models/public/squeezenet1.1/squeezenet1.1.prototxt Target folder /root/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 /root/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 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- 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 -- Configuring done -- Generating done -- Build files have been written to: /root/inference_engine_samples_build Consolidate compiler generated dependencies of target gflags_nothreads_static [ 26%] Built target gflags_nothreads_static Consolidate compiler generated dependencies of target ie_samples_utils [ 53%] Built target ie_samples_utils Consolidate compiler generated dependencies of target format_reader [ 86%] Built target format_reader Consolidate compiler generated dependencies of target classification_sample_async [100%] Built target classification_sample_async ################################################### Run Inference Engine classification sample Run ./classification_sample_async -d MYRIAD -i /opt/intel/openvino_2021.4.689/deployment_tools/demo/car.png -m /root/openvino_models/ir/public/squeezenet1.1/FP16/squeezenet1.1.xml [ INFO ] InferenceEngine: IE version ......... 2021.4.1 Build ........... 2021.4.1-3926-14e67d86634-releases/2021/4 [ INFO ] Parsing input parameters [ INFO ] Files were added: 1 [ INFO ] /opt/intel/openvino_2021.4.689/deployment_tools/demo/car.png [ INFO ] Loading Inference Engine [ INFO ] Device info: MYRIAD myriadPlugin version ......... 2021.4.1 Build ........... 2021.4.1-3926-14e67d86634-releases/2021/4 [ INFO ] Loading network files: [ INFO ] /root/openvino_models/ir/public/squeezenet1.1/FP16/squeezenet1.1.xml [ 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 E: [ncAPI] [ 742873] [classification_] ncDeviceOpen:1013 Failed to find booted device after boot [ ERROR ] Can not init Myriad device: NC_ERROR Error on or near line 217; exiting with status 1 root@balena:/opt/intel/openvino_2021.4.689/deployment_tools/demo#
Tried autoboot but failed as well:
root@balena:/opt/intel/openvino_2021.4.689/deployment_tools/demo# ./../../inference_engine/external/hddl/bin/autoboot [04:25:39.2945][9205]I[FileHelper.cpp:272] Set file:/var/tmp/hddl_autoboot_alive.mutex owner: user-'no_change', group-'users', mode-'0660' [04:25:39.2946][9205]I[FileHelper.cpp:272] Set file:/var/tmp/hddl_autoboot_ready.mutex owner: user-'no_change', group-'users', mode-'0660' [04:25:39.2947][9205]I[FileHelper.cpp:272] Set file:/var/tmp/hddl_autoboot_start_exit.mutex owner: user-'no_change', group-'users', mode-'0660' [04:25:39.2947][9205]I[FileHelper.cpp:272] Set file:/tmp/hddl_autoboot_device.map owner: user-'no_change', group-'users', mode-'0660' [04:25:39.2948][9205]I[AutoBoot.cpp:308] [Firmware Config] deviceName=default deviceNum=0 firmwarePath=/opt/intel/openvino/deployment_tools/inference_engine/external/hddl/lib/mvnc/usb-ma2x8x.mvcmd [04:25:40.4181][9207]I[AutoBoot.cpp:197] Start boot device 9.2-ma2480 [04:25:40.5302][9207]ERROR[AutoBoot.cpp:207] Error: Device 9.2-ma2480 boot failed, firmware=/opt/intel/openvino/deployment_tools/inference_engine/external/hddl/lib/mvnc/usb-ma2x8x.mvcmd [04:25:40.5302][9207]I[AutoBoot.cpp:197] Start boot device 5.2-ma2480 [04:25:40.6435][9207]ERROR[AutoBoot.cpp:207] Error: Device 5.2-ma2480 boot failed, firmware=/opt/intel/openvino/deployment_tools/inference_engine/external/hddl/lib/mvnc/usb-ma2x8x.mvcmd [04:25:40.6436][9207]I[AutoBoot.cpp:197] Start boot device 3.2-ma2480 [04:25:40.7546][9207]ERROR[AutoBoot.cpp:207] Error: Device 3.2-ma2480 boot failed, firmware=/opt/intel/openvino/deployment_tools/inference_engine/external/hddl/lib/mvnc/usb-ma2x8x.mvcmd [04:25:40.7547][9207]I[AutoBoot.cpp:197] Start boot device 7.1.3-ma2480 [04:25:40.8657][9207]ERROR[AutoBoot.cpp:207] Error: Device 7.1.3-ma2480 boot failed, firmware=/opt/intel/openvino/deployment_tools/inference_engine/external/hddl/lib/mvnc/usb-ma2x8x.mvcmd [04:25:40.8657][9207]I[AutoBoot.cpp:197] Start boot device 9.1-ma2480 [04:25:40.9767][9207]ERROR[AutoBoot.cpp:207] Error: Device 9.1-ma2480 boot failed, firmware=/opt/intel/openvino/deployment_tools/inference_engine/external/hddl/lib/mvnc/usb-ma2x8x.mvcmd [04:25:40.9767][9207]I[AutoBoot.cpp:197] Start boot device 7.2-ma2480 [04:25:41.0877][9207]ERROR[AutoBoot.cpp:207] Error: Device 7.2-ma2480 boot failed, firmware=/opt/intel/openvino/deployment_tools/inference_engine/external/hddl/lib/mvnc/usb-ma2x8x.mvcmd [04:25:41.0877][9207]I[AutoBoot.cpp:197] Start boot device 5.1-ma2480 [04:25:41.1987][9207]ERROR[AutoBoot.cpp:207] Error: Device 5.1-ma2480 boot failed, firmware=/opt/intel/openvino/deployment_tools/inference_engine/external/hddl/lib/mvnc/usb-ma2x8x.mvcmd [04:25:41.1988][9207]I[AutoBoot.cpp:197] Start boot device 3.1-ma2480 [04:25:41.3097][9207]ERROR[AutoBoot.cpp:207] Error: Device 3.1-ma2480 boot failed, firmware=/opt/intel/openvino/deployment_tools/inference_engine/external/hddl/lib/mvnc/usb-ma2x8x.mvcmd
Cheers,
Shane.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This thread will no longer be monitored since the issue has been marked as resolved.
If you need any additional information from Intel, please submit a new question.
Best regards,
Luis

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