This document will go over the Hailo CLI (Pythonic CLI).
To use the Hailo CLI you will have to source the SDK virtual environment.
Once inside the SDK virtual environment you will be able to call the
Hailo command in order to get all the supported commands.
At any stage when not sure what are the needed parameters you will be able to add the — help flag to the command and get information about different options and flags for the command you are using.
The CLI commands can be divided into several groups.
$ hailo tb HN
$ hailo visualizer HN
$ hailo profiler HN
$ hailo quantize HAR
$ hailo compiler HAR
$ hailo infer HEF
$ hailo benchmark
$ hailo analyze HAR
$ hailo fw-update
$ hailo fw-config
$ hailo fw-control
$ hailo scan
$ hailo broadcast
$ hailo udp-limiter
$ hailo udp
$ hailo tutorial
The Hailo tb (TensorBoard) is a shortcut to run TensorFlow TensorBoard tool
This tool is used when trying to find a model’s start and end nodes for the parser tool.
When pressing the link above a TensorBoard session will be started.
The Hailo parser – run the parsing CLI in order to parse a model in the supported frameworks (TF, TF2, ONNX) to a Hailo archive (HAR) including the HN file and original weights in NPZ format
Dependent on the original model format more parameters will be required.
For example the TF2 additional needed parameters:
On a successful parsing the output will look as follows:
The Hailo visualier– will take the HN as the input and shows a visualization of the model
And the output will look as follows: