Tag: coral

Using Google Coral in MacOS 10.13.5

Google announced that Coral TPU is now support Mac OS!

Unfortunately, there are several limitations. The official TF lite distribution only supports Mac OS >10.14.

However, the .whl file is just .zip file. so, Download the .whl with proper Python version, unzip and copy them to dist-packages folder just works.

After install edgetpu runtime file, the dylib path modification is required.

install_name_tool -change /opt/local/lib/libusb-1.0.0.dylib /usr/local/lib/libusb-1.0.0.dylib /usr/local/lib/libedgetpu.1.dylib

Also, the latest libusb-1.0.0 should be installed. Below error means libusb is too old to support USB 3.0. Just remove old libusb and install it with homebrew.

Incompatible library version: libedgetpu requires version 3.0.0 or later, but libusb-1.0.0.dylib provides version 2.0.0

Than Works like charm!

It’s really beneficial to test the TFlite model with edge TPU in development system.