mirzak / meta-coral

Yocto/OE-core BSP Layer for Coral Dev Board
MIT License
40 stars 21 forks source link

Edge TPU not detected when using the 4.14 kernel #22

Closed mirzak closed 4 years ago

mirzak commented 4 years ago
root@coral-dev:/usr/share/edgetpu/examples# python3 classify_image.py \
>     --model models/mobilenet_v2_1.0_224_inat_bird_quant_edgetpu.tflite \
>     --label models/inat_bird_labels.txt \
>     --image images/parrot.jpg
Traceback (most recent call last):
  File "classify_image.py", line 67, in <module>
    main()
  File "classify_image.py", line 58, in main
    engine = ClassificationEngine(args.model)
  File "/usr/lib/python3.7/site-packages/edgetpu/classification/engine.py", line 38, in __init__
    super().__init__(model_path)
  File "/usr/lib/python3.7/site-packages/edgetpu/swig/edgetpu_cpp_wrapper.py", line 300, in __init__
    this = _edgetpu_cpp_wrapper.new_BasicEngine(*args)
RuntimeError: No Edge TPU device detected!