How can I run multiple TFLM models on an Spresense board?
-
I'd like to run more than one TFLM models - one for person detection and another for audio classification - on the Spresense board. How can I run these models simultaneously ?
-
Hi @jayaprasadtj,
You can try to initialize the 2 TFLM Runtime modules.
It would look like this:
ret = tflm_runtime_initialize(&rt1, network1, TFLM_TENSOR_ARENA_SIZE1); ret = tflm_runtime_initialize(&rt2, network2, TFLM_TENSOR_ARENA_SIZE2);
I'm not sure if this will work.
See https://github.com/sonydevworld/spresense/blob/master/examples/tflmrt_lenet/tflmrt_lenet_main.c#L283
Best Regards,
Kamil Tomaszewski