跳至主要内容

Google Coral Latest Updates: Edge TPU runtime now available for Mac and Windows

Google released an update for the Edge TPU runtime and compiler with various bug fixes.
The big news is that the Edge TPU runtime and the Python libraries are now available for Mac and Windows!
This means you can now use the Coral USB Accelerator when connected to any computer running either Debian Linux, macOS, or Windows 10.
If you want to use Mac or Windows with the USB Accelerator, follow our updated guide to get started with the USB Accelerator.
If you want to update your existing Linux computer or Dev Board with the latest tools, simply update your Debian packages as follows:
  1. sudo apt-get update
  2.  
  3. sudo apt-get install edgetpu python3-edgetpu
And if you're using the TensorFlow Lite API, you must also update the tflite_runtime module, as per the TensorFlow Lite Python quickstart. For example, here's how to update TensorFlow Lite on the Coral Dev Board:
  1. pip3 install https://dl.google.com/coral/python/tflite_runtime-2.1.0-cp37-cp37m-linux_aarch64.whl
Updates in this release
  • Edge TPU runtime is now v13
  • Edge TPU compiler is now 2.0.291256449
  • Edge TPU Python library (edgetpu module) is 2.13.0
  • TensorFlow Lite runtime (tflite_runtime module) is now based on TF 2.1
If you update the Edge TPU runtime, then you must update either the edgetpu or tflite_runtime module, depending on which API you use to run inferences.
BTW, Google Coral distributor Gravitylink: all Coral products are available online at Gravitylink Store.

评论

此博客中的热门博文

10 questions you should know about Google Edge TPU

1. What is the Edge TPU? The Edge TPU is a small ASIC designed by Google that provides high performance ML inferencing for low-power devices. For example, it can execute state-of-the-art mobile vision models such as MobileNet V2 at almost 400 FPS, in a power efficient manner. Google offers multiple products that include the Edge TPU built-in. Two Edge TPU chips on the head of a US penny 2. What machine learning frameworks does the Edge TPU support? TensorFlow Lite only. 3. What type of neural networks does the Edge TPU support? The first-generation Edge TPU is capable of executing deep feed-forward neural networks (DFF) such as convolutional neural networks (CNN), making it ideal for a variety of vision-based ML applications. 4. How do I create a TensorFlow Lite model for the Edge TPU? You need to convert your model to TensorFlow Lite and it must be quantized using either quantization-aware training (recommended) or full integer post-training quantization. (To create a compatible model...

How to Retrain an object detection model

This tutorial shows you how to retrain an object detection model to recognize a new set of classes. You'll use a technique called transfer learning to retrain an existing model and then compile it to run on an Edge TPU device—you can use the retrained model with either the Coral Dev Board or the Coral USB Accelerator. Specifically, this tutorial shows you how to retrain a MobileNet V1 SSD model (originally trained to detect 90 objects from the COCO dataset) so that it detects two pets: Abyssinian cats and American Bulldogs (from the Oxford-IIIT Pets Dataset). But you can reuse these procedures with your own image dataset, and with a different pre-trained model. The steps below show you how to perform transfer-learning using either last-layers-only or full-model retraining. Most of the steps are the same; just keep an eye out for the different commands depending on the technique you desire. Note: These instructions do not require deep experience with TensorFlow o...

Introducing Google Coral Dev Board

Introducing Google Coral Dev Board (Part 1) Introducing Google Coral Dev Board (Part 2) Introducing Google Coral Dev Board (Part 3) Introducing Google Coral Dev Board (Part 4)