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)
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.2.4

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.2.4
File Size Uploaded
robotdataset-0.2.4.tar.gz 78.1 kB Details

Built distribution (wheel)

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

Total release size: 151.4 kB

Release files / robotdataset-0.2.4.tar.gz

Download URL robotdataset-0.2.4.tar.gz
Size 78.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0462b006e516060b68455c6746951dc5ca751bda1dcec0f1c8e3d4e96c529e72
BLAKE2b-256 checksum
How to use checksums
ce9cf32d2b6ea643ea38594a5fe2d6c12c9ab74c4d34b5f1d2b029b7138f545d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 27, 2026.

Transparency log

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

Download URL robotdataset-0.2.4-py3-none-any.whl
Size 73.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e92bcabc8a02f9efef27ce1a40c35be383c2beddc8519e73bc2b77d48cff6e56
BLAKE2b-256 checksum
How to use checksums
4d2e37805b21bae68c63c9b9aef849ad3149638baf746ebd3ebe2840c19be928
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 27, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.1

2 release files

0.1.0

2 release files

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