The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: ValueError
Message: Invalid string class label Synthetic-Radiology-Images@3010c2175d92c1d78dc2dff133d63e0416c95f42
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1537, in _prepare_split_single
example = self.info.features.encode_example(record) if self.info.features is not None else record
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 2162, in encode_example
return encode_nested_example(self, example)
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1446, 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 1469, in encode_nested_example
return schema.encode_example(obj) if obj is not None else None
~~~~~~~~~~~~~~~~~~~~~^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1144, in encode_example
example_data = self.str2int(example_data)
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1081, in str2int
output = [self._strval2int(value) for value in values]
~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1102, in _strval2int
raise ValueError(f"Invalid string class label {value}")
ValueError: Invalid string class label Synthetic-Radiology-Images@3010c2175d92c1d78dc2dff133d63e0416c95f42
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 1382, 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 1560, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed 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 image | label class label |
|---|---|
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 | |
00 |
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Investigating Diffusion Models Across Diverse Imaging Modalities: Synthetic Data for Pneumonia
This repository contains a fully synthetic dataset used for the study, Is Synthetic Data Generation Effective in Maintaining Clinical Biomarkers? Investigating Diffusion Models Across Diverse Imaging Modalities.
Abstract:
The integration of recent technologies in medical imaging has become a cornerstone of modern healthcare, facilitating detailed analysis of internal anatomy and pathology. Traditional methods, however, often grapple with data-sharing restrictions due to privacy concerns. Emerging techniques in artificial intelligence offer innovative solutions to overcome these constraints, with synthetic data generation enabling the creation of realistic medical imaging datasets, but the preservation of critical hidden medical biomarkers is an open question.
Data
This dataset is fully synthetic and was generated using diffusion models for the pneumonia classification task.
- Class 0: Represents healthy/normal chest X-ray images.
- Class 1: Represents panoramic X-ray images with pneumonia.
The source real dataset that served as the basis for this work can be found chest xray pneumonia.
Code
The code and detailed instructions for using this dataset are available on GitHub: I-SynMed.
Other Datasets
We have made additional synthetic datasets publicly available for research purposes. Explore them below:
- Synthetic Data for Ophthalmology: Synthetic Data in Ophthalmology
- Synthetic Data for Breast Cancer Histopathology: Synthetic Data in Breast Cancer Histopathology
Citation
If you use the data or code from this repository, please cite the following publication:
@article{Hosseini2024,
author = {Hosseini, A. and Serag, A.},
title = {Is Synthetic Data Generation Effective in Maintaining Clinical Biomarkers? Investigating Diffusion Models Across Diverse Imaging Modalities},
journal = {Frontiers in Artificial Intelligence},
year = {2024},
volume = {7},
doi = {10.3389/frai.2024.1454441},
url = {https://www.frontiersin.org/journals/artificial-intelligence/articles/10.3389/frai.2024.1454441/abstract}
}
π Acknowledgements
We extend our sincere gratitude to the developers of 2D Medical Image Synthesis Using Transformer-Based Denoising Diffusion Probabilistic Model, whose open-source contributions provided a critical foundation for this project.
- Downloads last month
- 174