2025-01-22 12:55 AM - edited 2025-01-22 01:01 AM
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!
2025-01-23 05:58 AM
Hello @XBao ,
I think the issue comes from the step > 1 in your slices
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
2025-02-06 06:28 PM
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!