esp-who icon indicating copy to clipboard operation
esp-who copied to clipboard

How to load a model from an external sd card (AIV-646)

Open Liuyuehuixue opened this issue 1 year ago • 3 comments

Hi, I have a problem, esp-sr can load models from external sd card. https://docs.espressif.com/projects/esp-sr/zh_CN/latest/esp32s3/flash_model/README.html

I got four bin files when compiling speech recognition, and got three bin files when compiling examples such as face recognition. Compared with speech recognition, model.bin is missing, is it merged? May I ask if the example in esp-who can load the model from an external sd card to reduce the flash usage.

Liuyuehuixue avatar Sep 04 '23 09:09 Liuyuehuixue

Hi! Also interested to know if face recognition model can be used from sd card instead of keeping it in flash

PrathamG avatar Nov 07 '23 06:11 PrathamG

Yes, face recognition model can return the face embedding (currently have not supported this API) and then you can save it anywhere.

sun-xiangyu avatar Dec 13 '23 09:12 sun-xiangyu

@sun-xiangyu When will the function of saving and loading face recognition models from SD cards be completed?

Or how can I modify the version of idf4.4 to ensure that the face model saved in flash can be reloaded after restarting. Currently, our project is based on idf4.4, but it may not be possible to migrate to idf5.0 in the short term.

Relate this issue: https://github.com/espressif/esp-who/issues/254

MichaelDu9226 avatar Dec 28 '23 02:12 MichaelDu9226