SWA Object Detection

Haoyang Zhang, Ying Wang, Feras Dayoub, Niko Sünderhauf
12/23/2020
40 citations
cs.CV

Official code: hyz-xmaster/swa_object_detection (241 stars, Python, Apache-2.0, last commit 2021-03-22).

Abstract

Do you want to improve 1.0 AP for your object detector without any inference cost and any change to your detector? Let us tell you such a recipe.

Show full abstract

It is surprisingly simple: train your detector for an extra 12 epochs using cyclical learning rates and then average these 12 checkpoints as your final detection model}. This potent recipe is inspired by Stochastic Weights Averaging (SWA), which is proposed in arXiv:1803.05407 for improving generalization in deep neural networks. We found it also very effective in object detection. In this technique report, we systematically investigate the effects of applying SWA to object detection as well as instance segmentation. Through extensive experiments, we discover the aforementioned workable policy of performing SWA in object detection, and we consistently achieve $\sim$1.0 AP improvement over various popular detectors on the challenging COCO benchmark, including Mask RCNN, Faster RCNN, RetinaNet, FCOS, YOLOv3 and VFNet. We hope this work will make more researchers in object detection know this technique and help them train better object detectors. Code is available at: https://github.com/hyz-xmaster/swa_object_detection .

View on arXivView PDF

Code Implementations(1)

Apache-2.0

SWA Object Detection

24126Python, ShellDec 22, 20205 years agoApache-2.0
deep-neural-networksinstance-segmentationmmdetectionmscocoobject-detection

Similar Papers

Cite this paper

@article{zhang2020object,
  title  = {SWA Object Detection},
  author = {Haoyang Zhang and Ying Wang and Feras Dayoub and Niko Sünderhauf},
  year   = {2020},
  eprint = {2012.12645},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.12645}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2012.12645.svg)](https://codeofpaper.com/paper/2012.12645)

Discussion