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:    TypeError
Message:      int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1539, in _prepare_split_single
                  for key, record in generator:
                                     ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 621, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 131, in _generate_examples
                  for example_idx, example in enumerate(self._get_pipeline_from_tar(tar_path, tar_iterator)):
                                              ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 32, in _get_pipeline_from_tar
                  for filename, f in tar_iterator:
                                     ^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/track.py", line 49, in __iter__
                  for x in self.generator(*self.args):
                           ~~~~~~~~~~~~~~^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 1419, in _iter_from_urlpath
                  with xopen(urlpath, "rb", download_config=download_config, block_size=0) as f:
                       ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 976, in xopen
                  file_obj = fs.open(paths[0], mode)
                File "<string>", line 3, in open
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1176, in __call__
                  return self._mock_call(*args, **kwargs)
                         ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1180, in _mock_call
                  return self._execute_mock_call(*args, **kwargs)
                         ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1247, in _execute_mock_call
                  result = effect(*args, **kwargs)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 794, in wrapped
                  tracker.files[urlpath] = {"read": 0, "size": int(f.size)}
                                                               ~~~^^^^^^^^
              TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
              
              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 1379, 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 956, 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 1401, 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 1579, 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.

png
image
__key__
string
__url__
string
train/00000697/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00000697/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00000697/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00000697/layer_1
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00001223/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00001223/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00001223/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00001223/layer_1
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00002781/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00002781/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00002781/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00002781/layer_1
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00005799/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00005799/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00005799/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00005799/layer_1
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00007327/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00007327/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00007327/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00007523/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00007523/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00007523/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00007523/layer_1
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00007711/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00007711/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00007711/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00007711/layer_1
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00013620/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00013620/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00013620/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00013620/layer_1
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00014399/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00014399/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00014399/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00014511/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00014511/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00014511/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00014511/layer_1
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00014857/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00014857/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00014857/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00014857/layer_1
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00014908/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00014908/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00014908/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00014908/layer_1
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00018402/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00018402/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00018402/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00018402/layer_1
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00018746/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00018746/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00018746/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00018746/layer_1
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00019747/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00019747/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00019747/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00019747/layer_1
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00020301/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00020301/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00020301/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00020864/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00020864/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00020864/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00020864/layer_1
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00022388/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00022388/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00022388/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00022388/layer_1
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00027626/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00027626/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00027626/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00027626/layer_1
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00027626/layer_2
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00027953/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00027953/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00027953/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00027953/layer_1
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00028268/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00028268/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00028268/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00028268/layer_1
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00028268/layer_2
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00032278/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00032278/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00032278/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00032278/layer_1
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00032278/layer_2
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00039834/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00039834/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00039834/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00039834/layer_1
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00043910/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00043910/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00043910/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00044314/background
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00044314/full_image
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00044314/layer_0
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00044314/layer_1
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
train/00044314/layer_2
hf://datasets/360ZhiNao/RevealLayer-100K@cbf9477717634338ba6e9c14c83c8bc802f00b56/train/train-000000.tar
End of preview.

RevealLayer Open Dataset

RevealLayer Open is the open-source dataset accompanying RevealLayer: Disentangling Hidden and Visible Layers via Occlusion-Aware Image Decomposition.

Paper: https://arxiv.org/html/2605.11818v1 Accepted by ICML 2026

RevealLayer studies box-guided layered image decomposition for natural images. Given an RGB image and instance bounding boxes, the task is to decompose the scene into a clean background and object-level foreground layers, where each foreground layer is represented as RGBA.

This repository only redistributes data and annotations that are released by the RevealLayer authors. Third-party benchmark images and ground-truth annotations from AIM-500, RefMatte_RW100, and OBER-Test/ObjectClear are not included in this repository.

License

The RevealLayer dataset, processed annotations, metadata, and scripts released in this repository are licensed under the Apache License 2.0.

Some evaluation metadata or conversion scripts may refer to third-party benchmarks, including AIM-500, RefMatte_RW100, and OBER-Test/ObjectClear. Their original images and ground-truth annotations are not redistributed here. Users should download those datasets from their official sources and follow the corresponding original licenses and usage terms.

Repository Structure

A typical directory structure is:

