Hello,
I have a question regarding the Nicla Vision Application Budget and the estimated RAM/ROM usage of an Edge Impulse model. What is the true remaining budget for an Edge Impulse model, exported as Arduino library, for Nicla Vision? In practice I have never been able to compile the camera example using an image classification model that uses > 500KB flash, even though the EON Tuner says it does not exceed the budget
In platformio the maximum sizes are defined as:
511.4 KB RAM, 768 KB Flash
I assume the rest is reserved for mbed os etc? Is it any use to mess with custom board configurations?
Hi, @twresearch
The estimation from the Studio is for the model only, it does not take into account the SDK or application code.
The best way you can check how much memory do these parts of the code (SDK + application) occupy is to subtract the model size from the final binary size (you can see it at the end of compilation process in Arduino IDE if you enabled verbose output for compilation).
This number should be the same for the same type of the models with the same optimization. Changing the model type (e.g. object detection to keyword spotting), might affect both your application code size (you have different sensor after all) and the SDK size (different signal pre-processing would require different code to be included), although I image the difference would not be too drastic.