HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Learning To Count Everything

Ranjan Viresh ; Sharma Udbhav ; Nguyen Thu ; Hoai Minh

Learning To Count Everything

Abstract

Existing works on visual counting primarily focus on one specific category ata time, such as people, animals, and cells. In this paper, we are interested incounting everything, that is to count objects from any category given only afew annotated instances from that category. To this end, we pose counting as afew-shot regression task. To tackle this task, we present a novel method thattakes a query image together with a few exemplar objects from the query imageand predicts a density map for the presence of all objects of interest in thequery image. We also present a novel adaptation strategy to adapt our networkto any novel visual category at test time, using only a few exemplar objectsfrom the novel category. We also introduce a dataset of 147 object categoriescontaining over 6000 images that are suitable for the few-shot counting task.The images are annotated with two types of annotation, dots and bounding boxes,and they can be used for developing few-shot counting models. Experiments onthis dataset shows that our method outperforms several state-of-the-art objectdetectors and few-shot counting approaches. Our code and dataset can be foundat https://github.com/cvlab-stonybrook/LearningToCountEverything.

Code Repositories

cvlab-stonybrook/LearningToCountEverything
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
exemplar-free-counting-on-fsc147FamNet
MAE(test): 32.27
MAE(val): 32.15
RMSE(test): 131.46
RMSE(val): 98.75
object-counting-on-fsc147FamNet
MAE(test): 22.08
MAE(val): 23.75
RMSE(test): 99.54
RMSE(val): 69.07

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