nncu_tool
nncu_tool copied to clipboard
MFN demo
Hi, RockySong,
I'm using NXP i.MXRT1050 EVB to study how to use nncu and cmsis-nn. Now I have tried some nncu mcu demos and run them sucessfully. But MFN demo is not correctly and stop at function "CI_RunModelXIP_NoCopyOutput(pvModel, pImg + 8, (void**)&g_out)". I noticed that if model is very large, we need to enlarge the heap size. Now I've give this parameter like this " #define Heap_Size (640961024)" . But it still doesn't work. Have you tried this demo before? And how large of this parameter will satisfy? Or is there other possibilty for this problem? Thank you for your help.
https://github.com/RockySong/micropython-rocky/tree/mfn_demo Here is the mfn demo with face detection from openmv. It should not require so much heap.