Skip to content

Official Implementation of ACMMM'21 paper "Wisdom of (Binned) Crowds: A Bayesian Stratification Paradigm for Crowd Counting"

License

Notifications You must be signed in to change notification settings

atmacvit/bincrowd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wisdom of (Binned) Crowds

Official Implementation of ACMMM'21 paper "Wisdom of (Binned) Crowds: A Bayesian Stratification Paradigm for Crowd Counting"

Overview Diagram

here

Step 1 : Data Preparation & Splits (Stages(1,2)) / Binning

How to find bins for new dataset

We recommend to divide the entire range of counts into strata to later sample images from these strata. The procedure for data split generation is provided in the folder named binning.

Step 2 : Minibatch Sampling (Stage 3)

How to sample the minibatch from bins

We explored two methods of sampling images from strata.

  1. Round Robin sampling
  2. Random sampling

For a simple visualisation of the procedure you can refer to the folder named sampling.

Step 3 : Optimization (Stage 4)

How to include strata aware optimisation in your model

To reduce variance, we adopt a strata-aware optimization. A pyTorch implementation of that optimization is provided in this folder named optimization.

Step 4 : Evaluation (Stage-5)

How to evaluate your networks performance at a bin level

We evaluate the performance at a strata-level (mean and std) and a pooled mean and std. The folder evaluation consists of a notebook to do the same.

Cite us:

@inproceedings{10.1145/3474085.3475522,
author = {Sravya Vardhani Shivapuja, Mansi Pradeep Khamkar, Divij Bajaj, Ganesh Ramakrishnan, Ravi Kiran Sarvadevabhatla},
title = {Wisdom of (Binned) Crowds: A Bayesian Stratification Paradigm
for Crowd Counting
},
booktitle = {Proceedings of the 2021 ACM Conference on Multimedia},
year = {2021},
location = {Virtual Event, China},
publisher = {ACM},
address = {China},
}

Releases

No releases published

Packages

No packages published