Question
LSTM analysing onnx model error: TOOL ERROR: list index out of range
- June 30, 2025
- 1 reply
- 217 views
Hi,
I'm trying to test a model(Shallownet+LSTM) on the STM32F4, but the tool fails during analysis:
ST Edge AI Core v2.1.0-20194

TOOL ERROR: list index out of range
I ran the tool with debug enabled: export DEBUG=2
And I observed in the log:
Created input transpose layer: _lstm_LSTM_output_0_forward_in_transpose
Error in execution of pass type(OPT_TRANSPOSE_LSTM) id(80)
The model and code are included in the attachment.
How can I fix the issue ?
Thanks,
Joker_Han
