Article ID: 000056224 Content Type: Troubleshooting Last Reviewed: 02/15/2023

How to Solve Runtime Errors on Raspbian OS


Raspberry Pi running Raspbian OS on  Intel® Distribution of OpenVINO™ toolkit version 2020.1, 2020.2 and 2020.3

Debian Linux*


Workaround for the 'axis' error on OpenVINO™ toolkit 2020.1 and 'Aborted' error on OpenVINO™ toolkit 2020.2 and 2020.3 while running inference on Raspbian OS.


Issue on 2020.1

Error trying to run inference in the OpenVINO™ toolkit 2020.1 version using Raspberry pi.

Error encountered:

RuntimeError: Check 'axis < static_cast(input_rank)' failed at /teamcity/work/scoring_engine_build/releases_2020_1/ngraph/src/ngraph/op/gather.cpp:140: While validating node 'Gather[Gather_1718](patternLabel_1714: float{10,20,30}, patternLabel_1715: int64_t{5}, patternLabel_1717: int64_t{1}) -> (??)': The axis must => 0 and <= input_rank (axis: 4294967295)

Issue on 2020.2 and 2020.3 versions:

terminate called without an active exception


These errors are caused when using the new IR format on Raspbian OS.

Option 1:

Generate the IRv7 format files using the Model Optimizer from the full installation of OpenVINO™ toolkit with the following parameter: --generate_deprecated_IR_V7.

Option 2:

Use the previous pre-trained models from the open model zoo.

Option 3:

Install the previous version of OpenVINO™ toolkit (2019 R3.1) on a Windows*, Linux*, or macOS* system, convert the model there, which will generate the IR v7 format.


The 'axis' bug has been fixed in the Intel® Distribution of OpenVINO™ toolkit v2020.2 for Raspbian OS. Fixes have been addressed in the Intel® Distribution of OpenVINO™ toolkit v2020.4. Update your software to the latest version and use the latest version IR files, as the older ones are not compatible with the latest releases.

Related Products

This article applies to 3 products