robmarkcole / coral-pi-rest-server

Perform inferencing of tensorflow-lite models on an RPi with acceleration from Coral USB stick
https://coral.ai/products/accelerator
MIT License
67 stars 20 forks source link

Buster is bust #13

Closed robmarkcole closed 4 years ago

robmarkcole commented 4 years ago

As title, appears the coral build scripts haven't been updated for Buster yet. Track progress here. My error:

pi@tpu-pi:/usr/local/lib/python3.7/dist-packages/edgetpu/demo $ python3 classify_image.py \
> --model ~/Downloads/mobilenet_v2_1.0_224_inat_bird_quant_edgetpu.tflite \
> --label ~/Downloads/inat_bird_labels.txt \
> --image ~/Downloads/parrot.jpg
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/edgetpu/swig/edgetpu_cpp_wrapper.py", line 18, in swig_import_helper
    fp, pathname, description = imp.find_module('_edgetpu_cpp_wrapper', [dirname(__file__)])
  File "/usr/lib/python3.7/imp.py", line 296, in find_module
    raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named '_edgetpu_cpp_wrapper'
robmarkcole commented 4 years ago

Got a reply from google

` Hello Robin,

Thank you for your interest in Coral. Our team is actively working to fix the compatibility issue between the latest Raspbian and the USB Accelerator, in the meantime please check out this for a temporary fix:

Thanks Coral Support Team `

robmarkcole commented 4 years ago

There are now disk images at https://github.com/google-coral/edgetpu-platforms#prebuilt-images-for-raspberry-pis

robmarkcole commented 4 years ago

I confirm the google disk image with Buster is functional