Upcoming maintenance
Dear Customers and Partners.
This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.
This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.
We apologize for any inconvenience.
TFLM in ASMP?
-
Hello,
I've been trying to get a model running in ASMP, but the tflite libraries aren't porting. Is there an example of any 3rd parties library usage in ASMP? Is this even possible? I've seen https://developer.sony.com/develop/spresense/docs/sdk_developer_guide_en.html#_asmp_framework, but I'm holding out hope that 3rd party libraries are an option in ASMP.Thanks!
-
Hi @Stanton,
It is possible to run TFLite Micro on subcore. This is already implemented in the SDK:
https://github.com/sonydevworld/spresense/tree/master/sdk/modules/tflmrt/src-mpcommThe solution is based on the MPCOMM module which is built on ASMP.
To run TFLM on subcore you only need to enable
CONFIG_TFLM_RT_MPCOMM
.Another library that uses ASMP is DNNRT: https://github.com/sonydevworld/spresense/tree/master/sdk/modules/dnnrt/src-mpcomm
Best Regards,
Kamil Tomaszewski -
@KamilTomaszewski Thank you!