TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/GCA-SUNet: A Gated Context-Aware Swin-UNet for Exemplar-Fr...

GCA-SUNet: A Gated Context-Aware Swin-UNet for Exemplar-Free Counting

Yuzhe Wu, Yipeng Xu, Tianyu Xu, Jialu Zhang, Jianfeng Ren, Xudong Jiang

2024-09-18Zero-Shot CountingObject CountingExemplar-Free Counting
PaperPDF

Abstract

Exemplar-Free Counting aims to count objects of interest without intensive annotations of objects or exemplars. To achieve this, we propose a Gated Context-Aware Swin-UNet (GCA-SUNet) to directly map an input image to the density map of countable objects. Specifically, a set of Swin transformers form an encoder to derive a robust feature representation, and a Gated Context-Aware Modulation block is designed to suppress irrelevant objects or background through a gate mechanism and exploit the attentive support of objects of interest through a self-similarity matrix. The gate strategy is also incorporated into the bottleneck network and the decoder of the Swin-UNet to highlight the features most relevant to objects of interest. By explicitly exploiting the attentive support among countable objects and eliminating irrelevant features through the gate mechanisms, the proposed GCA-SUNet focuses on and counts objects of interest without relying on predefined categories or exemplars. Experimental results on the real-world datasets such as FSC-147 and CARPK demonstrate that GCA-SUNet significantly and consistently outperforms state-of-the-art methods. The code is available at https://github.com/Amordia/GCA-SUNet.

Results

TaskDatasetMetricValueModel
Object CountingFSC147MAE(test)14GCA-SUN
Object CountingFSC147MAE(val)16.06GCA-SUN
Object CountingFSC147RMSE(test)92.19GCA-SUN
Object CountingFSC147RMSE(val)53.04GCA-SUN
Object CountingFSC147MAE(test)14GCA-SUN
Object CountingFSC147MAE(val)16.06GCA-SUN
Object CountingFSC147RMSE(test)92.19GCA-SUN
Object CountingFSC147RMSE(val)53.04GCA-SUN

Related Papers

Car Object Counting and Position Estimation via Extension of the CLIP-EBC Framework2025-07-11OmniSpatial: Towards Comprehensive Spatial Reasoning Benchmark for Vision Language Models2025-06-03Improving Contrastive Learning for Referring Expression Counting2025-05-28Expanding Zero-Shot Object Counting with Rich Prompts2025-05-21InstructSAM: A Training-Free Framework for Instruction-Oriented Remote Sensing Object Recognition2025-05-21VisionReasoner: Unified Visual Perception and Reasoning via Reinforcement Learning2025-05-17Are Multimodal Large Language Models Ready for Omnidirectional Spatial Reasoning?2025-05-17Learning What NOT to Count2025-04-16