SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.16622 · CVPR · 2024

DAVE -A Detect-and-Verify Paradigm for Low-Shot Counting

Vitjan Zavrtanik, Matej Kristan, Alan Lukežič, Jer Pelhan

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 18 functions out of this paper's own repositories and ran 16 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
jerpelhan/dave — 16 of 18
FunctionStatusWhere it lives
Backbone Ran jerpelhan/dave/models/dave.py
code served (permissive licence) · get_code("553da3ea9f5e1cd5")
BoxList Ran jerpelhan/dave/models/dave.py
code served (permissive licence) · get_code("ffcb1456b92b93e8")
ConvBlock Ran jerpelhan/dave/models/dave.py
code served (permissive licence) · get_code("cf9b257c7a9fd0fc")
ConvBlock1 Ran jerpelhan/dave/models/dave.py
code served (permissive licence) · get_code("cc9b2570e9b960aa")
DensityMapRegressor Ran jerpelhan/dave/models/dave.py
code served (permissive licence) · get_code("d97f51d06653a3c5")
FCOSHead Ran jerpelhan/dave/models/dave.py
code served (permissive licence) · get_code("06bd7b48a3a041aa")
FeatureFusionModule Ran jerpelhan/dave/models/dave.py
code served (permissive licence) · get_code("f48009fc79740f8c")
Feature_Transform Ran jerpelhan/dave/models/dave.py
code served (permissive licence) · get_code("129fe8076ac82fc4")
Scale Ran jerpelhan/dave/models/dave.py
code served (permissive licence) · get_code("95013a850411e806")
TransformerDecoder Ran jerpelhan/dave/models/dave.py
code served (permissive licence) · get_code("67df236913fa93d5")
TransformerDecoderLayer Ran jerpelhan/dave/models/dave.py
code served (permissive licence) · get_code("e50245b5494e328d")
TransformerEncoder Ran jerpelhan/dave/models/dave.py
code served (permissive licence) · get_code("8ea36d91ae3aa4d1")
TransformerEncoderLayer Ran jerpelhan/dave/models/dave.py
code served (permissive licence) · get_code("07e1f3797315c793")
UpsamplingLayer Ran jerpelhan/dave/models/dave.py
code served (permissive licence) · get_code("1d7a452dac45065b")
boxlist_nms Ran jerpelhan/dave/models/dave.py
code served (permissive licence) · get_code("1e5f5eabbdd857ca")
extend_bboxes Ran jerpelhan/dave/models/dave.py
code served (permissive licence) · get_code("258799328b23dbb2")
COTR Not yet run jerpelhan/dave/models/dave.py
code served (permissive licence) · get_code("4c6592d75bff8335")
mask_density Not yet run jerpelhan/dave/models/dave.py
code served (permissive licence) · get_code("1af3422bfff1aac3")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Low-shot counters estimate the number of objects corresponding to a selected category, based on only few or no exemplars annotated in the image. The current state-ofthe-art estimates the total counts as the sum over the object location density map, but does not provide individual object locations and sizes, which are crucial for many applications. This is addressed by detection-based counters, which, however fall behind in the total count accuracy. Furthermore, both approaches tend to overestimate the counts in the presence of other object classes due to many false positives. We propose DAVE, a low-shot counter based on a detect-and-verify paradigm, that avoids the aforementioned issues by first generating a high-recall detection set and then verifying the detections to identify and remove the outliers. This jointly increases the recall and precision, leading to accurate counts. DAVE outperforms the top densitybased counters by ∼20% in the total count MAE, it outperforms the most recent detection-based counter by ∼20% in detection quality and sets a new state-of-the-art in zero-shot as well as text-prompt-based counting. The code and models are available on GitHub.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2404.16622")
get_code_for_paper("2404.16622")
have("2404.16622")

Connect an agent — have() is free.