nncu_tool icon indicating copy to clipboard operation
nncu_tool copied to clipboard

MFN demo

Open zhangbchao1987 opened this issue 4 years ago • 1 comments

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.

zhangbchao1987 avatar Apr 26 '20 02:04 zhangbchao1987

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.

RockySong avatar Aug 18 '20 07:08 RockySong