VorA / data /recorded /language /README.md
DocD0c's picture
Document dataset structure, fields, indexing and loading examples
4371b56 verified
|
Raw History Blame Contribute Delete
6.15 kB

Human2Robot subcaptions

This is an added temporal annotation layer over the human-camera videos in the H&R / HumanAndRobot dataset released with Human2Robot. The original recordings belong to their upstream contributors. These subcaptions were produced for this collection; they are not annotations released or endorsed by the Human2Robot authors.

Download captions · Segment manifest · Aligned query records · Upstream attribution and citation

What is included

Item Count
Human-camera subcaptions 5,971
Train / test subcaptions 5,697 / 274
Segments with nine inspected frames 5,850
Segments with fewer than nine frames 121
Partial-duration segments 1,321
Aligned robot query windows 15,335
Train / test robot query windows 14,634 / 701

Every manifest segment has one unique caption uid. Caption text, split assignments, frame indices and availability cutoffs were compared against the finalized source annotations without changing them. All 15,335 robot windows resolve to an existing caption.

These are agent-generated visual descriptions, not human gold labels. All records retain human_gold=false and review_status="not_reviewed". needs_review is true in 115 records, false in 5,565, and absent/null in 291; a false flag does not constitute independent semantic review. Structural verification of files and alignment is distinct from checking whether each description is visually correct.

Annotation protocol

The protocol divides each contiguous timestamp block into nominal four-second intervals and selects up to nine human-camera frames within each interval. A caption describes the visible hand/object behavior in those selected frames. This is fixed temporal segmentation, not a claim that every segment contains one semantic action.

Original timestamps are integers without a verified unit declaration. The extraction treats them as presumed Unix seconds and estimates sub-second positions within repeated timestamp buckets using frame order. Both original and estimated values are retained. Therefore four seconds and half-second sampling targets are estimates, not verified capture times. Large timestamp gaps and reversals separate blocks. Short tails retain their actual frames; frames are not duplicated just to reach nine samples. A single-frame segment can support a state description, not an observed movement.

Only the human-camera annotation layer is included here. No robot-side descriptions or discarded earlier caption candidates are mixed into this final file.

Files and fields

captions.jsonl contains one JSON object per line:

Field Meaning
uid Unique segment identifier; join key to the manifest
caption Temporal description of the inspected human frames
path, task, split Raw recording reference, task group and inherited split
frame_indices Actual inspected frame indices, in order
observed_sample_count, frame_shape Actual sample count and image dimensions
original_timestamps Timestamp values stored with the inspected frames
estimated_frame_times, target_times_estimated Estimated observed times and sampling targets
interval_start_estimated, interval_end_exclusive_estimated Nominal interval boundaries
partial, available_frame_range Tail/incomplete-interval indicator and available range
availability_cutoff_frame Latest inspected source frame required before using this caption
availability_cutoff_estimated_time Corresponding estimated time
source_frames_sha256 and related hash fields Frame/image provenance; not interchangeable with the caption-file hash
human_gold, review_status, needs_review, uncertainty Annotation quality/provenance flags; optional fields may be absent

manifest.json contains episodes and segments. rgb_data/records.jsonl contains one record for each prepared robot window. Its caption_uid joins to captions.jsonl:uid; its line number aligns with the first axis of robot_rgb.npy and robot_state.npy.

A caption must be available by the query's observed starting frame: query_start >= caption_last_frame. A window can share its starting observation with the caption's final observed frame. Never feed the caption into a prefix before its availability cutoff. This condition was checked for every prepared window.

import json
from pathlib import Path

root = Path("datasets/recorded/language")
captions = {r["uid"]: r for r in
            (json.loads(line) for line in (root / "captions.jsonl").open())}
with (root / "rgb_data/records.jsonl").open() as f:
    window = json.loads(next(f))
caption = captions[window["caption_uid"]]
assert window["query_start"] >= window["caption_last_frame"]
print(caption["caption"], caption["frame_indices"], window["split"])

Download text only

The small text/alignment files can be downloaded separately from the large image arrays:

from huggingface_hub import HfApi, hf_hub_download

repo = "DocD0c/VorA"
revision = HfApi().repo_info(repo, repo_type="dataset").sha
for name in ("captions.jsonl", "manifest.json", "rgb_data/records.jsonl"):
    hf_hub_download(repo, "data/recorded/language/" + name,
                    repo_type="dataset", revision=revision, local_dir="vora")

For the image/state arrays, use the restoration helper described in the data guide, with --group recorded/language. Pin all files to the same revision. The file-level hashes are in data/index.jsonl.

The segment manifest includes four raw cloth/eval/ references absent from the current raw selection, as listed in the recorded-data guide. Text/window joins do not prove that every original raw recording is bundled. Annotation provenance fields and review flags should remain attached when redistributing or filtering this layer.