A custom micropython firmware integrating tensorflow lite for microcontrollers and ulab to implement the tensorflow micro examples.
170
stars
79
forks
source link
Update hello world example to load model file from the file system #8
Closed
mocleiri closed 2 years ago
The hello world example was implemented first. It copies the C++ approach of storing the model in an array.
But that didn't work right for the micro speech example.
Due to how micropython compilation worked instead of taking 20k ram for a 20k model we ran out of memory as it tried to allocate 70 k.
Instead let's put the model on the filesystem and load it from there
Let's also see if the comments can be improved and the readme to serve as a proper introduction.