cancel
Showing results for 
Search instead for 
Did you mean: 

(STM32CubeMX & Neural-ART ) atonbuf AXISRAM5 raw files

Unfgr
Associate II

Hello,

I'm trying to run a ML model (miniresnet from modelzoo) to a NUCLEO-N627X0-Q starting from STM32CubeMX (initialization of device, model & code generation). Everything is OK when i select STM32Cube.AI MCU runtime, the model is created and runs smoothly, however, when i select STM32Cube.AI Neural-ART runtime (with n6-noextmem profile since i have various problems with external flash and the model is small enough to fit in SRAM) the code is generated fine, but an extra .raw file ([modelname]_atonbuf.AXISRAM5.raw) is created.

I noticed the the compiled .bin file  (In STM32CubeIDE) is rather small (~62Kb) so i am pretty confident that it does not contain the full model (~122kb). I suspect that somehow i have to load this raw file to memory for the NPU to read.

When i run the model through NPU the output is constantly zero (uninitialized or zeroed weights maybe?).

I am using the nucleo in n DEV_BOOT Mode, do i need to load the raw file to memory manually? is there any guides or instruction on how to do it?

I am attaching the memory-pools setup and the NN analyze results for the model i use

 

Thanks

0 REPLIES 0