RevealLayer_open/
β”œβ”€β”€ train/
β”‚   β”œβ”€β”€ <sample_id>/
β”‚   β”‚   β”œβ”€β”€ full_image.png
β”‚   β”‚   β”œβ”€β”€ background.png
β”‚   β”‚   β”œβ”€β”€ layer_0.png
β”‚   β”‚   β”œβ”€β”€ layer_1.png
β”‚   β”‚   └── ...
β”‚   └── metaData.json
β”‚
β”œβ”€β”€ Benchmark/
β”‚   β”œβ”€β”€ RevealLayerBenchMark-200/
β”‚   β”‚   β”œβ”€β”€ <sample_id>/
β”‚   β”‚   β”‚   β”œβ”€β”€ full_image.png
β”‚   β”‚   β”‚   β”œβ”€β”€ background.png
β”‚   β”‚   β”‚   β”œβ”€β”€ layer_0.png
β”‚   β”‚   β”‚   └── ...
β”‚   β”‚   └── metaData.json
β”‚   β”‚
β”‚   └── RevealLayerBenchMark-wild/
β”‚       β”œβ”€β”€ <sample_id>/
β”‚       β”‚   └── full_image.png
β”‚       └── metaData.json
β”‚
└── README.md

The exact number of layers varies across samples.

Metadata Format

Each split or benchmark subset contains a metaData.json file. It is a list of sample dictionaries.

Training / Fully Annotated Samples

A fully annotated sample generally follows this format:

{
  "imgid": "sample_id",
  "full_image": "sample_id/full_image.png",
  "background": "sample_id/background.png",
  "LayerInfoRaw": [
    "sample_id/layer_0.png",
    "sample_id/layer_1.png"
  ],
  "detections": [
    {
      "bbox": [x1, y1, x2, y2]
    }
  ]
}

Field meanings:

Field Type Description
imgid string Unique sample identifier.
full_image string Relative path to the original RGB image.
background string Relative path to the clean background image.
LayerInfoRaw list[string] Relative paths to object-level foreground RGBA layers.
detections list[dict] Instance bounding boxes used as box guidance.
bbox list[number] Bounding box in [x1, y1, x2, y2] format.

The detections field only keeps bounding boxes. Labels and confidence scores are not required for the RevealLayer task and are not included.

Wild Benchmark Samples

RevealLayerBenchMark-wild contains in-the-wild images with bounding-box annotations only. It does not include clean background ground truth or foreground RGBA ground truth.

A wild sample generally follows this format:

{
  "imgid": "sample_id",
  "full_image": "sample_id/full_image.png",
  "background": "",
  "LayerInfoRaw": [],
  "detections": [
    {
      "bbox": [x1, y1, x2, y2]
    }
  ]
}

For RevealLayerBenchMark-wild, the background field may be an empty string and LayerInfoRaw may be empty. This indicates that no background or foreground-layer ground truth is provided.

Benchmark Notes

Included Benchmark Subsets

  • RevealLayerBenchMark-200: a fully annotated benchmark subset for evaluating background reconstruction and foreground RGBA layer decomposition.
  • RevealLayerBenchMark-wild: a wild-image benchmark subset with full_image and bounding boxes only. It is intended for qualitative and real-world robustness evaluation. It does not contain background or foreground-layer ground truth.

Loading Example

import json
from pathlib import Path
from PIL import Image

root = Path("RevealLayer_open/train")
metadata_path = root / "metaData.json"

with open(metadata_path, "r", encoding="utf-8") as f:
    samples = json.load(f)

sample = samples[0]
full_image = Image.open(root / sample["full_image"]).convert("RGB")

background = None
if sample.get("background"):
    background = Image.open(root / sample["background"]).convert("RGB")

layers = []
for layer_path in sample.get("LayerInfoRaw", []):
    layers.append(Image.open(root / layer_path).convert("RGBA"))

boxes = [det["bbox"] for det in sample.get("detections", [])]

Data Usage Notes

  • Paths in metaData.json are relative to the corresponding split or subset directory.
  • Bounding boxes use [x1, y1, x2, y2] coordinates.
  • Foreground layers are stored as RGBA images when ground truth is available.
  • Some benchmark samples, especially wild images, may not contain background or foreground-layer ground truth.
  • Third-party benchmark data are not redistributed in this repository. Users are responsible for complying with the original licenses when reproducing evaluations on those datasets.

Citation

If you find this dataset useful, please cite:

@inproceedings{wang2026reveallayer,
  title={RevealLayer: Disentangling Hidden and Visible Layers via Occlusion-Aware Image Decomposition},
  author={Wang, Binhao and Zhao, Shihao and Cheng, Bo and Ji, Qiuyu and Ma, Yuhang and Wu, Liebucha and Liu, Shanyuan and Leng, Dawei and Yin, Yuhui},
  booktitle={International Conference on Machine Learning},
  year={2026}
}

Downloads last month
43