Multi-Scale Attention Network for Crowd Counting
In crowd counting datasets, people appear at different scales, depending on their distance from the camera. To address this issue, we propose a novel multi-branch scale-aware attention network that exploits the hierarchical structure of convolutional neural networks and generates, in a single forward pass, multi-scale density predictions from different layers of the architecture. To aggregate these maps into our final prediction, we present a new soft attention mechanism that learns a set of gating masks. Furthermore, we introduce a scale-aware loss function to regularize the training of different branches and guide them to specialize on a particular scale. As this new training requires annotations for the size of each head, we also propose a simple, yet effective technique to estimate them automatically. Finally, we present an ablation study on each of these components and compare our approach against the literature on 4 crowd counting datasets: UCF-QNRF, ShanghaiTech A & B and UCF_CC_50. Our approach achieves state-of-the-art on all them with a remarkable improvement on UCF-QNRF (+25% reduction in error).
Code (0)
등록된 구현이 없습니다.
Tasks
Crowd CountingSimilar Papers 제목 키워드 기반
Scale-Aware Network with Regional and Semantic Attentions for Crowd Counting under Cluttered Background
Crowd counting is an important task that shown great application value in public safety-related fields, which has attracted increasing attention in recent years. In the current research, the accuracy of counting numbers …
Crowd CountingDensity EstimationDiversityCrowd Counting Using Scale-Aware Attention Networks
In this paper, we consider the problem of crowd counting in images. Given an image of a crowded scene, our goal is to estimate the density map of this image, where each pixel value in the density map corresponds to the c…
Crowd CountingMulti-Scale Context Aggregation Network with Attention-Guided for Crowd Counting
Crowd counting aims to predict the number of people and generate the density map in the image. There are many challenges, including varying head scales, the diversity of crowd distribution across images and cluttered bac…
Crowd CountingDecoderMAFNet: A Multi-Attention Fusion Network for RGB-T Crowd Counting
RGB-Thermal (RGB-T) crowd counting is a challenging task, which uses thermal images as complementary information to RGB images to deal with the decreased performance of unimodal RGB-based methods in scenes with low-illum…
Crowd CountingBoosting Crowd Counting via Multifaceted Attention
This paper focuses on the challenging crowd counting task. As large-scale variations often exist within crowd images, neither fixed-size convolution kernel of CNN nor fixed-size attention of recent vision transformers ca…
Crowd Counting