This repository provides training and evaluation code for MCTR
using MMPTracking and MTMC_NVIDIA datasets.
git clone <repo_address>
make pull # pull submodules
mamba env create -f mcmot39
mamba activate mcmot39
MCTR training is performed in 2 steps:
- First step uses
pairwise_init.yaml
config - Second step uses
pairwise.yaml
We used slurm for training jobs and corresponding scripts are available with the config files.
Evaluation script: scripts/trackeval_mmptrack.py
& scripts/trackeval_trackbox_mmptrack.py
performs the inference using the pretrained checkpoint.
The trackeval_trackbox_mmptrack.py
script uses the bounding box predictions from the trackbox head.
It generates prediction and groundtruth files which are then used by trackeval
library to run the MOT metrics.
Cross camera metrics are output to the stdout when the script completes
The scripts
directory contains other useful sanity checks and visualization scripts that may be helpful for debugging.