2026-01-20 7:12 AM
Hello,
I am trying to convert my Onnx model with the ST Edge AI Core tool to the .nb format for the STM32MP25 target.
While converting the model i get the following error:
ST Edge AI Core v2.2.0-20266
INTERNAL ERROR: unsupported operand type(s) for *: 'int' and 'shape_struct'
I could track down the error to a resize operation in the Onnx model. Here is a short snippet how the model looks like:
When i remove the resize operations and downscale the 28 x 28 patches to 14 x 14 patches. Then the error is gone.
So i think that the resize operation is the problem.
This happens for quantized and non quantized models.
Like stated here (STM32MP2 NPU description - stm32mpu), there should be some resize operations implemented at least on the GPU.
Did anyone had similar issues and know how to fix them?
Thank you in advance for your help.
Best regards
Nils