Predict Tool
The tools/predict.py tool provided by the algorithm package serves as the core entry point for model inference.
It supports single-GPU/multi-GPU and single-node/multi-node inference modes, and is compatible with
the configuration and execution of different inference phases (e.g., floating-point inference, quantized model inference,
fixed-point model inference). Flexible control over the entire inference pipeline can be achieved via concise command-line arguments.
Usage
Run tools/predict.py, which supports specifying the core training configuration through command-line parameters, and can also complete the definition of the refined training process by combining with the config file.
Parameters Introduction
Usgae Example
Taking resnet50_imagenet as an example, to launch multi-GPU quantized model inference, For a detailed introduction to the configuration file, please refer to the [Configuration] section [config configuration] (../config/keywords).
For a detailed introduction to the configuration file, please refer to the [Configuration] section [config configuration] (../config/keywords).
