A minimal pytorch implementation of DEtection TRansformer(DETR). Validated on VOC 2012 and VOC 2007 datasets.
Configuration is managed using Hydra, with optional experiment tracking via Weights & Biases (wandb).
Install uv and run
uv sync./download-voc-dataset.shuv run train.py
Changing model
python train.py model=detr-resnet34Resuming from checkpoint
python train.py init_from=logs/<run_name>/detr-resnet50.ptuv run eval.py <checkpoint_file>
To calculate mAP
uv run eval.py <checkpoint_file> --calculate_map



