Running multiple models on C++ SDK

I’m trying to run both a speech and image classification model on the Edge Impulse C++ SDK.
I found a similar topic describing a possible solution/workaround:
Running multiple (two) Edge impulse model simultaneously in a single device

I could run both models in parallel with eachother, but how do I tell the SDK wich model to use?
Do I export both models and keep their file structures intact (using two SDK instances), or can I merge the tflite-models and model-parameters into one folder (using one SDK instance)?

Hello @RobbeTh-PXL,

No you won’t be able to merge the tflite-models and the model-parameters into one folder. You’ll need to compile both projects separately and call the models separately in a wrapper application (eventually on different thread if you need to run them at the same time).



1 Like