Skip to main content
Associate II
August 26, 2025
Question

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

  • August 26, 2025
  • 1 reply
  • 367 views

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

1 reply

Julian E.
Technical Moderator
August 26, 2025

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.
Associate II
August 26, 2025

Hello Julian , 

Please find the model attached. 

The version is 

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

Regards,

Sandeep

Associate II
September 2, 2025

Hello Julian ,

Is there any update on the issue reported. I cannot progress till the issue is resolved.

Regards,

Sandeep