Skip to content

Version 2.5.2 Portenta memory Split consecutive heap size too small #336

@hpssjellis

Description

@hpssjellis

@facchinm when we use M7:M4 core split 75:25 or 100:0 the consecutive memory in the heap is too small to load a larger machine learning model. Is this something being worked on or is it a finite limit?

See edge impulse forum discussion here it is a good read.

On the positive side I got a Grayscale OLED working with a 96x96 ML model, using the 320x240 Portenta camera using the regular M7 50:50 M4 github here

The following model simply detects other microcontrollers the LED goes blue when it "sees" a microcontroller and green when it doesn't

image

The only other issue is that when I try a 320x320 camera with the above ML model it also crashes even on the M7 100:0 M4. I assume it is the camera frameBuffer same consecutive heap memory issue as the above. Any suggestions for these heap issues?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions