A TorchRL wrapper for robot learning datasets.
Project description
robotdataset
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 |
| 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)
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 |
| 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,
# 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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file robotdataset-0.1.5.tar.gz.
File metadata
- Download URL: robotdataset-0.1.5.tar.gz
- Upload date:
- Size: 66.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35ed14e4f5acd6e49aba47ff925de66d4e5e4014c3f2e67574fa850ee5fec8f4
|
|
| MD5 |
ee3a8429c1359ef9613afcbbfe456ca7
|
|
| BLAKE2b-256 |
a6a9ca40528fcab78a2e03fc3db6163729b8f2e2bc8871e53e154b2dc19bb825
|
Provenance
The following attestation bundles were made for robotdataset-0.1.5.tar.gz:
Publisher:
publish.yml on svaichu/robotdataset
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
robotdataset-0.1.5.tar.gz -
Subject digest:
35ed14e4f5acd6e49aba47ff925de66d4e5e4014c3f2e67574fa850ee5fec8f4 - Sigstore transparency entry: 1801162839
- Sigstore integration time:
-
Permalink:
svaichu/robotdataset@134b38f57e2ac07f49d292667a386ae395c6ebd4 -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/svaichu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@134b38f57e2ac07f49d292667a386ae395c6ebd4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file robotdataset-0.1.5-py3-none-any.whl.
File metadata
- Download URL: robotdataset-0.1.5-py3-none-any.whl
- Upload date:
- Size: 61.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dff921ee0b782804feb3806b07a384136140fa34c2faa181552e0fa9160a56ce
|
|
| MD5 |
d83dcb69aa71b07fa636f8c6fa5f17ec
|
|
| BLAKE2b-256 |
e717280c855bf5887cdb27a6ffab4c8114bc6fecf021c1d5ada101cb409c48cd
|
Provenance
The following attestation bundles were made for robotdataset-0.1.5-py3-none-any.whl:
Publisher:
publish.yml on svaichu/robotdataset
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
robotdataset-0.1.5-py3-none-any.whl -
Subject digest:
dff921ee0b782804feb3806b07a384136140fa34c2faa181552e0fa9160a56ce - Sigstore transparency entry: 1801163251
- Sigstore integration time:
-
Permalink:
svaichu/robotdataset@134b38f57e2ac07f49d292667a386ae395c6ebd4 -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/svaichu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@134b38f57e2ac07f49d292667a386ae395c6ebd4 -
Trigger Event:
push
-
Statement type: