I got my coral the other day and I have been trying to run it via an powered usb hub and a extenstion cord to get it away from the Yellow since it apparantly gets intereference from it.
Currently, Frigate finds the TPU!
[2023-04-01 16:07:55] frigate.edgetpu INFO : TPU found
For that to work I need to run the “Frigate (Full Access)” and have “Protection Mode” turned off.
BUT, I am getting other crashes sadly:
[2023-04-01 16:14:04] frigate.edgetpu INFO : TPU found
F driver/usb/usb_driver.cc:857] transfer on tag 2 failed. Abort. Deadline exceeded: USB transfer error 2 [LibUsbDataOutCallback]
Fatal Python error: Aborted
Thread 0x0000007f577fe1e0 (most recent call first):
File “/usr/lib/python3.9/threading.py”, line 312 in wait
File “/usr/lib/python3.9/multiprocessing/queues.py”, line 233 in _feed
File “/usr/lib/python3.9/threading.py”, line 892 in run
File “/usr/lib/python3.9/threading.py”, line 954 in _bootstrap_inner
File “/usr/lib/python3.9/threading.py”, line 912 in _bootstrap
Thread 0x0000007f72ffd1e0 (most recent call first):
File “/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py”, line 833 in invoke
File “/opt/frigate/frigate/edgetpu.py”, line 83 in detect_raw
File “/opt/frigate/frigate/edgetpu.py”, line 159 in run_detector
File “/usr/lib/python3.9/multiprocessing/process.py”, line 108 in run
File “/usr/lib/python3.9/multiprocessing/process.py”, line 315 in _bootstrap
File “/usr/lib/python3.9/multiprocessing/popen_fork.py”, line 71 in _launch
File “/usr/lib/python3.9/multiprocessing/popen_fork.py”, line 19 in init
File “/usr/lib/python3.9/multiprocessing/context.py”, line 277 in _Popen
File “/usr/lib/python3.9/multiprocessing/context.py”, line 224 in _Popen
File “/usr/lib/python3.9/multiprocessing/process.py”, line 121 in start
File “/opt/frigate/frigate/edgetpu.py”, line 220 in start_or_restart
File “/opt/frigate/frigate/watchdog.py”, line 34 in run
File “/usr/lib/python3.9/threading.py”, line 954 in _bootstrap_inner
File “/usr/lib/python3.9/threading.py”, line 912 in _bootstrap
[2023-04-01 16:14:21] frigate.watchdog INFO : Detection appears to be stuck. Restarting detection process…
[2023-04-01 16:14:21] detector.coral INFO : Starting detection process: 471
[2023-04-01 16:14:21] frigate.edgetpu INFO : Attempting to load TPU as usb
[2023-04-01 16:14:24] frigate.edgetpu INFO : TPU found
Will see where I end up with this.