CorentinDumery commited on
Commit
0dc0562
·
verified ·
1 Parent(s): fb5aefc

Delete .ipynb_checkpoints/README-checkpoint.md

Browse files
.ipynb_checkpoints/README-checkpoint.md DELETED
@@ -1,207 +0,0 @@
1
- ---
2
- license: cc-by-4.0
3
- dataset_info:
4
- features:
5
- - name: image
6
- dtype: image
7
- - name: file_name
8
- dtype: string
9
- - name: total_count
10
- dtype: int64
11
- - name: num_classes
12
- dtype: int64
13
- - name: class_names
14
- sequence: string
15
- - name: class_counts
16
- sequence: int64
17
- - name: class_descriptions
18
- sequence: string
19
- - name: objects
20
- struct:
21
- - name: bbox
22
- sequence:
23
- sequence: float64
24
- - name: category
25
- sequence: int64
26
- configs:
27
- - config_name: default
28
- data_files:
29
- - split: train
30
- path: parquet_data/train-*
31
- - split: validation
32
- path: parquet_data/val-*
33
- - split: test
34
- path: parquet_data/test-*
35
- tags:
36
- - counting
37
- - synthetic
38
- - computer-vision
39
- - open-vocabulary
40
- - segmentation
41
- pretty_name: MixCount
42
- task_categories:
43
- - image-classification
44
- - object-detection
45
- ---
46
-
47
-
48
- # The MixCount Dataset: Bridging the Data Gap for Open-Vocabulary Object Counting
49
-
50
- <p align="center">
51
- <a href="https://corentindumery.github.io/">Corentin Dumery*</a> · <a href="https://reuben.ox.ac.uk/people/niki-amini-naieni">Niki Amini-Naieni*</a> · <a href="https://www.linkedin.com/in/shervin-n">Shervin Naini</a> · <a href="https://people.epfl.ch/pascal.fua">Pascal Fua</a>
52
- <br>
53
- <sub>EPFL · University of Oxford · Northwestern University · (* equal contribution)</sub>
54
- </p>
55
-
56
- <p align="center">
57
- <a href="https://arxiv.org/abs/2605.18063"><img src="https://img.shields.io/badge/Paper-arXiv-b31b1b?style=for-the-badge" alt="Paper"></a>
58
- <a href="https://corentindumery.github.io/projects/mixcount.html"><img src="https://img.shields.io/badge/Project-Page-143038?style=for-the-badge" alt="Project page"></a>
59
- </p>
60
-
61
- <style>
62
- .mixcount-stats {
63
- display: grid;
64
- grid-template-columns: repeat(5, minmax(0, 1fr));
65
- gap: 10px;
66
- max-width: 900px;
67
- margin: 0 auto 1.5em;
68
- }
69
- .mixcount-stat {
70
- background: linear-gradient(180deg, #f8fbfc 0%, #eef4f7 100%);
71
- border: 1px solid #d8e4ea;
72
- border-radius: 10px;
73
- padding: 0.85em 0.5em;
74
- text-align: center;
75
- }
76
- .mixcount-stat b {
77
- display: block;
78
- font-size: 1.35em;
79
- color: #143038;
80
- }
81
- .mixcount-stat span {
82
- display: block;
83
- margin-top: 0.3em;
84
- font-size: 0.82em;
85
- color: #4f6468;
86
- line-height: 1.3;
87
- }
88
- .mixcount-lead {
89
- max-width: 820px;
90
- margin: 0 auto 1.5em;
91
- padding: 1em 1.15em;
92
- background: #f7fafb;
93
- border-left: 4px solid #5ba4c4;
94
- border-radius: 0 8px 8px 0;
95
- line-height: 1.55;
96
- }
97
- .mixcount-compare-wrap {
98
- display: flex;
99
- justify-content: center;
100
- margin: 0 auto 1.25em;
101
- overflow-x: auto;
102
- }
103
- .mixcount-compare-wrap table {
104
- margin: 0 auto;
105
- }
106
- @media (max-width: 720px) {
107
- .mixcount-stats { grid-template-columns: repeat(2, 1fr); }
108
- }
109
- </style>
110
-
111
- <p align="center">
112
- <img src="images/teaser.png" width="96%" alt="MixCount sample scenes (2×6 grid)">
113
- </p>
114
-
115
- <div class="mixcount-lead">
116
- <b>MixCount</b> is a large-scale synthetic dataset for <b>mixed-object, open-vocabulary counting</b>, the setting that dominates industrial inspection and sorting, but breaks current counting models. Our automatic generation pipeline produces pixel-perfect labels, text prompts at several levels of detail, and visual exemplars at scale.
117
- </div>
118
-
119
- <div class="mixcount-stats">
120
- <div class="mixcount-stat"><b>58K</b><span>counting scenes</span></div>
121
- <div class="mixcount-stat"><b>1,522</b><span>object classes</span></div>
122
- <div class="mixcount-stat"><b>4M+</b><span>counting instances</span></div>
123
- <div class="mixcount-stat"><b>−18.3%</b><span>MAE on PairTally (train)</span></div>
124
- <div class="mixcount-stat"><b>−20.14%</b><span>MAE on FSC-147 (train)</span></div>
125
- </div>
126
-
127
- ## Usage
128
-
129
- ```python
130
- from datasets import load_dataset
131
- import matplotlib.pyplot as plt
132
-
133
- ds = load_dataset("CorentinDumery/MixCount", split="train[:1]")
134
-
135
- sample = ds[0]
136
- print(sample["file_name"], sample["total_count"], "objects,", sample["num_classes"], "classes")
137
-
138
- plt.imshow(sample["image"])
139
- plt.axis("off")
140
- plt.show()
141
- ```
142
-
143
- ## Overview
144
-
145
- Object counting models often struggle in **mixed-object scenes**. Common failure modes include:
146
-
147
- - **(a)** Distinguishing **visually similar objects** (e.g. *big marbles* in PairTally)
148
- - **(b)** Recognizing **self-similar components** as a single entity (e.g. counting pairs of sunglasses rather than lenses)
149
- - **(c)** Ignoring **repetitive background patterns** and focusing on the queried object class
150
-
151
- MixCount combines the scale of synthetic datasets with the photorealism of real-world 3D captures while targeting these failure modes. Training on MixCount yields about **20% lower error** on recent open-vocabulary counting benchmarks.
152
-
153
- <p align="center">
154
- <img src="images/bridging.png" width="68%" alt="Training on MixCount improves CountGD++ on PairTally, FSC-147, and MixCount">
155
- </p>
156
-
157
- ## Dataset overview
158
-
159
- <div class="mixcount-compare-wrap">
160
-
161
- | | FSC-147 | PairTally | MCAC | **MixCount** |
162
- |---|:---:|:---:|:---:|:---:|
163
- | Multiple object types per image | | ✓ | ✓ | **✓** |
164
- | Fine-grained text prompts | | ✓ | | **✓** |
165
- | External visual exemplars | | | | **✓** |
166
- | Segmentation & bounding boxes | | | ✓ | **✓** |
167
- | # images | 6,135 | 681 | 20K | **58,000** |
168
- | # object classes | 147 | 98 | 343 | **1,522** |
169
-
170
- </div>
171
-
172
-
173
- **Visual & text inputs.** Multiple visual exemplars per object (external crops and in-scene crops at different scales), together with **short, concise, and detailed** text descriptions for flexible open-vocabulary counting prompts.
174
-
175
- <p align="center">
176
- <img src="images/features.png" width="65%" alt="MixCount exemplars and tiered text descriptions">
177
- </p>
178
-
179
- **Dense annotations.** Pixel-perfect counting supervision plus instance and class segmentations, bounding boxes, depth, and normal maps.
180
-
181
- <p align="center">
182
- <img src="images/annotations.png" width="65%" alt="MixCount dense annotations">
183
- </p>
184
-
185
- **Automatic generator.** Objects, distractors, environment, and camera placement are sampled procedurally to create photorealistic training scenes from high-quality real-world captures of objects, materials, and lighting.
186
-
187
- <p align="center">
188
- <img src="images/data_generator.png" width="65%" alt="MixCount data generation pipeline">
189
- </p>
190
-
191
-
192
- See the [project page](https://corentindumery.github.io/projects/mixcount.html) and [paper](https://arxiv.org/abs/2605.18063) for additional details.
193
-
194
- ## Citation
195
-
196
- ```bibtex
197
- @article{dumery2026mixcount,
198
- title = {The MixCount Dataset: Bridging the Data Gap for Open-Vocabulary Object Counting},
199
- author = {Dumery, Corentin and Amini-Naieni, Niki and Naini, Shervin and Fua, Pascal},
200
- journal = {arXiv preprint arXiv:2605.18063},
201
- year = {2026}
202
- }
203
- ```
204
-
205
- ## Acknowledgements
206
-
207
- We thank [DTC](https://www.projectaria.com/datasets/dtc/), [VasTextures](https://sites.google.com/view/infinitexture/home), [LavalIndoor](http://hdrdb.com/indoor/), and [PolyHaven](https://polyhaven.com/), as well as the [Blender Foundation](https://www.blender.org/). We also thank Andrew Zisserman for insightful discussions. This work is partially funded by the Swiss National Science Foundation, an AWS Studentship, the Reuben Foundation, a Qualcomm Innovation Fellowship (mentors: Dr Farhad Zanjani and Dr Davide Abati), and the AIMS CDT program at the University of Oxford.