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

***ERROR*** A stack overflow in task mp_thread has been detected. #80

Open MATTYGILO opened 2 years ago

MATTYGILO commented 2 years ago

I am currently am running 2 threads on the esp32 using https://docs.pycom.io/firmwareapi/micropython/_thread/.

Before I run one of the threads I run _thread.stack_size(...) to allocate more than enough memory for the tflite interpreter.

However when I call:

interpreter = microlite.interpreter(...) which causes this error ***ERROR*** A stack overflow in task mp_thread has been detected.