Bayesian Loss for Crowd Count Estimation with Point Supervision

Zhiheng Ma, Xing Wei, Xiaopeng Hong, Yihong Gong
8/10/2019
cs.CV

Official code: zhiheng-ma/Bayesian-Crowd-Counting (344 stars, last commit 2023-07-04).

Abstract

In crowd counting datasets, each person is annotated by a point, which is usually the center of the head. And the task is to estimate the total count in a crowd scene. Most of the state-of-the-art methods are based on density map estimation, which convert the sparse point annotations into a "ground truth" density map through a Gaussian kernel, and then use it as the learning target to train a density map estimator. However, such a "ground-truth" density map is imperfect due to occlusions, perspective effects, variations in object shapes, etc. On the contrary, we propose \emph{Bayesian loss}, a novel loss function which constructs a density contribution probability model from the point annotations. Instead of constraining the value at every pixel in the density map, the proposed training loss adopts a more reliable supervision on the count expectation at each annotated point. Without bells and whistles, the loss function makes substantial improvements over the baseline loss on all tested datasets. Moreover, our proposed loss function equipped with a standard backbone network, without using any external detectors or multi-scale architectures, plays favourably against the state of the arts. Our method outperforms previous best approaches by a large margin on the latest and largest UCF-QNRF dataset. The source code is available at \url{https://github.com/ZhihengCV/Baysian-Crowd-Counting}.

View on arXivView PDF

Code Implementations(1)

Official Implement of ICCV 2019 oral paper Bayesian Loss for Crowd Count Estimation with Point Supervision

34481PythonJul 26, 20193 years ago

Cite this paper

@article{ma2019bayesian,
  title  = {Bayesian Loss for Crowd Count Estimation with Point Supervision},
  author = {Zhiheng Ma and Xing Wei and Xiaopeng Hong and Yihong Gong},
  year   = {2019},
  eprint = {1908.03684},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1908.03684}
}

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/1908.03684.svg)](https://codeofpaper.com/paper/1908.03684)

Discussion