Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    ValueError
Message:      Invalid string class label DMImage-Test@ccc708d7bcafa220c6ddbad4c632d686af8a244b
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 544, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3052, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2572, in __iter__
                  example = _apply_feature_types_on_example(
                      example, self.features, token_per_repo_id=self.token_per_repo_id
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2489, in _apply_feature_types_on_example
                  encoded_example = features.encode_example(example)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 2244, in encode_example
                  return encode_nested_example(self, example)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1518, 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 1541, 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 1210, in encode_example
                  example_data = self.str2int(example_data)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1147, in str2int
                  output = [self._strval2int(value) for value in values]
                            ~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1168, in _strval2int
                  raise ValueError(f"Invalid string class label {value}")
              ValueError: Invalid string class label DMImage-Test@ccc708d7bcafa220c6ddbad4c632d686af8a244b

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.

DMImage Test Set

A constructed test set for AI-generated image detection, containing 21,000 images: 5,000 real photographs and 16,000 synthetic images produced by 30 generator configurations spanning GANs, diffusion models, and autoencoder-based generators.

The images are distributed as a single archive, DMImage-FullTestSet.zip (5.5 GB). Extract it to obtain the TestSet/<subset>/ layout. Subsets whose name starts with real_ contain real photographs; all other subsets contain images generated by the model indicated by the folder name.

Composition

Family Subsets Images
Real real_imagenet_val, real_coco_valid, real_ucid 5,000
GAN progan_lsun, biggan_256/512, stylegan2_*, stylegan3_*, eg3d 5,000
Diffusion stable_diffusion_256, latent-diffusion_*, guided-diffusion_*, glide_text2img_valid, dalle-mini_valid, dalle_2 9,000
Autoencoder taming-transformers_* 2,000
  • Real: ImageNet val (2,000, .JPEG), COCO val (2,000, .jpg), UCID (1,000, .tif)
  • Synthetic: .png, resolution indicated by the folder name (256 / 512 / 1024)

operations.csv

TestSet/operations.csv records, for every image, the randomized crop and JPEG quality parameters used in the robustness evaluation protocol:

Column Meaning
src image path relative to TestSet/
cropsize, x1, y1 crop size and top-left offset
qf JPEG quality factor
typ subset name
label REAL for real images, FALSE for generated images

Usage

from pathlib import Path
from PIL import Image

root = Path("TestSet")
for path in root.glob("*/*"):
    is_real = path.parent.name.startswith("real_")
    image = Image.open(path)

This is an evaluation-only test set; it is not intended for training.

License

Released for research use only. The real images originate from ImageNet, COCO, and UCID and remain subject to their original licenses; the synthetic images were generated with the corresponding models. Commercial use is not permitted, and users are responsible for complying with the terms of the original sources.

Downloads last month
38