-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation/example when using large model that overflows flash memory (TFMIC-39) #96
Comments
Hi @kirianguiller the model data pointer can be passed to
|
Thank you, I will try the options 2a and 2b and will report back my research |
I did as you said in 2b :
Here is how I proceeded: I changed the
And I got sure that the model data was assigned as a constant. Otherwise the model will not go to PSRAM (when I converted the .tflite to .cc with Thanks! I can close the issue as everything works (other than the fact that the model I use itself, Yamnet, has some layers that are not supported by TFLM) |
Checklist
Issue or Suggestion Description
Hello,
I'm trying to use an esp32-S3 to do sound classifiaction.
My issue is that the tflite model is 4MB big and it overflows the flash memory of my microcontroller.
I have the .tflite model that I converted to .cc file using xdd.
I have checked all issues (the issuer of this issue achieve such behavior) and searched through the documentation (here the official espressif doc for external ram) to try to understand how I should store and load the model (storing it in spiffs ? And loading it in PSRAM ?), but I don't succeed to make the changes to one of the three esp-tflite-micro examples to make a working solution.
Does someone has such a working example that I could take inspiration from? Or is there somewhere a more expressive documentation that would help me?
Thanks in advance!
The text was updated successfully, but these errors were encountered: