paper-with-me

Papers

TransCrowd: weakly-supervised crowd counting with transformers

2021-04-19 · Dingkang Liang, Xiwu Chen, Wei Xu, Yu Zhou, Xiang Bai

The mainstream crowd counting methods usually utilize the convolution neural network (CNN) to regress a density map, requiring point-level annotations. However, annotating each person with a point is an expensive and laborious process. During the testing phase, the point-level annotations are not considered to evaluate the counting accuracy, which means the point-level annotations are redundant. Hence, it is desirable to develop weakly-supervised counting methods that just rely on count-level annotations, a more economical way of labeling. Current weakly-supervised counting methods adopt the CNN to regress a total count of the crowd by an image-to-count paradigm. However, having limited receptive fields for context modeling is an intrinsic limitation of these weakly-supervised CNN-based methods. These methods thus cannot achieve satisfactory performance, with limited applications in the real world. The transformer is a popular sequence-to-sequence prediction model in natural language processing (NLP), which contains a global receptive field. In this paper, we propose TransCrowd, which reformulates the weakly-supervised crowd counting problem from the perspective of sequence-to-count based on transformers. We observe that the proposed TransCrowd can effectively extract the semantic crowd information by using the self-attention mechanism of transformer. To the best of our knowledge, this is the first work to adopt a pure transformer for crowd counting research. Experiments on five benchmark datasets demonstrate that the proposed TransCrowd achieves superior performance compared with all the weakly-supervised CNN-based counting methods and gains highly competitive counting performance compared with some popular fully-supervised counting methods.

📄 PDF Abstract BibTeX arXiv:2104.09116

Code (1)

dk-liang/TransCrowd 공식 구현 pytorch

Tasks

Crowd Counting

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…

Similar Papers 제목 키워드 기반

Vision Transformers for Weakly-Supervised Microorganism Enumeration

2024-12-03 · Javier Ureña Santiago, Thomas Ströhle, Antonio Rodríguez-Sánchez, Ruth Breu

Microorganism enumeration is an essential task in many applications, such as assessing contamination levels or ensuring health standards when evaluating surface cleanliness. However, it's traditionally performed by human…

Density EstimationInstance SegmentationObject CountingSemantic Segmentation

CrowdFormer: Weakly-supervised Crowd counting with Improved Generalizability

2022-03-07 · Siddharth Singh Savner, Vivek Kanhangad

Convolutional neural networks (CNNs) have dominated the field of computer vision for nearly a decade due to their strong ability to learn local features. However, due to their limited receptive field, CNNs fail to model …

Crowd Counting

WSCF-MVCC: Weakly-supervised Calibration-free Multi-view Crowd Counting

2025-12-02 · Bin Li, Daijie Chen, Qi Zhang arxiv

Multi-view crowd counting can effectively mitigate occlusion issues that commonly arise in single-image crowd counting. Existing deep-learning multi-view crowd counting methods project different camera view images onto a…

Crowd Counting

Joint CNN and Transformer Network via weakly supervised Learning for efficient crowd counting

2022-03-12 · Fusen Wang, Kai Liu, Fei Long, Nong Sang 외

Currently, for crowd counting, the fully supervised methods via density map estimation are the mainstream research directions. However, such methods need location-level annotation of persons in an image, which is time-co…

Crowd CountingWeakly-supervised Learning

Reinforcing Local Feature Representation for Weakly-Supervised Dense Crowd Counting

2022-02-22 · Xiaoshuang Chen, Hongtao Lu

Fully-supervised crowd counting is a laborious task due to the large amounts of annotations. Few works focus on weekly-supervised crowd counting, where only the global crowd numbers are available for training. The main c…

Crowd Counting