Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
24 Views

OPENVINO:Cannot infer shapes or values for node "im_info"

I was running a project to convert "ONNX" to "IR" model using CMD like this:
python mo.py --input_model C:\test\faster_rcnn.onnx --output_dir C:\test\tran

.here came the error:

[ ERROR ]  Cannot infer shapes or values for node "im_info".
[ ERROR ]  There is no registered "infer" function for node "im_info" with op =
"AliasWithName". Please implement this function in the extensions.
 For more information please refer to Model Optimizer FAQ (https://docs.openvino
toolkit.org/latest/_docs_MO_DG_prepare_model_Model_Optimizer_FAQ.html), question
 #37.
[ ERROR ]
[ ERROR ]  It can happen due to bug in custom shape infer function <UNKNOWN>.
[ ERROR ]  Or because the node inputs have incorrect values/shapes.
[ ERROR ]  Or because input shapes are incorrect (embedded to the model or passe
d via --input_shape).
[ ERROR ]  Run Model Optimizer with --log_level=DEBUG for more information.
[ ERROR ]  Exception occurred during running replacer "REPLACEMENT_ID" (<class '
extensions.middle.PartialInfer.PartialInfer'>): Stopped shape/value propagation
at "im_info" node.
 For more information please refer to Model Optimizer FAQ (https://docs.openvino
toolkit.org/latest/_docs_MO_DG_prepare_model_Model_Optimizer_FAQ.html), question
 #38.

and i see the 38 problem,but it is without solution:
38. What does the message "Stopped shape/value propagation at node" mean?
Model Optimizer cannot infer shapes or values for the specified node. It can happen because of a bug in the custom shape infer function, because the node inputs have incorrect values/shapes, or because the input shapes are incorrect.

I want to know how can I sort the problem.does the model named rcnn.onnx have some problem which I haven't know? here is my onnx model(input model):
https://pan.baidu.com/s/1qiCoU-qrFawCgzoUeYNX1Q
Extraction code is:
ewew
 

0 Kudos
1 Reply
Highlighted
Beginner
24 Views

thanks for anyone's help.

0 Kudos