-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[Support]: Addition of Verisilicon TPU to Frigate - working PoC ; how to incorporate - [Diff included] #5890
Comments
If suggest looking at the 0.12 code (dev branch) which has many examples of how to setup the detectors |
Thanks, is there a small write-up on how to select different detectors on 0.12? OpenVino etc etc.. just trying to understand how the config.yml tags get to the python code and select the appropriate NPU For Coral
|
There is no write up, just the code. You can see that logic here: https://github.com/blakeblackshear/frigate/blob/dev/frigate/detectors/detector_types.py where each of the detector types gets added if it is found in the config You can see an implementation of a detector here: https://github.com/blakeblackshear/frigate/blob/dev/frigate/detectors/plugins/edgetpu_tfl.py |
Thanks again.. excuse my ignorance :D (python is not my thing usually) .. the plan is to copy the Coral one and make a new plugin... was just trying to see how thigs tied together |
I'd suggest just doing a draft PR, it'll be easier to put pointers there. |
I grabbed the DEV branch... and it seems to fail running the ov-converter on my deb11 ARM
|
Yeah, it needs to be built in qemu since it's only amd64. If you're not working on the ov detector I'd suggest just commenting out the ov-converter steps |
Next error :( Got past it by commenting out the platform amd64 bit in the Dockerfile
|
Done.. will raise a PR
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Describe the problem you are having
https://github.com/blakeblackshear/frigate/compare/v0.11.1...RichardPar:frigate:v0.11.1_DEV_VIM3?expand=1
How to add a new TPU to frigate in a good manner - I have changed the v0.11.1 code to replace the Coral TPU with a Verisilicon one. Its currently working (docker needs --priveledged mode)
What would be a good way to add to Frigate? to add Verisilicon on VIM3 board)
Current Inference time is about 23mSeconds
Version
v0.11.1
Frigate config file
None
Relevant log output
FFprobe output from your camera
Frigate stats
Operating system
Debian
Install method
Docker Compose
Coral version
USB
Network connection
Wired
Camera make and model
None
Any other information that may be helpful
No response
The text was updated successfully, but these errors were encountered: