OlafenwaMoses / ImageAI

A python library built to empower developers to build applications and systems with self-contained Computer Vision capabilities
https://www.genxr.co/#products
MIT License
8.56k stars 2.19k forks source link

Multithreading #301

Closed Gytis123 closed 5 years ago

Gytis123 commented 5 years ago

Hello.

Is it possible and how to predict images from multiple threads simultaneously?

Gytis123 commented 5 years ago

Update.

Predict image from multiple threads simultaneously using same model?

acleitao76 commented 5 years ago

Are you getting some error? I didn't try pure multithreaded yet but inside flash Keras pops a error. There is a way to fix it https://github.com/OlafenwaMoses/ImageAI/issues/289 this post has my inquire about the same. Do a google search(I really don't remember the site where I found the answer) on keras multithread and you will see the solution.. .but for this you gonna have to fix the problem at the library. I'm finishing a project and didn't have the time to do it yet

OlafenwaMoses commented 5 years ago

@Gytis123 Kindly refer to #289