Benchmarking the Xnor AI2GO Platform on the Raspberry Pi

Headline results from benchmarking

Part I — Benchmarking

A more detailed analysis of the results

Inferencing speeds in milli-seconds for MobileNet SSD V1 (blue) and MobileNet SSD V2 (green) across all platforms, with the new Xnor binary convolution network performance shown for comparison (red). Lower numbers are good!

Some caveats around the results

Detecting fruit on the workbench in our test image (left) 🍌🍎, using TensorFlow (middle), and Xnor (right).


Part II — Methodology

Getting the AI2GO SDK and Model Bundle

Downloading the Xnor SDK
Pick your hardware platform
Select an ‘industry’ rather than a specific machine learning model
Selecting a ‘Kitchen Object Detector’ model.
The pre-tuned model.
Other model options.
Download the model bundle.
$ ls
README.txt xnornet-1.0-cp35-abi3-linux_armv7l.whl

Installing AI2GO on the Raspberry Pi

Everything you need to get started setting up the Raspberry Pi
% ssh pi@raspberrypi.local
$ cd xnor-sdk
$ pip3 install Pillow
$ pip3 install psutil
$ cd ~/kitchen-object-detector-medium-300
$ pip3 install xnornet-1.0-cp35-abi3-linux_armv7l.whl
Processing ./xnornet-1.0-cp35-abi3-linux_armv7l.whl
Installing collected packages: xnornet
Successfully installed xnornet-1.0

The benchmarking code

In closing

Links to previous benchmarks

Links to getting started guides




Scientist, Author, Hacker, Maker, and Journalist.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Beginners Guide for Images in Python

CVPR 2020 Underway, Best Papers Announced

Let’s build a video predictor with TensorFlow + Python!

LinkedIn Study Applies Deep NLP to Improve Search Systems

GeoVec: word embeddings for geosciences

Machine learning: teach fleets to be safer and cheaper to operate

Concise Critical Review of Deep Mind’s Paper — Gato(A Generalist Agent)

Automatic differentiation

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alasdair Allan

Alasdair Allan

Scientist, Author, Hacker, Maker, and Journalist.

More from Medium

Are You Running Ubuntu on Raspberry Pi 4? Here’s How to Boost Performance

Raspberry Pi for Beginners (Mac+PC)

Installing CUDA on headless Ubuntu server

Monitor your 3D printer remotely with a Raspberry Pi