Marc-c commited on
Commit
65a3691
·
verified ·
1 Parent(s): 4b05ba0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -4
README.md CHANGED
@@ -30,7 +30,7 @@ configs:
30
  Marc Chapus, Carlos Crispim-Junior, Véronique Eglin, Atilla Baskurt
31
  LIRIS, UMR 5205 — INSA Lyon, Université Lumière Lyon 2, CNRS, Université Claude Bernard Lyon 1
32
 
33
- **BMVC 2026**
34
 
35
  ## Dataset summary
36
 
@@ -42,7 +42,7 @@ CountVideoBench contains **2,600 synthetic videos** rendered with Blender, each
42
  - **Static objects, moving camera**: objects are static and the camera rotates in place. The white background carries a regular line pattern, and object surfaces a low-amplitude procedural noise, so that densely packed objects stay visually distinct.
43
  - **Exact ground truth**: counts come from the generation process, with no human annotation.
44
 
45
- The benchmark is far from saturated: humans reach 90.8% exact-match accuracy, while no model evaluated in the paper exceeds 27.6%.
46
 
47
  ## Example
48
 
@@ -85,17 +85,35 @@ Videos: MP4, 1920 × 1080, 30 fps, 5 seconds (150 frames). The full clips are pr
85
 
86
  ## Usage
87
 
 
 
88
  ```python
89
- from datasets import load_dataset
 
90
 
 
91
  ds = load_dataset("countvideobench/CountVideoBench", "single_class", split="test")
92
- print(ds[0]["count"], ds[0]["question"])
 
 
 
 
 
93
  ```
94
 
 
 
95
  To download the raw files instead:
96
 
97
  ```bash
 
 
 
98
  hf download countvideobench/CountVideoBench --repo-type dataset --local-dir CountVideoBench
 
 
 
 
99
  ```
100
 
101
  ## Intended uses
 
30
  Marc Chapus, Carlos Crispim-Junior, Véronique Eglin, Atilla Baskurt
31
  LIRIS, UMR 5205 — INSA Lyon, Université Lumière Lyon 2, CNRS, Université Claude Bernard Lyon 1
32
 
33
+ **BMVC 2026** · [Project page](https://countvideobench.github.io)
34
 
35
  ## Dataset summary
36
 
 
42
  - **Static objects, moving camera**: objects are static and the camera rotates in place. The white background carries a regular line pattern, and object surfaces a low-amplitude procedural noise, so that densely packed objects stay visually distinct.
43
  - **Exact ground truth**: counts come from the generation process, with no human annotation.
44
 
45
+ The benchmark is far from saturated: no model evaluated in the paper exceeds 27.6% exact-match accuracy. On a 104-video subset, human participants reach 90.8%, against 26.9% for the best models on the same videos.
46
 
47
  ## Example
48
 
 
85
 
86
  ## Usage
87
 
88
+ Load the dataset in Python with the [`datasets`](https://huggingface.co/docs/datasets) library, or download the video files with the Hugging Face command-line tool [`hf`](https://huggingface.co/docs/huggingface_hub/guides/cli). The dataset is public: no account is needed.
89
+
90
  ```python
91
+ # pip install datasets
92
+ from datasets import load_dataset, Video
93
 
94
+ # Downloads the full dataset (139 GB) on first call
95
  ds = load_dataset("countvideobench/CountVideoBench", "single_class", split="test")
96
+
97
+ # Keep file paths instead of decoded videos, to sample frames your own way
98
+ ds = ds.cast_column("video", Video(decode=False))
99
+
100
+ sample = ds[0]
101
+ print(sample["question"], sample["count"], sample["video"]["path"])
102
  ```
103
 
104
+ Without the `cast_column` line, accessing a row decodes its video, which requires [`torchcodec`](https://github.com/meta-pytorch/torchcodec) and FFmpeg.
105
+
106
  To download the raw files instead:
107
 
108
  ```bash
109
+ # pip install -U huggingface_hub (provides the hf command)
110
+
111
+ # All 2,600 videos
112
  hf download countvideobench/CountVideoBench --repo-type dataset --local-dir CountVideoBench
113
+
114
+ # Or one count only, e.g. the 100 videos with 20 objects
115
+ hf download countvideobench/CountVideoBench --repo-type dataset --local-dir CountVideoBench \
116
+ --include "single_class/metadata.csv" "single_class/20_entities/*"
117
  ```
118
 
119
  ## Intended uses