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:    AttributeError
Message:      'str' object has no attribute 'get'
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 274, 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 3074, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2591, in __iter__
                  example = _apply_feature_types_on_example(
                      example, self.features, token_per_repo_id=self.token_per_repo_id
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2508, in _apply_feature_types_on_example
                  encoded_example = features.encode_example(example)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 2252, in encode_example
                  return encode_nested_example(self, example)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1526, in encode_nested_example
                  {k: encode_nested_example(schema[k], obj.get(k), level=level + 1) for k in schema}
                      ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1526, in encode_nested_example
                  {k: encode_nested_example(schema[k], obj.get(k), level=level + 1) for k in schema}
                      ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1526, in encode_nested_example
                  {k: encode_nested_example(schema[k], obj.get(k), level=level + 1) for k in schema}
                                                       ^^^^^^^
              AttributeError: 'str' object has no attribute 'get'

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.

ShipBenchv2

ShipBenchv2 contains 224 quasi-steady OpenFOAM snapshots across 169 hull geometries. It pairs free-surface fields with wetted-hull surface pressure for calm-water ship hydrodynamics. The dataset includes 66 operating cases for 11 classic hulls and 158 cases for morphed hulls. The companion APPv2 repository provides the PyTorch loader, training, and evaluation scripts.

Download and unpack

Download the four shipbench-v2-*-of-04.tar.gz archives and SHA256SUMS. Check the archives before extracting them. From the APPv2 repository root, run the following with download_dir set to the directory containing the files:

(cd "$download_dir" && shasum -a 256 -c SHA256SUMS)
mkdir -p dataset
for archive in "$download_dir"/shipbench-v2-*-of-04.tar.gz; do
  tar -xzf "$archive" -C dataset
done

The archives share the shipbench/ root. Archive 01 also contains index.json, splits_multihull.json, and the three normalization files. The resulting dataset/shipbench/ layout is ready for the APPv2 loader.

Data fields

Each sample has a meta.json with flow conditions, geometry scales, channel definitions, and a CFD case identifier. NumPy arrays use float32. File-level coordinates, wave elevation, and signed distances are in meters, velocities are in meters per second, pressure is in pascals, and quadrature weights are in square meters.

Files Contents
flow_points.npy, flow_sdf.npy Free-surface coordinates and distance to the hull waterline outline
flow_target.npy Wave elevation eta, velocity components u, v, w, and free-surface p_rgh
flow_quad_weights.npy Free-surface integration weights
hull_points.npy, hull_uv.npy, hull_normals.npy Wetted-hull geometry, surface parameters, and normals
hull_pressure.npy, hull_quad_weights.npy Wetted-hull p_rgh and vertex area weights

The loader scales coordinates and wave elevation by ship length, velocities by the incoming speed, and pressure by dynamic pressure. It uses each split's training statistics for standardization. Arrays cover the starboard half-domain. The samples represent computed fields at selected operating points, with geometry and numerical settings described in the paper. The release includes processed snapshots and metadata.

Benchmark splits

Split Training Held out Protocol
random_seed0 190 34 Random snapshot holdout
loto_kvlcc2 218 6 All six operating cases of the classic KVLCC2 hull held out
lofo_fr_design 213 11 Design-speed case of each classic hull held out

The held-out sets are used for checkpoint selection and benchmark reporting.

License

The processed ShipBenchv2 release is distributed under the MIT License.

Downloads last month
49