No EdgeTPU detected - I installed in Google Board and have this error
See original GitHub issueDescribe the bug frigate.edgetpu INFO : No EdgeTPU detected.
Version of frigate 0.9
Config file Include your full config file wrapped in triple back ticks.
mqtt:
host: broker.mqttdashboard.com
cameras:
Xuong:
ffmpeg:
inputs:
- path: rtsp://admin:133@192.168.1.36:554/cam/realmonitor?channel=5&subtype=1
roles:
- detect
width: 704
height: 576
fps: 15
snapshots:
enabled: True
bounding_box: True
SX:
ffmpeg:
inputs:
- path: rtsp://admin:123@192.168.1.36:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
width: 704
height: 576
fps: 15
snapshots:
enabled: True
bounding_box: True
detectors:
coral:
type: edgetpu
Frigate container logs
frigate.edgetpu INFO : No EdgeTPU detected.
Process detector:coral:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/tflite_runtime/interpreter.py", line 152, in load_delegate
delegate = Delegate(library, options)
File "/usr/local/lib/python3.8/dist-packages/tflite_runtime/interpreter.py", line 111, in __init__
raise ValueError(capture.message)
ValueError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/opt/frigate/frigate/edgetpu.py", line 124, in run_detector
object_detector = LocalObjectDetector(tf_device=tf_device, num_threads=num_threads)
File "/opt/frigate/frigate/edgetpu.py", line 63, in __init__
edge_tpu_delegate = load_delegate('libedgetpu.so.1.0', device_config)
File "/usr/local/lib/python3.8/dist-packages/tflite_runtime/interpreter.py", line 154, in load_delegate
raise ValueError('Failed to load delegate from {}\n{}'.format(
ValueError: Failed to load delegate from libedgetpu.so.1.0
Frigate stats
Output from frigate's /api/stats endpoint
FFprobe from your camera
Run the following command and paste output below
ffprobe <stream_url>
Screenshots If applicable, add screenshots to help explain your problem.
Computer Hardware
- OS: Mendel
- Install method: Docker Command
- Virtualization:
- Coral Version: Coral Board
- Network Setup: Wired
Camera Info:
- Manufacturer: Dahua
- Model: IPC-HDW5231R-ZE
- Resolution: 706
- FPS: 15
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Google Coral Edge TPU: RuntimeError - Super User
I have met the first error "RuntimeError: Failed to allocate tensors" when I run the classify_image in coral dev board. The problem I...
Read more >Coral Dev Board - edgetpu_demo: command not found
The edgetpu_demo command does not work because the Edge TPU API is deprecated. The Get started with the Dev Board guide is out...
Read more >Google Coral Edge TPU Incompatible with Raspbian Buster
People always get variations of the "No module found" errors. Raspbian Buster comes with 2.7/3.7. So far I can only get the Coral...
Read more >Run inference on the Edge TPU with Python - Coral.ai
To get started, all you need to do is the following: Install the PyCoral API. On Linux, you can install it with a...
Read more >install.sh - edgetpu - Git at Google
you may not use this file except in compliance with the License. ... warn "Looks like you're using a Coral Dev Board. ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Updated It worked by this way https://github.com/blakeblackshear/frigate/issues/1434#issuecomment-886249488 cmd
docker run -d --name frigate --restart=unless-stopped --mount type=tmpfs,target=/tmp/cache,tmpfs-size=1000000000 --device /dev/apex_0:/dev/apex_0 -v /home/coral/fr:/frigate:ro -v /home/mendel/fr/config.yml:/config/config.yml:ro -v /etc/localtime:/etc/localtime:ro -p 5000:5000 -p 1935:1935 blakeblackshear/frigate:stable-aarch64
config yml
still trying to increase memory on the coral-dev board.
maybe memory limit on the dev-board is causing nginx-error ?? hoping to catch this without the help of others… but as a blind-man in the dark:
this works: