Skip to content

ARM NN

Hikey960

Installation

Running and profiling Arm NN on the Hikey960

NB: while they used Ubuntu image for Hikey960, we are installing Arm NN with customized Debian image. Although haven't tested yet, their image may support HDMI that is not supported with our image. If needed, we can switch to Ubuntu for graphics.

# install flatbuffers if you don't have
$ git clone https://github.com/google/flatbuffers.git
$ cd flatbuffers
$ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
$ make
$ sudo make install

# install Arm NN
$ git clone https://github.com/ARM-software/Tool-Solutions.git 
$ cd Tool-Solutions/ml-tool-examples/build-armnn/
$ ./build-armnn.sh

NB: consider available memory size. When out of memory, building would be failed.

MNIST Demo

It loads TensorFlow NN trained for MNIST and runs ARM Compute Library (?)