It is a modified version of the TensorFlow Lite for Microcontrollers for use with Himax-AIoT-NB-G1 Boards. Each example in the package has been tested in Ubuntu 20.04 LTS environment.
Following examples are included :
- person detection INT8 example
-
Make Tool version
A
make
tool is required for deploying Tensorflow Lite Micro applications, See Check make tool version section for proper environment. -
Development Toolkit
Install the toolkits listed below:
-
GNU Development Toolkit
See ARC GNU Tool Chain section for more detail, current released GNU version is GNU Toolchain for ARC Processors, 2020.09. After download and extract toolkit to local space, please remember to add it to environment PATH. For example:
export PATH=[location of your ARC_GNU_ROOT]/bin:$PATH
-
-
curl command
Installing curl for Ubuntu Linux.
sudo apt update sudo apt upgrade sudo apt install curl
-
Serial Terminal Emulation Application
There are 2 main purposes for HIMAX WE1 EVB Debug UART port, print application output and burn application to flash by using xmodem send application binary.
The example project for Himax-AIoT-NB-G1 EVB platform can be generated with following command:
Download related third party data and model setting (only need to download once)
make download
Default building toolchain in makefile is Metaware Development toolkit, if you are trying to build example with GNU toolkit. please change the ARC_TOOLCHAIN
define in Makefile
like this
ARC_TOOLCHAIN ?= gnu
Build person detection INT8 example and flash image, flash image name will be WEI_FW_gnu_arcem9d_wei_r16.img
make clean
make
make flash
After flash image generated, please download the flash image file to Himax AIoT Platform by GUI Tool, details are described here