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

Add docker container #53

Open
robmarkcole opened this issue Feb 27, 2020 · 3 comments
Open

Add docker container #53

robmarkcole opened this issue Feb 27, 2020 · 3 comments

Comments

@robmarkcole
Copy link
Owner

https://blogs.sap.com/2020/02/11/containerizing-a-tensorflow-lite-edge-tpu-ml-application-with-hardware-access-on-raspbian/

@yayitazale
Copy link

I will love to use this in a docker container to classify birds detected by Frigate.

@sstratoti
Copy link
Contributor

So I'm working on trying to swap my deepstack end points with just using a coral end point.

I've got things working in docker, and if it's a 1-1 camera->coral-deepstack, it works fine. But if I try to connect more than one camera and process more than one image, it gives a 500 error. Which, I think makes sense because I think the script isn't designed to handle more than one request at a time.

Any thoughts on adding multiprocessing or a queue of some sort to the flask configuration? I've been looking into it, but the python is a bit over my head. :/

@robmarkcole
Copy link
Owner Author

An approach like this https://github.com/robmarkcole/ServingMLFastCelery You can also see how deepstack does it

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

3 participants