Closed kirkanshin closed 2 years ago
How are you launching Docker? If you have a device connected to your system you need to provide the container access to your hardware.
That error (failed to load delegate) sounds like your device can't be found.
What if you run lsusb/lspci
inside the container?
See https://coral.ai/docs/notes/build-coral/#troubleshooting
I am launching it with docker-compose. Indeed, the problem was due to no container access to the hardware.
The problem was solved by specifying privileged: true
in docker-compose.yml
When running
python3 detect.py -m yolov5s-int8-224_edgetpu.tflite --bench_image
from the docker, I got the following error