I’ve got an interesting problem. It goes like this:
Install frigate, decide its awesome and order two coral usb accelerators(used.)
Install one accelerator on my main HA box(NUC,) and my inference speed is around 8.2 ms or so(I’m only testing on one camera at the moment)
Run frigate while tuning cameras, zones, detections, etc.
Wake up the next morning and Home Assistant is unresponsive.
Check hardware and see the light blinking on the coral USB(odd, it was solid when I installed it…)
Power down my HA box, power it back up.
Frigate comes up and says it can’t find the TPU…
Swap the TPU out for my backup, and frigate once again finds my TPU and starts working with it.(I’m now thinking that it’s just bad luck and TPU suffered a hardware failure.)
Fast forward two days, and it happens AGAIN. Same exact symptoms. Only this time I don’t have an extra TPU lying around.
I give up for a day, then decide to do some testing.
I spin up HA supervised on a PI I have lying around(NUC is my main system) and start playing around with the TPU(s) in frigate.
This is when something odd happens, frigate detects the TPU!!!
Here’s the catch. The TPU is only detected when I am using the lower resolution substream that my camera has, and WILL NOT detect using the original higher quality stream that I was originally using on the NUC.
I return to the main system that was running frigate originally and try again, no dice(with the original stream.) I try again with the lower resolution substream, and low and behold THE TPU IS DETECTED!!!
I have no idea what to make of this, other than to think that I somehow overstressed the TPU’s(both apparently?!?!) and damaged them. Has anyone seen partial hardware failures of these things? I am intrigued to be honest.
UPDATE:
I plugged the tpu(dead?!) back into my main system, yet again. I then lowered the resolution on my camera until frigate could find the TPU. (2048 x 1536 did not work, the next lowest resolution 1280 x 960 did) Then without making any other changes I raised the resolution back up to 2048*1536, and to my utter confusion frigate was able to find the TPU. To say that I am confused is an understatement. My testing methodology is typically pretty sound as I do quite a lot of troubleshooting for a living, but this has me utterly and completey baffled.