Skip to content
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

Is it possible to run more then one TFLite models at the same time on a Flutter App #210

Open
chaoyifei opened this issue Apr 17, 2024 · 1 comment

Comments

@chaoyifei
Copy link

is there any way to use yolov5 and osnet tflite models at same time?

@DevNim98
Copy link

DevNim98 commented Apr 19, 2024

Yes it is totally posible, you just need to instantiate two interpreters, each one with their respective model. Then parse the output of each one according to their output tensor. The only thing that may prohibit you of using more than one model, is the available RAM on your device, since allocating the model and the output result requires a specific amount of memory. Also you should try to create the interpreters on different isolates for better perfomance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants