cancel
Showing results for 
Search instead for 
Did you mean: 

[X-CUBE-AI 10.2.0] Internal Crash: 'range' object has no attribute 'reshape' when analyzing ONNX model

giuug
Visitor

Hi everyone,

I am trying to deploy a custom ONNX model on the STM32N6 using X-CUBE-AI v10.2.0 (ST Edge AI Core v2.2.0), but the tool crashes immediately during the analysis phase.

Setup:

Problem: When I run the analyze command, "stedgeai" fails with an internal Python exception. It seems to be failing on a specific attribute lookup. And here is the output/error log:

ST Edge AI Core v2.2.0-20266 2adc00962
INTERNAL ERROR: 'range' object has no attribute 'reshape'

Has anyone encountered this specific internal error before? It looks like a bug within the converter itself rather than a standard validation error. I would appreciate any guidance on how to fix the model or the export process to avoid this crash.

0 REPLIES 0