Train CenterNet models
masterTraining is performed using main.py. Detailed experiment configurations are located in the experiments/ folder.
Key Arguments:
--exp_id: The experiment identifier (matches model names in the model zoo).--batch_size: Total batch size.--master_batch: Batch size for the master GPU (useful if the master GPU has more memory or if you need to adjust for memory constraints).--gpus: Comma-separated list of GPU IDs (e.g.,0,1).--lr: Learning rate. If using fewer than 8 GPUs, scale the learning rate according to the linear learning rate rule.--resume: Resumes training from the latest model with the same--exp_id.
Example (COCO DLA on 2 GPUs):
python main.py ctdet --exp_id coco_dla --batch_size 32 --master_batch 15 --lr 1.25e-4 --gpus 0,1