Skip to content

Loading kmodel on MaixPy crashing device #63

@THuffam

Description

@THuffam

Hi
When loading a kmodel file - either from SD or flash the device (MaixPy Bit - new version with mic) crashes (
disconnects from IDE and LCD goes blank). This is at line:
task = kpu.load(0x300000)

The kmodel was generated using axelerate running on Google Colab.
This was using firmware: maixpy_v0.6.2_78_g469c985e6_openmv_kmodel_v4_with_ide_support.bin

When I try without the IDE (firmware: maixpy_v0.6.2_78_g469c985e6_minimum_with_kmodel_v4_support.bin) , using the VS Code console and run the code line by line it shows the error (on kpu.load):
E (77045384089) SYSCALL: Out of memory

I am using the code from raccoon_detector.py and using my kmodel file.

My kmodel file is 1871kb in size. How to work around this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions