问题描述
在树莓派3B+
上基于Raspbian Buster
系统使用OpenVINO2020.1
(用来使用Interl NCS 2
),按照官网的步骤运行人脸识别的Sample时:
./armv7l/Release/object_detection_sample_ssd -m face-detection-adas-0001.xml -d MYRIAD -i /home/pi/Pictures/1.jpg
出现以下错误:
[ERROR] Check 'axis < static_cast<size_t>(input_rank)' failed at /teamcity/work/scoring_engine_build/releases_2020_1/ngraph/src/ngraph/op/gather.cpp:140:
While validating node 'Gather[Gather_852](patternLabel_848: float{10,20,30}, patternLabel_849: int64_t{5}, patternLabel_851: int64_t{1}) -> (??)':
The axis must => 0 and <= input_rank (axis: 4294967295).
解决方法一:
不需要重新安装,但是使用OpenVINO 2019-R3
版本的model
https://download.01.org/opencv/2019/open_model_zoo/R3/20190905_163000_mo...
https://download.01.org/opencv/2019/open_model_zoo/R3/20190905_163000_mo...
解决方法二:
重新安装OpenVINO 2019.R3
版本,安装流程:https://docs.openvinotoolkit.org/2019_R3/_docs_install_guides_installing_openvino_raspbian.html
问题原因
OpemVINO2020.1
版本对模型优化的执行过程做了较大的改进,使用了nGraph
编译器,详情可以参考:https://docs.openvinotoolkit.org/latest/_docs_IE_DG_nGraph_Flow.html
本人也通过Intel官方论坛提了issue
,得到的答案是开发团队正在调查问题所在。issue链接:https://software.intel.com/en-us/forums/intel-distribution-of-openvino-toolkit/topic/848966