Training Tool
The train.py tool provided by the algorithm package serves as the core entry point for model training. It supports single-GPU/multi-GPU and single-node/multi-node training modes, while being compatible with the configuration and execution of different training phases (e.g., floating-point training, quantization calibration, quantization-aware training). Flexible control over the entire training pipeline can be achieved via concise command-line arguments.
Usage
The basic command format for initiating model training is as follows. It supports specification of core training configurations via command-line arguments, as well as refined definition of the training pipeline in conjunction with a config file.
Parameters Introduction
Usgae Example
Taking resnet50_imagenet as an example, to launch multi-GPU quantization-aware training:
For a detailed introduction to the configuration file, please refer to the [Configuration] section [config configuration] (../config/keywords).
