Commit
·
08c2e87
1
Parent(s):
0541ff5
add tracking eval
Browse files- README.md +168 -0
- data/APTv2/APTv2_point_tracks_with_masks.json +3 -0
- data/dancetrack/dancetrack_point_tracks_with_masks.json +3 -0
- data/personpath22/personpath22_point_tracks_with_masks.json +3 -0
- data/sav/sav_point_tracks_with_masks.json +3 -0
- data/sportsmot/sportsmot_point_tracks_with_masks.json +3 -0
README.md
ADDED
|
@@ -0,0 +1,168 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
dataset_info:
|
| 3 |
+
features:
|
| 4 |
+
- name: id
|
| 5 |
+
dtype: string
|
| 6 |
+
- name: video
|
| 7 |
+
dtype: string
|
| 8 |
+
- name: video_dataset
|
| 9 |
+
dtype: string
|
| 10 |
+
- name: exp
|
| 11 |
+
dtype: string
|
| 12 |
+
- name: obj_id
|
| 13 |
+
list: string
|
| 14 |
+
- name: mask_id
|
| 15 |
+
list: string
|
| 16 |
+
- name: points
|
| 17 |
+
list:
|
| 18 |
+
- name: object_id
|
| 19 |
+
dtype: string
|
| 20 |
+
- name: points
|
| 21 |
+
list:
|
| 22 |
+
list: float64
|
| 23 |
+
- name: segments
|
| 24 |
+
list:
|
| 25 |
+
- name: object_id
|
| 26 |
+
dtype: string
|
| 27 |
+
- name: segments
|
| 28 |
+
list:
|
| 29 |
+
list: int64
|
| 30 |
+
- name: masks
|
| 31 |
+
list:
|
| 32 |
+
- name: object_id
|
| 33 |
+
dtype: string
|
| 34 |
+
- name: masks
|
| 35 |
+
list:
|
| 36 |
+
list: string
|
| 37 |
+
- name: start_frame
|
| 38 |
+
dtype: int64
|
| 39 |
+
- name: end_frame
|
| 40 |
+
dtype: int64
|
| 41 |
+
- name: w
|
| 42 |
+
dtype: int64
|
| 43 |
+
- name: h
|
| 44 |
+
dtype: int64
|
| 45 |
+
- name: n_frames
|
| 46 |
+
dtype: int64
|
| 47 |
+
- name: fps
|
| 48 |
+
dtype: float64
|
| 49 |
+
- name: video_source
|
| 50 |
+
dtype: string
|
| 51 |
+
configs:
|
| 52 |
+
- config_name: default
|
| 53 |
+
data_files:
|
| 54 |
+
- path: "data/**/*.json"
|
| 55 |
+
- config_name: person
|
| 56 |
+
data_files:
|
| 57 |
+
- path: "data/personpath22/*.json"
|
| 58 |
+
- config_name: sports
|
| 59 |
+
data_files:
|
| 60 |
+
- path: "data/sportsmot/*.json"
|
| 61 |
+
- config_name: animal
|
| 62 |
+
data_files:
|
| 63 |
+
- path: "data/APTv2/*.json"
|
| 64 |
+
- config_name: misc
|
| 65 |
+
data_files:
|
| 66 |
+
- path: "data/sav/*.json"
|
| 67 |
+
- config_name: dance
|
| 68 |
+
data_files:
|
| 69 |
+
- path: "data/dancetrack/*.json"
|
| 70 |
+
---
|
| 71 |
+
|
| 72 |
+
# Molmo2-VideoTrackEval
|
| 73 |
+
|
| 74 |
+
Molmo2-VideoTrackEval is an evaluation benchmark for video point tracking, containing human-annotated ground truth across 5 diverse video datasets. It includes segmentation masks for evaluating whether predicted points fall within the correct object regions.
|
| 75 |
+
|
| 76 |
+
This benchmark is part of the [Molmo2 dataset collection](https://huggingface.co/collections/allenai/molmo2) and is used to evaluate the Molmo2 family of models on video object tracking via point trajectories.
|
| 77 |
+
|
| 78 |
+
Quick links:
|
| 79 |
+
- 📃 [Paper]()
|
| 80 |
+
- 🎥 [Blog with Videos]()
|
| 81 |
+
|
| 82 |
+
## Usage
|
| 83 |
+
|
| 84 |
+
```python
|
| 85 |
+
from datasets import load_dataset
|
| 86 |
+
|
| 87 |
+
# Load entire evaluation dataset
|
| 88 |
+
ds = load_dataset("allenai/Molmo2-VideoTrackEval")
|
| 89 |
+
|
| 90 |
+
# Load a specific benchmark subset by config name
|
| 91 |
+
dance = load_dataset("allenai/Molmo2-VideoTrackEval", "dance")
|
| 92 |
+
sports = load_dataset("allenai/Molmo2-VideoTrackEval", "sports")
|
| 93 |
+
person = load_dataset("allenai/Molmo2-VideoTrackEval", "person")
|
| 94 |
+
misc = load_dataset("allenai/Molmo2-VideoTrackEval", "misc")
|
| 95 |
+
animal = load_dataset("allenai/Molmo2-VideoTrackEval", "animal")
|
| 96 |
+
```
|
| 97 |
+
|
| 98 |
+
## Available Configs
|
| 99 |
+
|
| 100 |
+
| Config | Description |
|
| 101 |
+
|--------|-------------|
|
| 102 |
+
| `default` | All evaluation data combined |
|
| 103 |
+
| `personpath22` | Pedestrian tracking benchmark |
|
| 104 |
+
| `sportsmot` | Sports multi-object tracking benchmark |
|
| 105 |
+
| `APTv2` | Animal pose tracking benchmark |
|
| 106 |
+
| `sav` | Segment Anything Video benchmark |
|
| 107 |
+
| `dancetrack` | Dance tracking benchmark |
|
| 108 |
+
|
| 109 |
+
## Data Format
|
| 110 |
+
|
| 111 |
+
Each row contains tracking annotations for one or more objects in a video clip:
|
| 112 |
+
|
| 113 |
+
| Field | Description |
|
| 114 |
+
|-------|-------------|
|
| 115 |
+
| `id` | Unique identifier for this annotation |
|
| 116 |
+
| `video` | Video filename |
|
| 117 |
+
| `video_dataset` | Source dataset name (e.g., 'dancetrack', 'sportsmot') |
|
| 118 |
+
| `video_source` | Video directory path (can be ignored) |
|
| 119 |
+
| `exp` | Text expression describing the tracked object(s) |
|
| 120 |
+
| `obj_id` | List of object IDs per video |
|
| 121 |
+
| `mask_id` | List of mask IDs corresponding to tracked objects starting from '0' |
|
| 122 |
+
| `points` | List of point trajectories per object. Each entry contains `object_id` and `points` (list of [x, y] coordinates per frame) |
|
| 123 |
+
| `segments` | List of segment annotations per object. Each entry contains `object_id` and `segments` |
|
| 124 |
+
| `masks` | List of segmentation masks per object for evaluation. Each entry contains `object_id` and `masks` (used to verify if predicted points fall within the ground truth object region) |
|
| 125 |
+
| `start_frame` | Starting frame index for this clip |
|
| 126 |
+
| `end_frame` | Ending frame index for this clip |
|
| 127 |
+
| `w` | Video width |
|
| 128 |
+
| `h` | Video height |
|
| 129 |
+
| `n_frames` | Number of frames in the clip |
|
| 130 |
+
| `fps` | Frames per second |
|
| 131 |
+
|
| 132 |
+
**Important:** `start_frame` and `end_frame` indicate which portion of the source video to use. You need to trim the video to this range — the annotations correspond to frames within `[start_frame, end_frame]`, not the entire video.
|
| 133 |
+
|
| 134 |
+
### Evaluation with Masks
|
| 135 |
+
|
| 136 |
+
The `masks` field contains ground truth segmentation masks that can be used to evaluate tracking predictions. A predicted point is considered correct if it falls within the segmentation mask of the target object for that frame.
|
| 137 |
+
|
| 138 |
+
## Folder Structure
|
| 139 |
+
|
| 140 |
+
```
|
| 141 |
+
Molmo2-VideoTrackEval/
|
| 142 |
+
├── README.md
|
| 143 |
+
└── data/
|
| 144 |
+
├── APTv2/
|
| 145 |
+
│ └── APTv2_point_tracks_with_masks.json
|
| 146 |
+
├── dancetrack/
|
| 147 |
+
│ └── dancetrack_point_tracks_with_masks.json
|
| 148 |
+
├── personpath22/
|
| 149 |
+
│ └── personpath22_point_tracks_with_masks.json
|
| 150 |
+
├── sav/
|
| 151 |
+
│ └── sav_point_tracks_with_masks.json
|
| 152 |
+
└── sportsmot/
|
| 153 |
+
└── sportsmot_point_tracks_with_masks.json
|
| 154 |
+
```
|
| 155 |
+
|
| 156 |
+
## Video Sources
|
| 157 |
+
|
| 158 |
+
| Dataset | Category | Download |
|
| 159 |
+
|---------|----------|----------|
|
| 160 |
+
| personpath22 | People | [PersonPath22](https://amazon-science.github.io/tracking-dataset/personpath22.html) |
|
| 161 |
+
| sportsmot | Sports | [SportsMOT](https://codalab.lisn.upsaclay.fr/competitions/12424#participate) |
|
| 162 |
+
| APTv2 | Animals | [APTv2](https://github.com/ViTAE-Transformer/APTv2) |
|
| 163 |
+
| sav | Misc | [SA-V](https://ai.meta.com/datasets/segment-anything-video/) (Videos at 6 fps) |
|
| 164 |
+
| dancetrack | Dancers | [DanceTrack](https://github.com/DanceTrack/DanceTrack?tab=readme-ov-file#dataset) |
|
| 165 |
+
|
| 166 |
+
## License
|
| 167 |
+
|
| 168 |
+
This dataset is licensed under ODC-BY-1.0. It is intended for research and educational use in accordance with Ai2's [Responsible Use Guidelines](https://allenai.org/responsible-use).
|
data/APTv2/APTv2_point_tracks_with_masks.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e260e619eadb62ab5ee0aa62fb14f7dfc5cc084aebdf724c054d466d469cff53
|
| 3 |
+
size 13820262
|
data/dancetrack/dancetrack_point_tracks_with_masks.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b50697cf511ec1b473fbd335c6a4bf1cd849d3cc802912e0965273271dc4d3c
|
| 3 |
+
size 350921009
|
data/personpath22/personpath22_point_tracks_with_masks.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e93f56a825427c42067b318c8aee5d932feba20ada7194e2c97e53a1266f51d8
|
| 3 |
+
size 109480453
|
data/sav/sav_point_tracks_with_masks.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a59dfd418eeb9e287d027bea93a0fba1741577d95a86bb3a171a2d9cf87cbce
|
| 3 |
+
size 2960756
|
data/sportsmot/sportsmot_point_tracks_with_masks.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e9211ea22aca0c3659548cfc7be75e4e4aa27eb5be996ba2542386ed3e613ed6
|
| 3 |
+
size 170165351
|