The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 7 new columns ({'role', 'z0', 'y0', 'z1', 'y1', 'x0', 'x1'}) and 10 missing columns ({'voxel_y_um', 'voxel_x_um', 'size_z', 'size_x', 'size_y', 'brain', 'voxel_z_um', 'seed_y', 'seed_z', 'seed_x'}).
This happened while the csv dataset builder was generating data using
hf://datasets/Emulated-Inc/sci-mouselight-axon-tracing/train/segments.csv (at revision ec48db73d154aface8f563cb56f8949822aea3c1), ['hf://datasets/Emulated-Inc/sci-mouselight-axon-tracing@ec48db73d154aface8f563cb56f8949822aea3c1/train/crops.csv', 'hf://datasets/Emulated-Inc/sci-mouselight-axon-tracing@ec48db73d154aface8f563cb56f8949822aea3c1/train/segments.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1848, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 784, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 795, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
crop_id: string
neuron: string
role: string
x0: double
y0: double
z0: double
x1: double
y1: double
z1: double
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1245
to
{'crop_id': Value('string'), 'brain': Value('string'), 'neuron': Value('string'), 'size_x': Value('int64'), 'size_y': Value('int64'), 'size_z': Value('int64'), 'voxel_x_um': Value('float64'), 'voxel_y_um': Value('float64'), 'voxel_z_um': Value('float64'), 'seed_x': Value('int64'), 'seed_y': Value('int64'), 'seed_z': Value('int64')}
because column names don't match
During handling of the above exception, another exception occurred:
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 1694, 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 1850, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 7 new columns ({'role', 'z0', 'y0', 'z1', 'y1', 'x0', 'x1'}) and 10 missing columns ({'voxel_y_um', 'voxel_x_um', 'size_z', 'size_x', 'size_y', 'brain', 'voxel_z_um', 'seed_y', 'seed_z', 'seed_x'}).
This happened while the csv dataset builder was generating data using
hf://datasets/Emulated-Inc/sci-mouselight-axon-tracing/train/segments.csv (at revision ec48db73d154aface8f563cb56f8949822aea3c1), ['hf://datasets/Emulated-Inc/sci-mouselight-axon-tracing@ec48db73d154aface8f563cb56f8949822aea3c1/train/crops.csv', 'hf://datasets/Emulated-Inc/sci-mouselight-axon-tracing@ec48db73d154aface8f563cb56f8949822aea3c1/train/segments.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)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.
crop_id string | brain string | neuron string | size_x int64 | size_y int64 | size_z int64 | voxel_x_um float64 | voxel_y_um float64 | voxel_z_um float64 | seed_x int64 | seed_y int64 | seed_z int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|
t00001 | 2015-06-19 | G-010 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 83 | 45 | 47 |
t00002 | 2015-06-19 | G-005 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 89 | 65 | 11 |
t00003 | 2015-06-19 | G-005 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 108 | 111 | 28 |
t00004 | 2015-06-19 | G-007 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 74 | 82 | 52 |
t00005 | 2015-06-19 | G-007 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 91 | 95 | 29 |
t00006 | 2015-06-19 | G-007 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 54 | 93 | 19 |
t00007 | 2015-06-19 | G-003 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 54 | 64 | 31 |
t00008 | 2015-06-19 | G-003 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 73 | 97 | 27 |
t00009 | 2015-06-19 | G-003 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 51 | 88 | 34 |
t00010 | 2015-06-19 | G-005 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 73 | 57 | 43 |
t00011 | 2015-06-19 | G-005 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 68 | 58 | 39 |
t00012 | 2015-06-19 | R-002 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 18 | 72 | 40 |
t00013 | 2015-06-19 | R-002 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 17 | 71 | 21 |
t00014 | 2015-06-19 | G-007 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 45 | 47 | 17 |
t00015 | 2015-06-19 | G-007 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 29 | 50 | 8 |
t00016 | 2015-06-19 | G-005 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 63 | 62 | 38 |
t00017 | 2015-06-19 | G-005 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 55 | 72 | 21 |
t00018 | 2015-06-19 | G-005 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 65 | 64 | 29 |
t00019 | 2015-06-19 | G-007 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 35 | 28 | 23 |
t00020 | 2015-06-19 | G-007 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 34 | 16 | 52 |
t00021 | 2015-06-19 | G-007 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 56 | 59 | 35 |
t00022 | 2015-06-19 | G-003 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 68 | 75 | 36 |
t00023 | 2015-06-19 | G-003 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 79 | 66 | 33 |
t00024 | 2015-06-19 | G-003 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 82 | 92 | 29 |
t00025 | 2015-06-19 | G-006 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 19 | 35 | 39 |
t00026 | 2015-06-19 | G-005 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 71 | 50 | 32 |
t00027 | 2015-06-19 | G-003 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 50 | 61 | 38 |
t00028 | 2015-06-19 | G-010 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 71 | 41 | 39 |
t00029 | 2015-06-19 | G-010 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 38 | 60 | 32 |
t00030 | 2015-06-19 | G-010 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 94 | 45 | 46 |
t00031 | 2015-06-19 | G-004 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 66 | 59 | 40 |
t00032 | 2015-06-19 | G-004 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 85 | 16 | 26 |
t00033 | 2015-06-19 | G-004 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 69 | 59 | 18 |
t00034 | 2015-06-19 | G-001 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 84 | 71 | 28 |
t00035 | 2015-06-19 | G-006 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 50 | 67 | 35 |
t00036 | 2015-06-19 | G-006 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 16 | 90 | 26 |
t00037 | 2015-06-19 | G-006 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 31 | 111 | 30 |
t00038 | 2015-06-19 | G-010 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 52 | 57 | 27 |
t00039 | 2015-06-19 | G-010 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 48 | 82 | 22 |
t00040 | 2015-06-19 | G-010 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 70 | 70 | 32 |
t00041 | 2015-06-19 | G-008 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 58 | 69 | 30 |
t00042 | 2015-06-19 | G-005 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 53 | 80 | 24 |
t00043 | 2015-06-19 | G-010 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 43 | 83 | 36 |
t00044 | 2015-06-19 | G-012 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 86 | 16 | 41 |
t00045 | 2015-06-19 | G-010 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 71 | 16 | 45 |
t00046 | 2015-06-19 | G-010 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 34 | 16 | 13 |
t00047 | 2015-06-19 | G-006 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 49 | 95 | 45 |
t00048 | 2015-06-19 | R-006 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 48 | 81 | 30 |
t00049 | 2015-06-19 | G-007 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 46 | 75 | 26 |
t00050 | 2015-06-19 | G-007 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 67 | 80 | 30 |
t00051 | 2015-06-19 | G-007 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 49 | 65 | 27 |
t00052 | 2015-06-19 | G-005 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 100 | 64 | 25 |
t00053 | 2015-06-19 | G-004 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 59 | 61 | 49 |
t00054 | 2015-06-19 | G-004 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 34 | 94 | 39 |
t00055 | 2015-06-19 | G-004 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 52 | 39 | 51 |
t00056 | 2015-06-19 | G-003 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 71 | 86 | 53 |
t00057 | 2015-06-19 | G-003 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 44 | 59 | 55 |
t00058 | 2015-06-19 | G-003 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 59 | 56 | 54 |
t00059 | 2015-06-19 | G-010 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 57 | 52 | 47 |
t00060 | 2015-06-19 | G-008 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 60 | 91 | 28 |
t00061 | 2015-06-19 | G-010 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 74 | 87 | 39 |
t00062 | 2015-06-19 | G-010 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 45 | 44 | 35 |
t00063 | 2015-06-19 | G-010 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 16 | 83 | 20 |
t00064 | 2015-06-19 | G-005 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 45 | 20 | 27 |
t00065 | 2015-06-19 | G-003 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 25 | 16 | 30 |
t00066 | 2015-06-19 | G-003 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 56 | 58 | 39 |
t00067 | 2015-06-19 | G-001 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 44 | 102 | 28 |
t00068 | 2015-06-19 | G-006 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 67 | 54 | 32 |
t00069 | 2015-06-19 | G-006 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 45 | 83 | 32 |
t00070 | 2015-06-19 | G-006 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 51 | 75 | 19 |
t00071 | 2015-06-19 | R-006 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 55 | 64 | 31 |
t00072 | 2015-06-19 | G-005 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 53 | 27 | 16 |
t00073 | 2015-06-19 | G-005 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 46 | 41 | 23 |
t00074 | 2015-06-19 | G-008 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 58 | 68 | 34 |
t00075 | 2015-06-19 | G-010 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 50 | 57 | 8 |
t00076 | 2015-06-19 | G-008 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 71 | 75 | 34 |
t00077 | 2015-06-19 | G-005 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 33 | 77 | 42 |
t00078 | 2015-06-19 | G-010 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 65 | 102 | 21 |
t00079 | 2015-06-19 | G-010 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 28 | 77 | 36 |
t00080 | 2015-06-19 | G-003 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 90 | 54 | 34 |
t00081 | 2015-06-19 | G-003 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 77 | 16 | 29 |
t00082 | 2015-06-19 | G-008 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 31 | 84 | 45 |
t00083 | 2015-06-19 | G-006 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 54 | 82 | 32 |
t00084 | 2015-06-19 | G-008 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 81 | 52 | 32 |
t00085 | 2015-06-19 | G-003 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 57 | 81 | 22 |
t00086 | 2015-06-19 | G-003 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 71 | 49 | 38 |
t00087 | 2015-06-19 | G-003 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 67 | 78 | 26 |
t00088 | 2015-06-19 | G-012 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 72 | 110 | 22 |
t00089 | 2015-06-19 | G-012 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 97 | 45 | 35 |
t00090 | 2015-06-19 | G-012 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 70 | 62 | 32 |
t00091 | 2015-06-19 | G-012 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 74 | 53 | 27 |
t00092 | 2015-06-19 | G-003 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 83 | 75 | 32 |
t00093 | 2015-06-19 | G-006 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 40 | 24 | 14 |
t00094 | 2015-06-19 | G-005 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 44 | 82 | 23 |
t00095 | 2015-06-19 | R-001 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 68 | 90 | 42 |
t00096 | 2015-06-19 | G-011 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 61 | 77 | 27 |
t00097 | 2015-06-19 | G-003 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 58 | 55 | 31 |
t00098 | 2015-06-19 | G-005 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 61 | 78 | 19 |
t00099 | 2015-06-19 | G-003 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 51 | 56 | 22 |
t00100 | 2015-06-19 | G-001 | 128 | 128 | 64 | 0.5013 | 0.5066 | 1.0022 | 69 | 93 | 28 |
MouseLight axon crops
Crops of whole-brain serial two-photon tomography of sparsely labelled mouse brains, cut along the axons of
hand-traced neurons, with the tracings mapped into each crop: 7,144 crops from 30 brains imaged 2015 to 2019.
train/crops.csv lists the crops, train/<crop_id>.npy holds each image (uint8, z y x channel) and
train/segments.csv the traced centrelines.
Source: Janelia MouseLight imagery and tracings, AWS Open Data registry janelia-mouselight
(bucket janelia-mouselight-imagery), Creative Commons Attribution 4.0 International. Winnubst et al.,
"Reconstruction of 1,000 projection neurons reveals new cell types and organization of long-range connectivity in
the mouse brain", Cell 179 (2019), https://doi.org/10.1016/j.cell.2019.07.042. Changes: crops of the finest octree
level, channels reordered so channel 0 is the traced neuron's fluorophore, tracings mapped to crop voxel
coordinates.
- Downloads last month
- 248