Skip to main content

robotdataset

Publish to PyPI

robotdataset is a Python library for loading robot learning datasets from multiple sources (Google Cloud Storage, HuggingFace Hub) into the TorchRL TED format (TorchRL Episode Data), backed by memory-mapped tensors for efficient use in deep-learning training pipelines.

Documentation

Page Covers
Overview & TED format Library scope, architecture, the TED format, caching
OXE datasets OXEDataset, list_datasets, validate_dataset_name, dataset2path
OXE JAX datasets OXEJAXDataset — NumPy/JAX batch path
Table30v2 Table30v2Dataset (RoboChallenge/Table30v2, HuggingFace)
AgiBotWorld-Beta AgiBotWorldBetaDataset, list_agibot_tasks
LeRobot video LeRobotVideoDataset (any LeRobot v2.1 repo with external mp4 video, HuggingFace)
Statistics generate_stats() / statistics, per-episode records, GR00T export
Dataset info DatasetInfo, python -m robotdataset.info: a model-agnostic modality listing as an editable YAML
Model adapters Gr00tAdapter: modality selection, sampling windows, GR00T configs, steps and statistics from that YAML
Samplers TemporalSampler, EpisodeTubeletSampler, JAXTemporalSampler
Visualization batchViz, itemViz, episodeViz

Quick start

# All dataset backends (recommended)
pip install "robotdataset[all]"

# Or install only what you need:
pip install "robotdataset[oxe]"   # OXE / GCS datasets (requires TensorFlow)
pip install "robotdataset[hf]"    # HuggingFace datasets (Table30v2, AgiBotWorld-Beta)
from robotdataset import OXEDataset, TemporalSampler, batchViz

# Load two episodes of an OXE dataset (streams from GCS, caches locally)
dataset = OXEDataset(
    dataset_name="cmu_playing_with_food",
    episodes=[0, 2],
    batch_size=6,
)

# Attach a temporal sampler: each sample carries a 10-frame image history
sampler = TemporalSampler(
    delta_timestamps={"observation/image": [-0.9, -0.8, -0.7, -0.6, -0.5,
                                            -0.4, -0.3, -0.2, -0.1, 0.0]},
    control_frequency=10,
)
dataset.set_sampler(sampler)

batch = dataset.sample()
batch["observation/image"].shape   # (6, 10, 480, 640, 3) — (B, T, H, W, C)

# Visualize the batch as an animated mosaic
batchViz(batch, key="observation/image", fps=8)

batchViz output — 6 items from cmu_playing_with_food, observation/image, 10-frame window at 8 fps

Dataset status

All loaders are in alpha — APIs may change without notice between releases.

Dataset Class Source Status
Open X-Embodiment (OXE) OXEDataset gs://gresearch/robotics Alpha (usable, not stable)
Open X-Embodiment (JAX path) OXEJAXDataset gs://gresearch/robotics Alpha (JAX path)
Table30 v2 Table30v2Dataset RoboChallenge/Table30v2 (HF) Alpha
AgiBotWorld-Beta AgiBotWorldBetaDataset agibot-world/AgiBotWorld-Beta (HF) Alpha
LeRobot (external video) LeRobotVideoDataset any LeRobot v2.1 repo (HF) Alpha
LIBERO — openvla/modified_libero_rlds (HF) Planned

Public API

Everything below is importable directly from the top-level package:

from robotdataset import (
    # Dataset classes
    OXEDataset, OXEJAXDataset, Table30v2Dataset, AgiBotWorldBetaDataset, LeRobotVideoDataset,
    # Samplers
    TemporalSampler, EpisodeTubeletSampler, JAXTemporalSampler,
    # Discovery helpers
    list_datasets, validate_dataset_name, dataset2path, list_agibot_tasks,
    # Visualization
    batchViz, itemViz, episodeViz,
)

OXEJAXDataset and JAXTemporalSampler are None when JAX is not installed — they are optional-dependency imports.

License

MIT — see LICENSE.

Metadata

Release files for robotdataset 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for robotdataset 0.4.0
File Size Uploaded Provenance Actions
robotdataset-0.4.0.tar.gz 132.8 kB With provenance Details for robotdataset-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for robotdataset 0.4.0
File Interpreter ABI Platform Actions
robotdataset-0.4.0-py3-none-any.whl Python 3 none any Details for robotdataset-0.4.0-py3-none-any.whl

Total release size: 246.7 kB

Release files / robotdataset-0.4.0.tar.gz

Download URL robotdataset-0.4.0.tar.gz
Size 132.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6fe9e78a06888c12332b11c09a9df4530d75acc4bdba071a7e361c855dc954f7
BLAKE2b-256 checksum
How to use checksums
2e56c9a4bc1a862945618fa3e0e4e8905d0defe8e2e5401adcb19585181eb9df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / robotdataset-0.4.0-py3-none-any.whl

Download URL robotdataset-0.4.0-py3-none-any.whl
Size 113.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97a32ce65e2dc63ed3e780564b61172c8a54383c33a0d61d207940778db5b414
BLAKE2b-256 checksum
How to use checksums
ea17f093b897eda3af73a8fc596d085b1eed4b03c870c8c68e160807cc9dffdf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Security for robotdataset 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for robotdataset-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page