mocleiri / tensorflow-micropython-examples

A custom micropython firmware integrating tensorflow lite for microcontrollers and ulab to implement the tensorflow micro examples.
MIT License
170 stars 79 forks source link

Upgrade Micropython to latest to support version 4.3 esp-idf's #1

Closed mocleiri closed 3 years ago

mocleiri commented 3 years ago

There is work in micropython on the master branch for the esp32 fork to allow it to be used with more modern espressif idf versions than 4.0.1.

See if we can move the miketeachman i2s commit to the tip of master and then adjust the build scripts accordingly to build the esp32 firmware using the new code.

I hope that by upgrading we will get more insight into the watchdog timer issue preventing from loading the microspeech model when running from esp32.

mocleiri commented 3 years ago

Using #3 for this instead.

I fixed the out of memory issue by just reading in the tensorflow model.tflite directly from flash instead of trying to read it in as an array encoded in a micropython file.