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:    TypeError
Message:      Couldn't cast array of type double to null
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                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 129, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 544, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3052, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2559, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2584, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 558, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 440, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 361, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2315, in cast_table_to_schema
                  cast_array_to_feature(
                  ~~~~~~~~~~~~~~~~~~~~~^
                      table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                      feature,
                      ^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1861, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                                           ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2155, in cast_array_to_feature
                  return array_cast(
                      array,
                  ...<2 lines>...
                      allow_decimal_to_str=allow_decimal_to_str,
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1863, in wrapper
                  return func(array, *args, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2014, in array_cast
                  raise TypeError(f"Couldn't cast array of type {_short_str(array.type)} to {_short_str(pa_type)}")
              TypeError: Couldn't cast array of type double to null

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.

SMWM analysis data

Analysis inputs for Sensorimotor World Models: Perception for Action via Inverse Dynamics. Paper · Code · Checkpoints

Contents

Path Contents
embeddings/<environment>/<method>/{train,eval}_embeddings.pt Frozen seed-0 embeddings, physical targets and source-row indices: 25,000 train / 5,000 eval rows, 192 dimensions. Methods: smwm, sigreg, forward_only.
eval/<run>/goal25_budget50/metrics.json 120 planning evaluations: five training seeds per learned method and five Random policy repeats in each environment. Contains all 100 episode outcomes per run.
samples/<environment>/{train,eval}.h5 Small image/physical-state samples: first 1,000 training and 200 evaluation rows of the analysis subsets.
images/<environment>/{train,eval}.h5 Complete analysis subsets: 25,000 training and 5,000 evaluation rows, including images and physical targets. Optional for re-encoding the full subsets.

Environments: tworoom, reacher, pusht, ogbcube. Training/evaluation episodes are disjoint (90/10 split, seed 3072). The small samples are subsets of the full analysis files, not additional data. The embedding payloads contain embeddings, arrays, array_manifest, and metadata. HDF5 files retain physical quantities, actions, images, and source-row indices.

Quickstart

From a clone of the code repository with its environment installed:

from huggingface_hub import snapshot_download

snapshot_download(
    "petr-ivashkov/smwm-analysis", repo_type="dataset", revision="v1.0",
    local_dir="planning/outputs",
    allow_patterns=["embeddings/**", "eval/**", "samples/tworoom/*"],
)

Load an embedding payload on CPU with:

import torch
payload = torch.load(
    "planning/outputs/embeddings/tworoom/smwm/eval_embeddings.pt",
    map_location="cpu", weights_only=True,
)
print(payload["embeddings"].shape)  # torch.Size([5000, 192])

The code repository provides PCA, physical-probe, and planning-results notebooks. Physical probes fit on training embeddings and report evaluation R². Planning summaries report mean ± sample STD across five seeds; Random uses five policy repeats.

Add images/<environment>/* to download full image subsets. The code README shows how to encode either sample size using a released checkpoint.

Sources and license

These are analysis subsets and outputs derived from the MIT-licensed LeWorldModel datasets:

Full training datasets are linked in the code repository's planning README. Credit: Lucas Maes and the LeWorldModel dataset authors. MIT license: see LICENSE.

Downloads last month
74

Paper for petr-ivashkov/smwm-analysis