Configuration File Description

In the instructions below, the Post-Training Optimization Tool directory <INSTALL_DIR>/deployment_tools/tools/post_training_optimization_toolkit is referred to as <POT_DIR>. <INSTALL_DIR> is the directory where Intel® Distribution of OpenVINO™ toolkit is installed.

The toolkit is designed to work with the configuration file where all the parameters required for the optimization are specified. These parameters are organized as a dictionary and stored in a JSON file. JSON file allows using comments that are supported by the jstyleson Python* package. Logically all parameters are divided into three groups:

Model Parameters

This section contains only three parameters:

Engine Parameters

There are two engine types in Post-Training Optimization Tool.

Compression Parameters

This section defines optimization algorithms and their parameters. For more details about parameters of the concrete optimization algorithm, please refer to the corresponding documentation.

Examples of the Configuration File

For a quick start, several examples of configuration files for popular DL models are provided. The configuration files located in the <POT_DIR>/configs/examples folder. For details on how to run the Post-Training Optimization Tool with a sample configuration file, see the instructions.