Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
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 1 new columns ({'Image_name;Patient_num;Plane;Brain_plane;Operator;US_Machine;Train '}) and 5 missing columns ({'License', 'Name', 'Zip', 'S.No', 'Source'}).
This happened while the csv dataset builder was generating data using
zip://FETAL_PLANES_DB_data.csv::/tmp/hf-datasets-cache/medium/datasets/12334445628713-config-parquet-and-info-us-segmentator-us-segment-adeee747/hub/datasets--us-segmentator--us-segmentation-dataset/snapshots/cf3166bb01d0223ebbebed8d7c824a587beec056/zips/Fetus/fetal_planes.zip, [/tmp/hf-datasets-cache/medium/datasets/12334445628713-config-parquet-and-info-us-segmentator-us-segment-adeee747/hub/datasets--us-segmentator--us-segmentation-dataset/snapshots/cf3166bb01d0223ebbebed8d7c824a587beec056/dataset_meta.csv (origin=hf://datasets/us-segmentator/us-segmentation-dataset@cf3166bb01d0223ebbebed8d7c824a587beec056/dataset_meta.csv), /tmp/hf-datasets-cache/medium/datasets/12334445628713-config-parquet-and-info-us-segmentator-us-segment-adeee747/hub/datasets--us-segmentator--us-segmentation-dataset/snapshots/cf3166bb01d0223ebbebed8d7c824a587beec056/zips/Fetus/fetal_planes.zip (origin=hf://datasets/us-segmentator/us-segmentation-dataset@cf3166bb01d0223ebbebed8d7c824a587beec056/zips/Fetus/fetal_planes.zip)]
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.12/site-packages/datasets/builder.py", line 1887, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 674, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
Image_name;Patient_num;Plane;Brain_plane;Operator;US_Machine;Train : string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 497
to
{'S.No': Value('null'), 'Name': Value('null'), 'Source': Value('null'), 'License': Value('null'), 'Zip': Value('null')}
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 1347, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 884, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1736, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1889, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
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 1 new columns ({'Image_name;Patient_num;Plane;Brain_plane;Operator;US_Machine;Train '}) and 5 missing columns ({'License', 'Name', 'Zip', 'S.No', 'Source'}).
This happened while the csv dataset builder was generating data using
zip://FETAL_PLANES_DB_data.csv::/tmp/hf-datasets-cache/medium/datasets/12334445628713-config-parquet-and-info-us-segmentator-us-segment-adeee747/hub/datasets--us-segmentator--us-segmentation-dataset/snapshots/cf3166bb01d0223ebbebed8d7c824a587beec056/zips/Fetus/fetal_planes.zip, [/tmp/hf-datasets-cache/medium/datasets/12334445628713-config-parquet-and-info-us-segmentator-us-segment-adeee747/hub/datasets--us-segmentator--us-segmentation-dataset/snapshots/cf3166bb01d0223ebbebed8d7c824a587beec056/dataset_meta.csv (origin=hf://datasets/us-segmentator/us-segmentation-dataset@cf3166bb01d0223ebbebed8d7c824a587beec056/dataset_meta.csv), /tmp/hf-datasets-cache/medium/datasets/12334445628713-config-parquet-and-info-us-segmentator-us-segment-adeee747/hub/datasets--us-segmentator--us-segmentation-dataset/snapshots/cf3166bb01d0223ebbebed8d7c824a587beec056/zips/Fetus/fetal_planes.zip (origin=hf://datasets/us-segmentator/us-segmentation-dataset@cf3166bb01d0223ebbebed8d7c824a587beec056/zips/Fetus/fetal_planes.zip)]
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.
Image_name;Patient_num;Plane;Brain_plane;Operator;US_Machine;Train
string |
|---|
Patient00001_Plane1_1_of_15;1;Other;Not A Brain;Other;Aloka;1
|
Patient00001_Plane1_2_of_15;1;Other;Not A Brain;Other;Aloka;1
|
Patient00001_Plane1_3_of_15;1;Other;Not A Brain;Other;Aloka;1
|
Patient00001_Plane1_4_of_15;1;Other;Not A Brain;Other;Aloka;1
|
Patient00001_Plane1_5_of_15;1;Other;Not A Brain;Other;Aloka;1
|
Patient00001_Plane1_6_of_15;1;Other;Not A Brain;Other;Aloka;1
|
Patient00001_Plane1_7_of_15;1;Other;Not A Brain;Other;Aloka;1
|
Patient00001_Plane1_8_of_15;1;Other;Not A Brain;Other;Aloka;1
|
Patient00001_Plane1_9_of_15;1;Other;Not A Brain;Other;Aloka;1
|
Patient00001_Plane1_10_of_15;1;Other;Not A Brain;Other;Aloka;1
|
Patient00001_Plane1_11_of_15;1;Other;Not A Brain;Other;Aloka;1
|
Patient00001_Plane1_12_of_15;1;Other;Not A Brain;Other;Aloka;1
|
Patient00001_Plane1_13_of_15;1;Other;Not A Brain;Other;Aloka;1
|
Patient00001_Plane1_14_of_15;1;Other;Not A Brain;Other;Aloka;1
|
Patient00001_Plane1_15_of_15;1;Other;Not A Brain;Other;Aloka;1
|
Patient00002_Plane1_1_of_20;2;Other;Not A Brain;Other;Aloka;1
|
Patient00002_Plane1_2_of_20;2;Other;Not A Brain;Other;Aloka;1
|
Patient00002_Plane1_3_of_20;2;Other;Not A Brain;Other;Aloka;1
|
Patient00002_Plane1_4_of_20;2;Other;Not A Brain;Other;Aloka;1
|
Patient00002_Plane1_5_of_20;2;Other;Not A Brain;Other;Aloka;1
|
Patient00002_Plane1_6_of_20;2;Other;Not A Brain;Other;Aloka;1
|
Patient00002_Plane1_7_of_20;2;Other;Not A Brain;Other;Aloka;1
|
Patient00002_Plane1_8_of_20;2;Other;Not A Brain;Other;Aloka;1
|
Patient00002_Plane1_9_of_20;2;Other;Not A Brain;Other;Aloka;1
|
Patient00002_Plane1_10_of_20;2;Other;Not A Brain;Other;Aloka;1
|
Patient00002_Plane1_11_of_20;2;Other;Not A Brain;Other;Aloka;1
|
Patient00002_Plane1_12_of_20;2;Other;Not A Brain;Other;Aloka;1
|
Patient00002_Plane1_13_of_20;2;Other;Not A Brain;Other;Aloka;1
|
Patient00002_Plane1_14_of_20;2;Other;Not A Brain;Other;Aloka;1
|
Patient00002_Plane1_15_of_20;2;Other;Not A Brain;Other;Aloka;1
|
Patient00002_Plane1_16_of_20;2;Other;Not A Brain;Other;Aloka;1
|
Patient00002_Plane1_17_of_20;2;Other;Not A Brain;Other;Aloka;1
|
Patient00002_Plane1_18_of_20;2;Other;Not A Brain;Other;Aloka;1
|
Patient00002_Plane1_19_of_20;2;Other;Not A Brain;Other;Aloka;1
|
Patient00002_Plane1_20_of_20;2;Other;Not A Brain;Other;Aloka;1
|
Patient00003_Plane1_1_of_21;3;Other;Not A Brain;Other;Aloka;1
|
Patient00003_Plane1_2_of_21;3;Other;Not A Brain;Other;Aloka;1
|
Patient00003_Plane1_3_of_21;3;Other;Not A Brain;Other;Aloka;1
|
Patient00003_Plane1_4_of_21;3;Other;Not A Brain;Other;Aloka;1
|
Patient00003_Plane1_5_of_21;3;Other;Not A Brain;Other;Aloka;1
|
Patient00003_Plane1_6_of_21;3;Other;Not A Brain;Other;Aloka;1
|
Patient00003_Plane1_7_of_21;3;Other;Not A Brain;Other;Aloka;1
|
Patient00003_Plane1_8_of_21;3;Other;Not A Brain;Other;Aloka;1
|
Patient00003_Plane1_9_of_21;3;Other;Not A Brain;Other;Aloka;1
|
Patient00003_Plane1_10_of_21;3;Other;Not A Brain;Other;Aloka;1
|
Patient00003_Plane1_11_of_21;3;Other;Not A Brain;Other;Aloka;1
|
Patient00003_Plane1_12_of_21;3;Other;Not A Brain;Other;Aloka;1
|
Patient00003_Plane1_13_of_21;3;Other;Not A Brain;Other;Aloka;1
|
Patient00003_Plane1_14_of_21;3;Other;Not A Brain;Other;Aloka;1
|
Patient00003_Plane1_15_of_21;3;Other;Not A Brain;Other;Aloka;1
|
Patient00003_Plane1_16_of_21;3;Other;Not A Brain;Other;Aloka;1
|
Patient00003_Plane1_17_of_21;3;Other;Not A Brain;Other;Aloka;1
|
Patient00003_Plane1_18_of_21;3;Other;Not A Brain;Other;Aloka;1
|
Patient00003_Plane1_19_of_21;3;Other;Not A Brain;Other;Aloka;1
|
Patient00003_Plane1_20_of_21;3;Other;Not A Brain;Other;Aloka;1
|
Patient00003_Plane1_21_of_21;3;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_1_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_2_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_3_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_4_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_5_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_6_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_7_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_8_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_9_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_10_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_11_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_12_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_13_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_14_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_15_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_16_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_17_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_18_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_19_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_20_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_21_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_22_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_23_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_24_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_25_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_26_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_27_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_28_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_29_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00004_Plane1_30_of_30;4;Other;Not A Brain;Other;Aloka;1
|
Patient00005_Plane1_1_of_25;5;Other;Not A Brain;Other;Aloka;1
|
Patient00005_Plane1_2_of_25;5;Other;Not A Brain;Other;Aloka;1
|
Patient00005_Plane1_3_of_25;5;Other;Not A Brain;Other;Aloka;1
|
Patient00005_Plane1_4_of_25;5;Other;Not A Brain;Other;Aloka;1
|
Patient00005_Plane1_5_of_25;5;Other;Not A Brain;Other;Aloka;1
|
Patient00005_Plane1_6_of_25;5;Other;Not A Brain;Other;Aloka;1
|
Patient00005_Plane1_7_of_25;5;Other;Not A Brain;Other;Aloka;1
|
Patient00005_Plane1_8_of_25;5;Other;Not A Brain;Other;Aloka;1
|
Patient00005_Plane1_9_of_25;5;Other;Not A Brain;Other;Aloka;1
|
Patient00005_Plane1_10_of_25;5;Other;Not A Brain;Other;Aloka;1
|
Patient00005_Plane1_11_of_25;5;Other;Not A Brain;Other;Aloka;1
|
Patient00005_Plane1_12_of_25;5;Other;Not A Brain;Other;Aloka;1
|
Patient00005_Plane1_13_of_25;5;Other;Not A Brain;Other;Aloka;1
|
Patient00005_Plane1_14_of_25;5;Other;Not A Brain;Other;Aloka;1
|
End of preview.
YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/datasets-cards)
US Segmentation Dataset
The dataset is a collection of openly available ultrasound datasets.
The individual datasets are stored as zip files in the zip directory. The utility for extraction all of them will be provided later.
Instructions for uploading new datasets
- Download the dataset from the source
- Convert the dataset into a zip format if required
- Upload the zip file corresponding anatomy folder in the
zipdirectory using the command:hf upload [repo_id] [local_path] [path_in_repo] --repo-type dataset --commit-message "add-dataset: <dataset_name>"
eg: hf upload us-segmentator/us-segmentation-dataset local_path_to_zip_file.zip zips/<anatomy_name>/<zip_file_name>.zip --repo-type dataset --commit-message "add-dataset: <dataset_name>"
To Download the dataset, use the following command:
- Make sure you have git lfs installed
- Run the following command:
git lfs install
- Run the following command:
hf download us-segmentator/us-segmentation-dataset --repo-type dataset --local-dir local_path_to_download_directory
- The dataset will be downloaded to the local directory.
Note: The dataset can be downloaded without the --local-dir argument, but it will be downloaded the huggingface cache directory.
- Downloads last month
- 36