Failed to load delegate from libedgetpu.so.1 & Inappropriate ioctl for device with M.2 Accelerator A+E key #152
Labels
comp:model
Model related isssues
Hardware:M.2 Accelerator A+E
Coral M.2 Accelerator A+E key issues
subtype:ubuntu/linux
Ubuntu/Linux Build/installation issues
type:bug
Bug
type:performance
Performance issues
Description
I'm using the M.2 Accelerator A + E to do some PoC.
Currently I open the Kernel Config to build the necessary kernel module (coral tpu driver) and follow the official example to verify. I can see /dev/apex_0 after I insmod gaket & apex, but when I run the example
python3 examples/classify_image.py --model test_data/mobilenet_v2_1.0_224_inat_bird_quant_edgetpu.tflite --labels test_data/inat_bird_labels.txt --input test_data/parrot.jpg
in the container (debian:10) it shows this error and also Inappropriate ioctl for device error.The error also appear in Frigate NVR. It's weird that it shows no TPU device was detected, but there's /dev/apex_0 and also libedgetpu.so.1.0 under /usr/lib/aarch-linux-gnu directory.
What do I need to do for fixing it?
Thanks.
reference
[1] https://coral.ai/docs/m2/get-started/#requirements
[2] https://coral.ai/docs/notes/build-coral/#required-components
[3] https://coral.googlesource.com/linux-imx/+/refs/heads/dkms/drivers/staging/gasket/
[4] https://github.com/google-coral/libedgetpu#building
Click to expand!
Issue Type
Bug
Operating System
Linux
Coral Device
M.2 Accelerator A+E
Other Devices
No response
Programming Language
Python 3.7
Relevant Log Output
The text was updated successfully, but these errors were encountered: