InferenceEngineException on raspberrypi 'Product of output shape dimensions does not match product of argument shape dimensions'

InferenceEngineException on raspberrypi 'Product of output shape dimensions does not match product of argument shape dimensions'


When following the instructions on https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_... I get the following errors.
I was able to test the NCS on Mac OS, so it seems to be related to the raspberry pi build.

pi@raspberrypi:~/build $ python3 openvino_fd_myrad.py 
terminate called after throwing an instance of 'InferenceEngine::details::InferenceEngineException'
  what():  conv4_3_0_norm_mbox_priorbox/naked_not_unsqueezed has zero dimension that is not allowable
Aborted

pi@raspberrypi:~/build $ python3 openvino_fd_myrad.py 
terminate called after throwing an instance of 'InferenceEngine::details::InferenceEngineException'
  what():  Check 'input_shape_product.get_length() == shape_size(m_output_shape)' failed at /teamcity/work/scoring_engine_build/releases_2020_2/ngraph/src/ngraph/op/reshape.cpp:100:
While validating node 'v0::Reshape Reshape_980(PriorBox_754[0]:f32{2,3231918080}) -> (dynamic?)':
Product of output shape dimensions does not match product of argument shape dimensions (output shape: Shape{1, 2, 3231918080}, argument shape: {2,3231918080}).

Any idea what is the error?

4 posts / 0 new

Hi (name withheld),

 

Thanks for reaching out.

We will take a look into your issue and come back to you as soon as possible.

 

Regards,

Javier A.


Hello,

I have the same error, while trying to run the example on PI.

pi@raspberrypi:~/guardeyelite $ python3 openvino_fd_myriad.py 
terminate called after throwing an instance of 'InferenceEngine::details::InferenceEngineException'
  what():  Check 'input_shape_product.get_length() == shape_size(m_output_shape)' failed at /teamcity/work/scoring_engine_build/releases_2020_2/ngraph/src/ngraph/op/reshape.cpp:100:
While validating node 'v0::Reshape Reshape_971(PriorBox_744[0]:f32{2,4250587136}) -> (dynamic?)':
Product of output shape dimensions does not match product of argument shape dimensions (output shape: Shape{1, 2, 4250587136}, argument shape: {2,4250587136}).

Regards
 

 


Hi (name withheld), himant,

 

We are aware of this issue and are able to reproduce it, we are currently investigating the problem and looking for a fix. As a workaround, you can use the OpenVINO™ toolkit 2020.1 version with 2019 R3 version models. This is because there is an incompatibility issue between OpenVINO™ toolkit 2020.1 version and IR v10 format files. Also, this only affects OpenVINO™ toolkit on Raspberry Pi.

 

Regards,

Javier A.

Leave a Comment

Please sign in to add a comment. Not a member? Join today