Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    ArrowInvalid
Message:      Integer value 353 not in range: 0 to 255
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1816, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/hdf5/hdf5.py", line 91, in _generate_tables
                  yield Key(file_idx, batch_idx), cast_table_to_features(pa_table, self.info.features)
                                                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2276, in cast_table_to_features
                  arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]
                            ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1852, 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 2143, 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 1854, in wrapper
                  return func(array, *args, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1935, in array_cast
                  return pa_type.wrap_array(_c(array, pa_type.storage_type))
                                            ~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1854, in wrapper
                  return func(array, *args, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1970, in array_cast
                  return pa.ListArray.from_arrays(array_offsets, _c(array.values, pa_type.value_type))
                                                                 ~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1854, in wrapper
                  return func(array, *args, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1970, in array_cast
                  return pa.ListArray.from_arrays(array_offsets, _c(array.values, pa_type.value_type))
                                                                 ~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1854, in wrapper
                  return func(array, *args, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2006, in array_cast
                  return array.cast(pa_type)
                         ~~~~~~~~~~^^^^^^^^^
                File "pyarrow/array.pxi", line 1147, in pyarrow.lib.Array.cast
                File "/usr/local/lib/python3.14/site-packages/pyarrow/compute.py", line 412, in cast
                  return call_function("cast", [arr], options, memory_pool)
                File "pyarrow/_compute.pyx", line 604, in pyarrow._compute.call_function
                File "pyarrow/_compute.pyx", line 399, in pyarrow._compute.Function.call
                  result = GetResultValue(
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                  return check_status(status)
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
                  raise convert_status(status)
              pyarrow.lib.ArrowInvalid: Integer value 353 not in range: 0 to 255
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1683, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1869, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

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.

main
array 2D
[ [ 128, 137, 141, 147, 143, 145, 140, 144, 140, 138, 143, 132, 138, 136, 134, 133, 134, 131, 132, 137, 142, 135, 139, 146, 139, 148, 147, 139, 149, 155, 143, 141, 140, 143, 147,...
[[147,146,145,144,144,150,149,152,148,142,141,144,137,132,133,134,130,134,139,140,135,135,131,139,13(...TRUNCATED)
[[160,154,150,154,149,151,149,148,148,153,146,144,135,140,129,134,140,132,129,136,137,137,134,137,13(...TRUNCATED)
[[148,145,151,153,151,153,144,153,148,150,143,142,134,137,137,149,139,124,145,149,139,134,143,144,13(...TRUNCATED)
[[156,156,153,150,151,159,152,155,153,153,144,134,136,141,131,129,141,135,133,146,135,137,135,138,13(...TRUNCATED)
[[156,157,156,155,156,144,158,149,154,153,143,139,145,139,135,140,144,138,140,152,149,139,133,131,13(...TRUNCATED)
[[161,167,160,163,156,150,153,152,156,154,147,139,146,141,139,139,145,147,141,147,151,139,140,139,13(...TRUNCATED)
[[177,172,168,166,160,157,161,153,145,147,149,134,142,144,149,155,154,148,148,141,146,145,147,145,14(...TRUNCATED)
[[161,177,171,164,165,159,167,160,146,150,155,142,144,138,150,156,156,159,156,144,144,143,151,148,15(...TRUNCATED)
[[168,170,167,169,167,160,162,169,156,144,141,146,148,141,149,151,157,161,154,141,146,145,144,145,15(...TRUNCATED)
End of preview.

NucMM-M Dataset (Mouse)

3D Neuronal Nuclei Segmentation in Mouse Brain Electron Microscopy.

Dataset Structure

├── Image/
│   ├── train/
│   │   ├── img_000_200_200.h5
│   │   ├── img_000_604_576.h5
│   │   ├── img_508_200_576.h5
│   │   └── img_508_604_200.h5
│   └── val/
│       ├── img_000_200_576.h5
│       ├── img_000_604_200.h5
│       ├── img_508_200_200.h5
│       └── img_508_604_576.h5
└── Label/
    ├── train/
    │   └── seg_*.h5
    └── val/
        └── seg_*.h5

Label Information

  • Original: Instance segmentation (each nucleus has unique ID)
  • Classes: Background (0) + Nuclei instances (1, 2, 3, ...)

Related Datasets

Usage

from huggingface_hub import hf_hub_download
import h5py

# Download a volume
local_path = hf_hub_download(
    repo_id="Angelou0516/NucMM-M",
    filename="Image/train/img_000_200_200.h5",
    repo_type="dataset"
)

# Load with h5py
with h5py.File(local_path, 'r') as f:
    volume = f[list(f.keys())[0]][:]
    print(volume.shape)  # (200, 200, 200)

Citation

If you use this dataset, please cite the NucMM paper:

@inproceedings{lin2021nucmm,
  title={NucMM Dataset: 3D Neuronal Nuclei Instance Segmentation at Sub-Cubic Millimeter Scale},
  author={Lin, Zudi and Wei, Donglai and Lichtman, Jeff and Bhanu, Bir and Bhattacharjee, Sumit and Bhavsar, Khushali and Bhosale, Pratik and Bhunre, Sandhya and others},
  booktitle={MICCAI},
  year={2021}
}
Downloads last month
53