Community
cancel
Showing results for 
Search instead for 
Did you mean: 
G__Eswar
Beginner
155 Views

Unable to convert ONNX model file to IR format with OpenVino Model Optimizer

Hi,

I tried to convert ONNX file to IR format, but i couldn't complete the process due to some missing operators in OpenVino Toolkit. In my code i'm using index function, that belongs to ATen operators, as per my understanding OpenVino doesn't support ATen Operators. When i try to execute the optimizer command, it has thrown the below error message,

[ ERROR ]  Cannot infer shapes or values for node "5591".
[ ERROR ]  There is no registered "infer" function for node "5591" with op = "ATen". Please implement this function in the extensions.
 For more information please refer to Model Optimizer FAQ (<INSTALL_DIR>/deployment_tools/documentation/docs/MO_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 passed via --input_shape).
[ 2019-02-21 15:46:43,107 ] [ DEBUG ] [ infer:215 ]  Node "5591" attributes: {'pb': input: "5586"
input: ""
input: ""
input: "5587"
input: "5588"
output: "5591"
op_type: "ATen"
attribute {
  name: "operator"
  s: "index"
  type: STRING
}

Is it possible to add support for full ATen operator stack to the Openvino?. If not then how to add single function to the extensions list in Openvino?

can anyone help me to understand the basic steps to add custom functions?

 

Regards,

Eswar

0 Replies
Reply