Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
image
imagewidth (px)
640
640
End of preview. Expand in Data Studio

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

MuJoCo Maze Dataset Metadata

This document describes the per-maze files produced by the maze generator and dataset collector. The detailed data dictionaries below are based on the supplied observations.jsonl and frames.jsonl examples and the generator's MazeConfig, topology, and graph-writing code.

1. Per-maze directory layout

Each generated maze is stored under dataset/mazes/<maze_id>/:

 dataset/
 ├── maze_names.txt
 └── mazes/
     └── maze_XXXXXX/
         ├── maze_config.json
         ├── maze_graph.json
         ├── maze_topology.json
         ├── maze_scene.xml
         ├── observations.parquet
         ├── observations.jsonl
         ├── frames.parquet
         ├── frames.jsonl
         ├── manifest.json
         └── images/
             └── car_1/
                 ├── obs_000000_front.png
                 ├── obs_000000_left.png
                 ├── obs_000000_right.png
                 └── ...

maze_names.txt is a dataset-level registry containing generated maze IDs, one per line. The files inside each maze_XXXXXX directory describe that particular maze and its collected data.

2. Coordinate and label conventions

  • Grid cells use (row, column) coordinates. (0, 0) is the northwest/start cell; (n-1, n-1) is the southeast/goal cell.
  • World +X points east (column increases). World +Y points north (row decreases).
  • Positions are in metres. Angles with _rad suffixes are in radians.
  • Yaw 0 points along world +X (east); positive yaw rotates counter-clockwise in the world XY plane.
  • Opening labels are binary (0 or 1) and multi-label. More than one direction can be open at the same cell; the four direction labels are not one-hot.
  • The capture protocol uses one physical camera and three sequential views per observation: front, left, and right. These are not three separate cameras.

3. observations.parquet / observations.jsonl

Both files contain the same observation-level records. Parquet is the columnar representation; JSONL stores one JSON object per line.

Grain: one row per recorded arrival/location visit. observation_uid is the primary identifier. Each observation is linked to its rendered image rows through frames.observation_uid.

The supplied example contains 74 observation rows: one entry_approach followed by cell_visit records. A cell can be visited more than once during the traversal, so observation rows are not equivalent to unique maze cells.

Column dictionary

Column Type Description
observation_uid string Unique observation key. Encodes maze, car, and zero-padded observation index, e.g. maze_000001_car1_obs000000. This is the join key used by frames.observation_uid.
maze_id string ID of the generated maze, e.g. maze_000001.
maze_seed integer Resolved topology-generation seed for this maze. This is the actual seed used, including when the input config requested a fresh seed.
maze_topology_path string Topology metadata filename associated with this observation; examples use maze_topology.json.
car_id integer Identifier for the car that produced the observation. The current single-car dataset uses 1.
observation_id integer Zero-based observation index within the maze/car sequence.
observation_type string Kind of observation. Values in the supplied data: entry_approach and cell_visit.
cell_row integer or null Row of the cell associated with this observation. Null for the external entry-approach observation.
cell_col integer or null Column of the cell associated with this observation. Null for the external entry-approach observation.
previous_cell_row integer or null Row of the previously traversed cell, when one exists. Null when there is no previous in-maze cell (e.g. the first cell visit).
previous_cell_col integer or null Column of the previously traversed cell, when one exists.
next_cell_row integer or null Row of the next cell in the planned traversal, when one exists. Null on the final recorded cell visit when there is no next in-maze cell.
next_cell_col integer or null Column of the next cell in the planned traversal, when one exists.
boundary_target string or null External boundary/gate associated with a boundary observation. The supplied entry record uses entry; ordinary cell visits use null. The current protocol does not record a post-exit image observation.
boundary_heading_rad float or null Heading associated with the boundary target, in world radians. The supplied entry record uses 0.0 (east); ordinary cell visits use null.
arrival_x float Car body-root X position in world coordinates at the observation's arrival state, in metres.
arrival_y float Car body-root Y position in world coordinates at the observation's arrival state, in metres.
arrival_z float Car body-root Z position in world coordinates at the observation's arrival state, in metres.
arrival_nav_x float X coordinate of the collector's navigation reference point associated with the arrival state. This is distinct from the car body-root position and is used for navigation bookkeeping.
arrival_nav_y float Y coordinate of the collector's navigation reference point associated with the arrival state.
arrival_heading_rad float Car heading/yaw at arrival, in world radians. Zero points east; positive values rotate counter-clockwise.
arrival_left_open integer (0/1) Ground-truth indicator that an opening exists to the car's left relative to arrival_heading_rad.
arrival_front_open integer (0/1) Ground-truth indicator that an opening exists in front of the car relative to arrival_heading_rad.
arrival_right_open integer (0/1) Ground-truth indicator that an opening exists to the car's right relative to arrival_heading_rad.
arrival_back_open integer (0/1) Ground-truth indicator that an opening exists behind the car relative to arrival_heading_rad.

