6.2. PTQ Conversion Tools Guide

The purpose of this section is to introduce the toolkit of the PTQ model conversion scheme provided by the D-Robotics X5 algorithm toolchain.

Tip

It is recommended that you finish the following preparations before reading this section:

  1. Read Toolchain Overview about the PTQ and PTQ Conversion Principle And Process to understand the PTQ scheme and model conversion steps.

  2. Complete the Docker environment installation and configuration as well as the image pulling according to Docker Container Deployment.

This section introduces the model conversion toolkit for the D-Robotics PTQ scheme. The toolkit can be run on a development PC or in a Docker environment.

If you choose to run the toolkit on your development PC, you should run install.sh under package/host in the horizon_x5_open_explorer installation package to install the toolkit. Once the installation is complete, run hb_mapper --help to verify the installation.

If you choose to run the toolkit in a Docker container, the above installation steps are not required.

Follow Docker Container Deployment to install the toolkit. Enter the Docker container and run hb_mapper --help to verify the installation.

The following sections describe how to use each tool in the toolkit.