cancel
Showing results for 
Search instead for 
Did you mean: 

X-CUBE-AI 9.0.0: TOOL ERROR: Error in computation of shapes

lc_guo
Associate

Hello, ST community members, I am trying to port an onnx model to STM32H743VITx through X-CUBE-AI. When analyzing the network, the following error message appears:
"TOOL ERROR: Error in computation of shapes"

I don't know if it is because some layers in the network are not supported by the tool, or maybe because my network is two branches and then aggregated, but I can use the same single-branch model to pass the analysis. I uploaded my model structure in the form of a picture, hoping to get your help, thank you!

 

 

1 REPLY 1
Julian E.
ST Employee

Hello @lc_guo,

 

You can find the list of supported layers here:

https://stedgeai-dc.st.com/assets/embedded-docs/supported_ops_onnx.html 

 

Can you share your model in a .zip file please?

Else, can you open a git bash where stedgeai is located and type:

  1. _DEBUG=2
  2. ./stedgeai generate --target stm32h7 -m path_to_your_model.onnx

Then share the results.

 

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.