Closed RobertFlatt closed 2 years ago
@RobertFlatt please try with edgetpu runtime 13. Edgetpu runtime 14 does not work on Windows.
Works, thank you.
----INFERENCE TIME---- Note: The first inference on Edge TPU is slow because it includes loading the model into Edge TPU memory. 13.2ms 4.4ms 4.3ms 4.3ms 4.3ms -------RESULTS-------- Ara macao (Scarlet Macaw): 0.75781
I faced the same issue for long hours (maybe 2days). I Tried the below method and I got the results as expected.
uninstall Edge TPU runtime.
reboot the laptop.
Try installing a different version of edge tpu.
connect USB accelerator.
follow the further process.
If everything is ok, then LED on the USB accelerator blinks for a second, and the program runs successfully.
This is just painful. Uninstalled previous version, restarted, installed runtime 13, restarted, plugged tpu in, still broken. It is also weird that for some models it does work but is awfully slow. Using an older runtime also means that the model needs to be compiled with that version btw.
Description
dll version:
Looks like https://github.com/google-coral/tflite/issues/46 Except this is Windows 11, is first time install of Edge TPU runtime, and tflite-runtime is 2.5.0.post1
Tried a restart, no change. Any suggestions?
Click to expand!
### Issue Type Support ### Operating System _No response_ ### Coral Device USB Accelerator ### Other Devices _No response_ ### Programming Language Python 3.8 ### Relevant Log Output ```shell C:\Users\Bobf\Documents\kivy\coral\pycoral>python examples/classify_image.py --model test_data/mobile net_v2_1.0_224_inat_bird_quant_edgetpu.tflite --labels test_data/inat_bird_labels.txt --input test_da ta/parrot.jpg Traceback (most recent call last): File "C:\Users\Bobf\AppData\Local\Programs\Python\Python38\lib\site-packages\tflite_runtime\interpreter.py", line 160, in load_delegate delegate = Delegate(library, options) File "C:\Users\Bobf\AppData\Local\Programs\Python\Python38\lib\site-packages\tflite_runtime\interpreter.py", line 119, in __init__ raise ValueError(capture.message) ValueError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "examples/classify_image.py", line 121, in