paper-with-me

홈 › Papers

CounTR: Transformer-based Generalised Visual Counting

2022-08-29 · Chang Liu, Yujie Zhong, Andrew Zisserman, Weidi Xie

In this paper, we consider the problem of generalised visual object counting, with the goal of developing a computational model for counting the number of objects from arbitrary semantic categories, using arbitrary number of "exemplars", i.e. zero-shot or few-shot counting. To this end, we make the following four contributions: (1) We introduce a novel transformer-based architecture for generalised visual object counting, termed as Counting Transformer (CounTR), which explicitly capture the similarity between image patches or with given "exemplars" with the attention mechanism;(2) We adopt a two-stage training regime, that first pre-trains the model with self-supervised learning, and followed by supervised fine-tuning;(3) We propose a simple, scalable pipeline for synthesizing training images with a large number of instances or that from different semantic categories, explicitly forcing the model to make use of the given "exemplars";(4) We conduct thorough ablation studies on the large-scale counting benchmark, e.g. FSC-147, and demonstrate state-of-the-art performance on both zero and few-shot settings.

📄 PDF Abstract BibTeX arXiv:2208.13721

Code (1)

Verg-Avesta/CounTR 공식 구현 pytorch

Tasks

Exemplar-Free CountingObject CountingSelf-Supervised Learning

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
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…
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…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…

Similar Papers 제목 키워드 기반

Spatially-Aware Class-Agnostic Object Counting

2026-07-18 · Robert Wijaya, Md. Tanvir Hossain, Amanda Kau, Ngai-Man Cheung arxiv

Generalised object counting aims to estimate the number of instances of an arbitrary object category from a single image, but many recent methods can struggle on structurally complex objects due to limited spatial modell…

Object Counting

CountFormer: A Transformer Framework for Learning Visual Repetition and Structure in Class-Agnostic Object Counting

2025-10-27 · Md Tanvir Hossain, Akif Islam, Mohd Ruhul Ameen arxiv

Humans can often count unfamiliar objects by observing visual repetition and composition, rather than relying only on object categories. However, many exemplar-free counting models struggle in such situations and may ove…

Exemplar-Free CountingObject Counting

Generalised Image Outpainting with U-Transformer

2022-01-27 · Penglei Gao, Xi Yang, Rui Zhang, John Y. Goulermas 외

In this paper, we develop a novel transformer-based generative adversarial neural network called U-Transformer for generalised image outpainting problem. Different from most present image outpainting methods conducting h…

DecoderImage Outpainting

Some patterns of sleep quality and Daylight Saving Time across countries: a predictive and exploratory analysis

2025-09-03 · Bhanu Sharma, Eugene Pinsky arxiv

In this study we analyzed average sleep durations across 61 countries to examine the impact of Daylight Saving Time (DST) practices. Key metrics influencing sleep were identified, and statistical correlation analysis was…

Sleep Quality

Few-Shot Learning: Expanding ID Cards Presentation Attack Detection to Unknown ID Countries

2024-09-10 · Alvaro S. Rocamora, Juan M. Espin, Juan E. Tapia

This paper proposes a Few-shot Learning (FSL) approach for detecting Presentation Attacks on ID Cards deployed in a remote verification system and its extension to new countries. Our research analyses the performance of …

Few-Shot LearningMeta-Learning