Interpreting the observation labels

The four arrival_*_open columns encode the local passage configuration relative to the car's arrival heading. They are multi-label ground truth: for example, front=1 and right=1 can both be true at a junction. They describe maze topology, not a visual prediction.

For entry_approach, the car is outside the maze and faces east into the west entrance. In the supplied example, only arrival_front_open is set to 1. The first subsequent cell_visit is for cell (0, 0).

arrival_nav_x and arrival_nav_y are navigation-reference coordinates, not a second camera position. Use arrival_x/y/z for the car body's recorded arrival pose and the arrival_nav_* pair when reproducing or diagnosing the collector's navigation reference.

4. frames.parquet / frames.jsonl

Both files contain the same frame-level records. Parquet is the columnar representation; JSONL stores one JSON object per line.

Grain: one row per rendered image. Each observation normally contributes three frame rows, one for each view (front, left, right). observation_uid is a foreign key back to observations.observation_uid.

The supplied example contains 222 frame rows for 74 observations, matching the three-view capture protocol.

Column dictionary

Column Type Description
frame_id integer Zero-based frame index within the maze's frame sequence.
observation_uid string Foreign key to the observation that produced this frame. One observation UID appears on its front, left, and right frame rows.
view_name string View captured for this frame. Values in the supplied data: front, left, right.
image_path string Image path relative to the maze directory, e.g. images/car_1/obs_000000_front.png.
image_width integer Image width in pixels. The supplied example uses 640.
image_height integer Image height in pixels. The supplied example uses 480.
car_x float Car body-root X position in world coordinates at the instant this image was captured, in metres.
car_y float Car body-root Y position in world coordinates at the instant this image was captured, in metres.
car_z float Car body-root Z position in world coordinates at the instant this image was captured, in metres.
car_yaw_rad float Car yaw/heading at image capture, in world radians.
camera_x float Camera position X in world coordinates at image capture, in metres.
camera_y float Camera position Y in world coordinates at image capture, in metres.
camera_z float Camera position Z in world coordinates at image capture, in metres.
camera_forward_x float X component of the camera's forward/optical-axis direction vector in world coordinates.
camera_forward_y float Y component of the camera's forward/optical-axis direction vector in world coordinates.
camera_forward_z float Z component of the camera's forward/optical-axis direction vector in world coordinates.
camera_yaw_rad float Camera's world-frame yaw, in radians.
relative_camera_yaw_rad float Signed camera yaw relative to the car yaw, in radians. This distinguishes the front, left, and right orientations. Front is approximately 0; left and right are approximately +pi/2 and -pi/2, respectively.
sim_time float MuJoCo simulation time at the image capture, in seconds.
passage_ahead_exists_gt integer (0/1) Per-frame ground-truth label indicating whether a maze passage exists in the direction the camera is facing for this view. This label is derived from maze topology, not inferred from the pixels.
visual_review_status string Status/bookkeeping field present in the supplied frame records; the supplied example uses pending. It is not an opening label or model target.

Interpreting frame rows

  • The three views are captured sequentially with the same physical camera. Camera position and yaw can therefore differ between frame rows belonging to the same observation.
  • car_* and camera_* values are capture-time poses. They are not necessarily identical to the arrival pose stored in the corresponding observation row.
  • passage_ahead_exists_gt is aligned to the individual frame's camera direction. For example, the left frame carries the opening label for the car-left direction at that observation; the front frame carries the front-direction label.
  • There is no back image in the current three-view protocol. The back-opening label is retained in the observation-level table.

