O have installed Docker LXC following instructions on this website https://www.homeautomationguy.io/blog/running-frigate-on-proxmox.
I am not sure about mapping through the USB Coral TPU and Hardware Acceleration part. I have added few lines as instructed:
First line is for hardware acceleration, second one is for Coral TPU. But how do I know if this needs to be adjusted for my hardware and USB port? Is there any way to see if Coral TPU is even recognized by my Proxmox server (plugged via USB) and if it has to be 002? I suspect that something is wrong with my configuration as starting Frigate fails and here is what I can see in the log:
I am not sure about mapping through the USB Coral TPU and Hardware Acceleration part. I have added few lines as instructed:
Code:
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file 0, 0
lxc.mount.entry: /dev/bus/usb/002/ dev/bus/usb/002/ none bind,optional,create=dir 0,0
First line is for hardware acceleration, second one is for Coral TPU. But how do I know if this needs to be adjusted for my hardware and USB port? Is there any way to see if Coral TPU is even recognized by my Proxmox server (plugged via USB) and if it has to be 002? I suspect that something is wrong with my configuration as starting Frigate fails and here is what I can see in the log:
2023-10-23 20:45:48.090019684 [2023-10-23 20:45:48] frigate.app INFO : Starting Frigate (0.12.1-367d724)
2023-10-23 20:45:48.105793000 [2023-10-23 20:45:48] peewee_migrate INFO : Starting migrations
2023-10-23 20:45:48.129087759 [2023-10-23 20:45:48] peewee_migrate INFO : There is nothing to migrate
2023-10-23 20:45:48.165061694 [2023-10-23 20:45:48] frigate.app INFO : Output process started: 283
2023-10-23 20:45:48.180081569 [2023-10-23 20:45:48] frigate.app INFO : Camera processor started for FrontCam: 287
2023-10-23 20:45:48.191474542 [2023-10-23 20:45:48] frigate.app INFO : Capture process started for FrontCam: 289
2023-10-23 20:45:56.879212631 [INFO] Starting go2rtc healthcheck service...
2023-10-23 20:46:13.465781662 [2023-10-23 20:45:48] detector.coral INFO : Starting detection process: 282
2023-10-23 20:46:13.465788145 [2023-10-23 20:45:48] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
2023-10-23 20:46:13.465796853 [2023-10-23 20:46:13] frigate.detectors.plugins.edgetpu_tfl ERROR : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
2023-10-23 20:46:13.466039184 Process detector:coral:
2023-10-23 20:46:13.467375827 Traceback (most recent call last):
2023-10-23 20:46:13.467658655 File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
2023-10-23 20:46:13.467662477 delegate = Delegate(library, options)
2023-10-23 20:46:13.467664746 File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in __init__
2023-10-23 20:46:13.467666532 raise ValueError(capture.message)
2023-10-23 20:46:13.467668132 ValueError