benchmark-data / README.md
Haptera
Document starter kit setup and disable automatic viewer
185886a
|
Raw History Blame Contribute Delete
2.89 kB
---
pretty_name: OnsetBench development dataset
license: cc-by-4.0
viewer: false
tags:
- robotics
- video
- physical-events
size_categories:
- n<1K
---
# OnsetBench development dataset
The public OnsetBench starter kit contains 40 REASSEMBLE development recordings. Use it to try the scorer with your own predictions. It does not reproduce the published benchmark results.
- [Wrist videos and frame timestamps (ZIP)](https://huggingface.co/datasets/OnsetBench/benchmark-data/resolve/main/onsetbench-public40-videos.zip)
- [Sensor reference labels and evaluation windows (ZIP)](https://huggingface.co/datasets/OnsetBench/benchmark-data/resolve/main/onsetbench-public40-labels.zip)
- [OnsetBench scorer on GitHub](https://github.com/onsetbench/scorer) · [Benchmark downloads and submission guide](https://onsetbench.com/downloads.html)
The kit is distributed as ZIP files for local use, not as a table in the Hugging Face viewer. See [attribution](ATTRIBUTION.md) and [license](LICENSE.txt).
## Run the scorer
You need Python 3.11 or later. Download both ZIP files above. From the directory containing the ZIPs, install the scorer and extract both archives into the same folder:
```sh
git clone https://github.com/onsetbench/scorer.git
python -m pip install ./scorer
python -m zipfile -e onsetbench-public40-videos.zip starter-kit
python -m zipfile -e onsetbench-public40-labels.zip starter-kit
cd starter-kit
python -m onsetbench verify --dataset data/reassemble_public40.json
python -m onsetbench template --dataset data/reassemble_public40.json --out predictions.json
```
Fill in `predictions.json` with your model's predictions in the supplied epoch-millisecond clock. The scorer checks and scores predictions; it does not run a model.
```sh
python -m onsetbench score --dataset data/reassemble_public40.json --predictions predictions.json --out score.json
```
## Submit for official scoring
The official REASSEMBLE evaluation uses a separate set of 83 recordings. Email [hello@haptera.ai](mailto:hello@haptera.ai) for evaluation videos, frame timestamps, and submission instructions. Reference labels are withheld from that evaluation package.
## Reference timestamps
Each SENSOR reference contains `events_ms` (loading onsets) and `releases_ms` (paired release times), in native epoch milliseconds. The arrays have equal length, and each release is at or after its onset. The scorer uses these paired intervals for optional Contact-state evaluation.
## Integrity verification
Verify both ZIP archives against `SHA256SUMS` before extracting. The video-package members under `inputs/` are covered by `MANIFEST.json` (paths relative to `inputs/`); SENSOR reference files inside the labels archive are covered by the hashes in `data/reassemble_public40.json`. The whole-archive hashes also cover archive metadata, the evaluation-window manifest, and all other included members.