5. maze_config.json — resolved generator configuration

A JSON snapshot of the resolved MazeConfig used for the maze. It records the actual seed and resolved appearance values so the scene can be reproduced and audited. The generator also records appearance_seed for deterministic appearance sampling.

The fields are grouped around:

  • Grid/topology: n, cell_size, seed, loop_probability.
  • Wall geometry: wall_height, wall_thickness.
  • Appearance/materials: randomize_colors, wall_rgba, floor_rgba, car_rgba, plus wall/floor specular, shininess, and reflectance values.
  • Source/output: car_xml_path, output_dir.
  • Entry/exit placement: entry_staging_distance, exit_clearance.
  • Vehicle setup: add_second_car, second_car_gap (the current dataset setup uses one car).
  • Camera: camera_name, camera_pos, camera_xyaxes, camera_fovy.

RGBA values are four-component arrays. When colors are sampled, the resolved values are stored here rather than only storing the sampling instruction.

6. maze_topology.json — cell connectivity and gates

A compact topology record containing the parameters and passage structure used to build the maze. The generated file includes:

  • n, cell, cell_size: grid size and cell spacing (cell is retained as a compatibility alias for cell_size).
  • seed, loop_probability: topology seed and loop setting.
  • wall_height, wall_thickness: wall dimensions.
  • entry_staging_distance, exit_clearance: external gate staging/clearance distances.
  • external_gates: entry and exit gate metadata, including connected cell, gate boundary position, staging/clearance body position, and heading.
  • passages: list of open, undirected neighboring-cell pairs. Each pair is represented by two [row, column] coordinates.
  • graph_stats: cell count, edge count, and cycle_rank (independent cycle count). With loop_probability=0, a connected perfect maze has cycle rank 0.

7. maze_graph.json — cell graph and compressed topological graph

A graph representation derived from the same passages. It contains:

  • grid_size, cell_size, start, goal: grid and endpoint identifiers.
  • cells: every grid cell, with its id, row/column, world position, degree, and neighbor list. Each neighbor records cell_id, compass direction, and world_vector.
  • cell_edges: one record per undirected cell connection, with source and target cell IDs.
  • topological_nodes: junctions, dead ends, corners, start, and goal, with node type, degree, position, and exits. Straight corridor cells are generally compressed rather than retained as nodes.
  • topological_edges: compressed corridor connections between topological nodes. Each edge stores its source/target, ordered cell path, world-coordinate polyline, and metric length.
  • external_gates: entry/exit gate metadata, linked to the start and goal cells.

The cell graph preserves the full grid connectivity; the compressed graph makes the maze's higher-level structure easier to traverse and inspect.

8. maze_scene.xml — MuJoCo scene

The generated MuJoCo MJCF scene, built from the source car XML plus the maze-specific floor, walls, car placement, attached camera, and scene/material settings. It is the simulation scene loaded by the collector. The JSON metadata files are the structured records; this XML is the executable scene description.

9. manifest.json — collection summary

A per-maze summary of the collected dataset. The recorded manifest schema includes:

  • dataset_version: dataset schema/version string.
  • maze_id: maze identifier.
  • seed: resolved maze seed.
  • num_observations, num_frames: row counts for the two metadata tables.
  • observations_file, frames_file: Parquet filenames.
  • exit_completed: present in collector versions that write the exit-completion marker; older collections may not contain it.

The JSONL files mirror the corresponding Parquet table contents. The image files referenced by frames.image_path are stored under the maze's images/ directory.

10. Table relationships at a glance

maze_config.json ─┐
maze_topology.json ├── describe the generated maze
maze_graph.json ──┤
maze_scene.xml ────┘

observations.parquet / observations.jsonl
    observation_uid (primary key)
              │
              │ one-to-many
              ▼
frames.parquet / frames.jsonl
    observation_uid (foreign key)
              │
              ▼
      frames.image_path ──► images/car_1/*.png

The observation table is the location/arrival-level record and holds the four-direction topology labels. The frame table is the image-level record and holds capture-time camera/car poses plus the per-view passage_ahead_exists_gt label.

Downloads last month
11,573