Skip to main content
Associate
January 22, 2025
Question

Problem:ST Edge AI Core TOOL ERROR: list index out of range

  • January 22, 2025
  • 1 reply
  • 689 views

Hello!

I'm getting the error: 'TOOL ERROR: list index out of range' when I analyze an ONNX model using STM32CubeAI or ST Edge AI Developer Cloud. The model was generated in Pytorch, and the MCU was STM32H753VIT6. I'd like to know if anyone has had this problem and how it was resolved?

I would appreciate it if anyone could help to figure out what could be the problem. I attach my model below in case someone can help me. Thanks in advance. Regards!

1 reply

Julian E.
Technical Moderator
January 23, 2025

Hello @XBao ,

 

I think the issue comes from the step > 1 in your slices

JulianE_0-1737640672719.png

 

It seems that it is not supported. Could you try to set all step to 1 for all your slices?

 

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.
XBaoAuthor
Associate
February 7, 2025

Thanks for your help,Julian. I have solved this problem, but I have a new problem: NOT IMPLEMENTED: ReduceSum with operands type (SIGNED, 32 bit, C Size: 32 bits) is not supported. I have tried to convert the float32 data to float16, but it is not supported (TOOL ERROR: Unsupported elem type FLOAT16 for tensor Cast_1_output_0). The model was attached below.
Could you tell me how to solve it? Thanks in advance. Regards!