Article ID: 000087265 Content Type: Error Messages Last Reviewed: 05/20/2022

“ReplacementID” Error When Converting Open Neural Network Exchange (ONNX) Model to Intermediate Representation (IR) Format

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Quick step to identify the input nodes of a neural network model.

Description

Converted ONNX model to OpenVINO™ IR format using Model Optimizer command:

--input_model "{onnx_path}
--input_shape [1,512, 896, 3], [1,512, 896, 4]
--input frame, prob
--data_type FP16
--output_dir "{model_path.parent}"

Received error:

[ ERROR ] Exception occurred during running replacer "REPLACEMENT_ID" (<class 'extensions.front.user_data_repack.UserDataRepack'>): No node with name frame

Resolution

The Model Optimizer did not recognize the input nodes frame and prob, due to wrongly specifying the input nodes of the model.

  1. Check the correct input nodes for the model using Netron.
  2. Change the input nodes option from --input frame, prob to --input 0,1.

Related Products

This article applies to 2 products