cancel
Showing results for 
Search instead for 
Did you mean: 

stedgeai INTERNAL ERROR: Order of dimensions of input cannot be interpreted

sandeepchawla74
Associate II

Hello , 

I am trying to use a text detection model on STM32N6 . This is a CNN model

The command used is : 

stedgeai generate --model custom_model.onnx --target stm32n6 --st-neural-art default@user_neuralart_STM32N6570-DK.json --input-data-type float32

The error I get is : INTERNAL ERROR: Order of dimensions of input cannot be interpreted

The model is using the following operators :

Conv

Relu

BatchNormalization

MaxPool

Concat

Resize

It was using Transpose operator  , but I removed it from the model

Could you provide the possible reasons behind the error.

Regards,

Sandeep

2 REPLIES 2
Julian E.
ST Employee

Hello @sandeepchawla74,

 

I cannot say without the model.

Could you share it in a zip file?

 

Also, please try to use the option --use-onnx-simplifier, sometimes it helps.

Make sure to use the latest version of the st edge ai core (2.2)

 

Have a good day,

Julian


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Hello Julian , 

Please find the model attached. 

The version is 

ST Edge AI Core v2.2.0-20266 2adc00962.

Regards,

Sandeep