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:    ValueError
Message:      Invalid string class label test
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 test
              
              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 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.

image
image
label
class label
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
End of preview.

Dataset Card for OmniSR: Shadow Removal under Direct and Indirect Lighting

Dataset Summary

This is the official dataset for the paper "OmniSR: Shadow Removal under Direct and Indirect Lighting" (AAAI 2025). It is a large-scale synthetic image dataset specifically designed for studying shadow removal under both direct and indirect illumination conditions.

The dataset contains over 30,000 pairs of images. Each pair consists of:

  1. An image with shadows caused by direct lighting and indirect lighting.
  2. A corresponding shadow-free ground truth image.

It was rendered using the 3D-Front and Objaverse 3D model libraries, covering a wide variety of indoor scenes, object types, and lighting conditions.

Uses

Direct Use

The primary use of this dataset is for training and evaluating image shadow removal models, particularly those aiming to handle complex lighting scenarios involving both direct and indirect shadows.

Out-of-Scope Use

As a purely synthetic dataset, models trained solely on it may not generalize perfectly to real-world photographs without additional fine-tuning or domain adaptation techniques.

Dataset Structure

Data Instances

Data is organized into folders. A typical data instance comprises three image files:

  • direct_shadow.png
  • indirect_shadow.png
  • shadow_free.png

Data Fields

  • direct_shadow: Path to the image file containing shadows from direct light.
  • indirect_shadow: Path to the image file containing shadows from indirect light (e.g., light bouncing off surfaces).
  • shadow_free: Path to the corresponding ground truth image with no shadows.

Data Splits

The full dataset contains over 30,000 image pairs. For specific details on training, validation, and test splits, please refer to the original paper or the split files included with the dataset release.

Dataset Creation

Source Data

The dataset was generated through a custom rendering pipeline using two major 3D assets sources:

  • 3D-Front: Used for generating indoor scene layouts.
  • Objaverse: Used to populate scenes with a diverse set of 3D objects.

Annotations

The data is automatically generated. Shadow states (present/absent) are controlled by the rendering engine's lighting setup, so no manual human annotation was involved.

Personal and Sensitive Information

This dataset consists entirely of synthetic, virtual scenes. It does not contain any portraits, personal information, or real-world sensitive data.

Bias, Risks, and Limitations

  • Synthetic Domain Gap: The primary limitation is its synthetic nature. Models may need adaptation to perform well on real-world images.
  • Scene and Object Bias: The dataset's content is derived from 3D-Front and Objaverse, which may not represent the full diversity of real-world objects, scenes, and lighting conditions. This potential distribution bias should be considered when using the dataset.

Recommendations

Users are encouraged to:

  1. Be aware of the synthetic-to-real domain gap.
  2. Use the dataset in conjunction with real-world shadow removal data if the target application is real-world photos.
  3. Evaluate models on diverse test sets to understand their generalization capabilities.

Citation

If you use this dataset in your research, please cite the following paper:

BibTeX:

@inproceedings{xu2024omnisr,
    title={OmniSR: Shadow Removal under Direct and Indirect Lighting},
    author={Xu, Jiamin and Li, Zelong and Zheng, Yuxin and Huang, Chenyu and Gu, Renshu and Xu, Weiwei and Xu, Gang},
    booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
    year={2025}
}
Downloads last month
34