ValueError: Failed to load delegate from libedgetpu.so.1
See original GitHub issueHey, I’m trying to run classify_image.py
on a Coral USB Accelerator, but it throws the following error.
Traceback (most recent call last):
File "classify_image.py", line 122, in <module>
main()
File "classify_image.py", line 99, in main
interpreter = make_interpreter(args.model)
File "classify_image.py", line 73, in make_interpreter
{'device': device[0]} if device else {})
File "/home/andyxu/.local/lib/python3.6/site-packages/tflite_runtime/interpreter.py", line 164, in load_delegate
library, str(e)))
ValueError: Failed to load delegate from libedgetpu.so.1
Following all the steps verbatim here, I’m able to run in on the Windows 10 cmd. However, when set up everything on the same PC with Ubuntu WSL 2, I get the above error. I’ve tried everything mentioned in #4, and it appears that the libraries have been successfully installed. Any idea what the issue could be?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
Failed to load delegate from libedgetpu.so.1 M.2 Accelerator ...
Issue Type Support Source binary Tensorflow Version 2.9.1 Custom Code No OS Platform and Distribution Debian GNU/Linux 11 (bullseye) Mobile ...
Read more >Failed to load delegate from libedgetpu.so.1 docker container ...
ValueError : Failed to load delegate from libedgetpu.so.1. I checked the connection to the coral, it's ok. I tried looking at the /dev/apex_0 ......
Read more >Coral USB inference not working on Windows 10 (ValueError
The last line, “ValueError: Failed to load delegate from edgetpu.dll” usually means that no Coral USB device could be recognized. (If you unplug ......
Read more >Build Coral for your platform
Failed to load delegate from libedgetpu.so.1link ... Failing to load the delegate is a very general error that can indicate a few issues...
Read more >tf.lite.experimental.load_delegate | TensorFlow v2.11.0
Returns loaded Delegate object. ... ValueError, Delegate failed to load. RuntimeError, If delegate loading is used on unsupported platform.
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 Free
Top 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
@Everthings Humn, I’m actually not sure if libedgetpu would works under WSL 😕 Although it’s possible that your linux user just doesn’t have plugdev access, could you try this?
Then reboot your device and try again.
Ok, good to know. Thanks!