Skip to content
Branch: master
Find file History

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
images
models
README.md
benchmark.py
benchmark_edgetpu.py
benchmark_jetson.py
benchmark_tflite.py Add code for Chapter 15 Nov 3, 2019
benchmark_tflite_8bit.py
tftrt_helper.py

README.md

Code for Chapter 15 — Becoming a Maker: Exploring Embedded AI at the Edge

Guest author Sam Sterckval brings deep learning to low-power devices as he showcases a range of AI-capable edge devices with varying processing power and cost including Raspberry Pi, NVIDIA Jetson Nano, Google Coral, Intel Movidius, PYNQ-Z2 FPGA, opening the doors for robotics and maker projects.

Code

Go through the code in the following order:

  1. benchmark.py: This script will make a prediction on the cat.jpg file 250 times and measure how long it takes to run.
  2. benchmark_tflite.py: This script will make a prediction on the cat.jpg file 250 times using a TensorFlow Lite model and measure how long it takes to run.
  3. benchmark_edgetpu.py: This script can make a prediction on the cat.jpg file 250 times on a Raspberry Pi and measure how long it takes to run.
  4. benchmark_jetson.py: This script can make a prediction on the cat.jpg file 250 times on a Jetson Nano and measure how long it takes to run.
You can’t perform that action at this time.