cancel
Showing results for 
Search instead for 
Did you mean: 

INTERNAL ERROR: Inconsistent in/out tensor shapes

ahmedbing
Associate

Hello, I tried to convert my model using STM32Cube.AI Developer Cloud and on my pc STM32Cube AI at CubeMx. However, I got following error from stm32ai. Then I debug model with netron and realize that sizes are not matching with stm32ai library. How can i solve that issue? 

The layer image is 

ahmedbing_0-1710769465445.png

 

And output from STM32Cube.AI Developer:

>>> stm32ai analyze --model nanodet.onnx --allocate-inputs --allocate-outputs --compression none --optimization balanced --series stm32f4 --target stm32f4 --name network --workspace workspace --output output
Neural Network Tools for STM32 family v1.7.0 (stm.ai v8.1.0-19520)
INTERNAL ERROR: Inconsistent in/out tensor shapes in _head_Reshape_output_0_to_chlast_output: ['H: 32', 'W: 52', 'CH: 52'] and ['H: 33', 'CH: 2622'].

 

0 REPLIES 0