Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    IndexError
Message:      tuple index out of range
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
                  return get_rows(
                         ^^^^^^^^^
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/utils.py", line 77, in get_rows
                  rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2543, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2060, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2083, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 544, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 383, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/hdf5/hdf5.py", line 80, in _generate_tables
                  num_rows = _check_dataset_lengths(h5, self.info.features)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/hdf5/hdf5.py", line 358, in _check_dataset_lengths
                  if dset.shape[0] != num_rows:
                     ~~~~~~~~~~^^^
              IndexError: tuple index out of range

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

DR_dataset

Simulated robot manipulation dataset for imitation learning.

Dataset Description

This dataset contains 200 episodes of a Trossen WXAI robotic arm performing food transfer tasks in MuJoCo simulation.

Task Description

The robot performs a scooping motion to transfer food from a source container to target bowls:

  1. HOME - Start at home position
  2. APPROACH_CONTAINER - Move above the source container
  3. REACH_CONTAINER - Lower into container
  4. SCOOP - Perform scooping motion (wrist rotation)
  5. LIFT - Lift from container
  6. APPROACH_BOWL - Move above target bowl
  7. LOWER_BOWL - Lower to bowl
  8. DUMP - Rotate wrist to dump food
  9. RETURN - Return to home position

Dataset Structure

ganatrask/DR_dataset/
β”œβ”€β”€ README.md
β”œβ”€β”€ manifest.json
└── data/
    β”œβ”€β”€ batch_000/
    β”‚   β”œβ”€β”€ episode_0.hdf5
    β”‚   β”œβ”€β”€ episode_1.hdf5
    β”‚   β”œβ”€β”€ ...
    β”‚   └── videos/
    β”‚       β”œβ”€β”€ episode_0.mp4
    β”‚       β”œβ”€β”€ episode_1.mp4
    β”‚       └── ...
    β”œβ”€β”€ batch_001/
    └── ...

HDF5 Episode Format

Each episode_X.hdf5 file contains:

episode_X.hdf5
β”œβ”€β”€ observations/
β”‚   β”œβ”€β”€ images/
β”‚   β”‚   β”œβ”€β”€ main_view  (T, 480, 640, 3) uint8 - overhead camera
β”‚   β”‚   └── cam        (T, 480, 640, 3) uint8 - wrist camera
β”‚   β”œβ”€β”€ qpos           (T, 8) float64 - joint positions
β”‚   └── qvel           (T, 8) float64 - joint velocities
β”œβ”€β”€ action             (T, 8) float64 - joint commands
β”œβ”€β”€ success            bool - episode success flag
β”œβ”€β”€ env_state/
β”‚   β”œβ”€β”€ source_container  (7,) float64 - [x,y,z,qw,qx,qy,qz]
β”‚   β”œβ”€β”€ target_container  (7,) float64 - target bowl pose
β”‚   └── bowl_*            (7,) float64 - all bowl poses
└── attrs:
    β”œβ”€β”€ sim: True
    β”œβ”€β”€ source: "food_transfer_ik"
    β”œβ”€β”€ target: bowl name
    β”œβ”€β”€ dr_enabled: bool
    └── dr_config: JSON (if DR enabled)

MP4 Videos

Each episode has a corresponding MP4 video showing both camera views side-by-side at 50 FPS.

Robot Configuration

  • Robot: Trossen WXAI 6-DOF robotic arm
  • End-effector: Spoon attached to wrist
  • Joints: 6 arm joints + 2 gripper joints
  • Action space: 8-dimensional joint position commands
  • Cameras: Overhead (main_view) + Wrist-mounted (cam)
  • Image resolution: 640x480 RGB

Domain Randomization

This dataset was generated with geometric domain randomization:

Parameter Value
Position noise Β±3.0 cm
Rotation noise Β±0.10 rad
Container rotation Β±0.15 rad
Bowl count range 1 - 8
Min object spacing 12.0 cm
Container randomization Yes
90-degree rotation No

Visual Domain Randomization

This dataset includes visual domain randomization:

Parameter Value
Table textures 100 variations
Floor textures 100 variations
Container color Randomized
Bowl color Fixed
Lighting Randomized
Light position noise Β±0.3 m
Light intensity range 0.5 - 1.2x

Usage

Loading with Python

import h5py
from huggingface_hub import hf_hub_download

# Download a single episode
path = hf_hub_download(
    repo_id="ganatrask/DR_dataset",
    filename="data/batch_000/episode_0.hdf5",
    repo_type="dataset"
)

# Load the episode
with h5py.File(path, "r") as f:
    images = f["/observations/images/main_view"][:]
    actions = f["/action"][:]
    qpos = f["/observations/qpos"][:]
    success = f["success"][()]

print(f"Episode length: {{len(actions)}} timesteps")
print(f"Success: {{success}}")

Loading with datasets library

from datasets import load_dataset

# Load manifest to get episode list
dataset = load_dataset("ganatrask/DR_dataset", split="train")

Citation

If you use this dataset, please cite:

@misc{{{repo_id.split('/')[-1].replace('-', '_')}},
    title={{{repo_id.split('/')[-1]}}},
    author={{Trossen Robotics}},
    year={{{datetime.now().year}}},
    publisher={{HuggingFace}},
    url={{https://huggingface.co/datasets/ganatrask/DR_dataset}}
}}

License

This dataset is released under the MIT License.

Additional Information

  • Total batches: 20
  • Failed episodes: 0

Generated on 2026-01-26 21:06:40 using trossen_arm_mujoco

Downloads last month
775