HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Distribution Matching for Crowd Counting

Boyu Wang Huidong Liu Dimitris Samaras Minh Hoai

Distribution Matching for Crowd Counting

Abstract

In crowd counting, each training image contains multiple people, where each person is annotated by a dot. Existing crowd counting methods need to use a Gaussian to smooth each annotated dot or to estimate the likelihood of every pixel given the annotated point. In this paper, we show that imposing Gaussians to annotations hurts generalization performance. Instead, we propose to use Distribution Matching for crowd COUNTing (DM-Count). In DM-Count, we use Optimal Transport (OT) to measure the similarity between the normalized predicted density map and the normalized ground truth density map. To stabilize OT computation, we include a Total Variation loss in our model. We show that the generalization error bound of DM-Count is tighter than that of the Gaussian smoothed methods. In terms of Mean Absolute Error, DM-Count outperforms the previous state-of-the-art methods by a large margin on two large-scale counting datasets, UCF-QNRF and NWPU, and achieves the state-of-the-art results on the ShanghaiTech and UCF-CC50 datasets. DM-Count reduced the error of the state-of-the-art published result by approximately 16%. Code is available at https://github.com/cvlab-stonybrook/DM-Count.

Code Repositories

cvlab-stonybrook/DM-Count
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
crowd-counting-on-shanghaitech-aDM-Count
MAE: 59.7
crowd-counting-on-shanghaitech-bDM-Count
MAE: 7.4
crowd-counting-on-ucf-cc-50DM-Count
MAE: 211.0
crowd-counting-on-ucf-qnrfDM-Count
MAE: 85.6

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Distribution Matching for Crowd Counting | Papers | HyperAI