roflcoopter / viseron

Self-hosted, local only NVR and AI Computer Vision software. With features such as object detection, motion detection, face recognition and more, it gives you the power to keep an eye on your home, office or any other place you want to monitor.
MIT License
1.77k stars 180 forks source link

Dual Edge TPU support? #746

Open cdmichaelb opened 6 months ago

cdmichaelb commented 6 months ago

Oh so you got dual EdgeTPUs? I will need to do some tweaking to get that to work. At the moment you could use one TPU for object detection and one for image classification, but not two for image classification only.

Originally posted by @roflcoopter in https://github.com/roflcoopter/viseron/issues/312#issuecomment-1335454872

I was wondering if you ever implemented this, and if so does it support any number of tpus or just edge/dual edge? (for example could I use two dual edge)

(sorry about the new thread, but I also didn't want to bump the old thread)

roflcoopter commented 6 months ago

No sadly i never got around to it :(

If you its something you think will be usefull for you i can take a look and see how much work it is. If its fairly simple i might be able to squeeze it in before releasing 3.0.0

cdmichaelb commented 6 months ago

It would be nice if you could, I was originally asking to decide if I would buy one dual tpu coral, or two. Then I ended up actually buying the second one. I could still return it though if you decide it's too much work to implement.