Examples · references/detection
Object detection reference training scripts
This folder contains reference training scripts for object detection.
They serve as a log of how to train specific models, to provide baseline
training and evaluation scripts to quickly bootstrap research.
To execute the example commands below you must install the following:
cython
pycocotools
matplotlibYou must modify the following flags:
--data-path=/path/to/coco/dataset
--nproc_per_node=<number_of_gpus_available>
Except otherwise noted, all models have been trained on 8x V100 GPUs.
Faster R-CNN ResNet-50 FPN
torchrun --nproc_per_node=8 train.py\
--dataset coco --model fasterrcnn_resnet50_fpn --epochs 26\
--lr-steps 16 22 --aspect-ratio-group-factor ResNet50_Weights.IMAGENET1K_V1