NaN when validating on target
Hi everyone!
I'm trying to validate an ONNX model on my STM32H747I-DISCO board, but I'm running into issues.
I've successfully generated the project and flashed it onto the board. The validation process does run (using random inputs), but the final metrics I'm getting are all NaN.
I'm using the FP32 version of the model (not quantized), and when I run the same validation on desktop, the metrics are almost perfect — so the model itself seems fine.
I've tried enabling the --classifier option, but it didn't make any difference. I also attempted using --no-onnx-io-transpose, but got the following error: stedgeai: error: unrecognized arguments: --no-onnx-io-transpose
Could this be an issue with my model, the CubeIDE project or am I missing something in the X-CUBE-AI configuration ?
I've also noticed that there is a note in the csv file with the inputs:
| # Note: w/o data | number of item by sample is exceeded: 4096 > 512 |
Is this issue compromising the classification ?
Thanks in advance for your help!

