Datasets:
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 train
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 train
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_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real | |
00_real |
Is Artificial Intelligence Generated Image Detection a Solved Problem?
Ziqiang Li1, Jiazhen Yan1, Ziwen He1, Kai Zeng2, Weiwei Jiang1, Lizhi Xiong1, Zhangjie Fu1‡
1Nanjing University of Information Science and Technology 2University of Siena
This repository is the official dataset of the AIGIBench.
AIGIBench dataset contains two types of training and 25 test subsets. This dataset has the following advantages:
- Comprehensive generate types: including GAN-based Noise-to-Image Generation, Diffusion for Text-to-Image Generation, GANs for Deepfake, Diffusion for Personalized Generation, and Open-source Platforms.
- State-of-the-art Generators: MidjourneyV6, Stable Diffusion 3, Imagen, DALLE3, InstantID, FaceSwap, StyleGAN-XL and so on.
- Completely unknown generation method: Crawl pictures from communities and social media to build datasets CommunityAI & SocialRF, making detection more challenging.
If this project helps you, please fork, watch, and give a star to this repository.
📚Dataset
Each folder contains compressed files. After unzip the file, files under the data root directory can be organized as follows.
Train
AIGIBench introduces two training dataset settings: (i) Setting-I: Training on 144K images generated by ProGAN across four object categories—car, cat, chair, and horse. (ii) Setting-II: Training on 144K images generated by both SD-v1.4 and ProGAN, covering the same four object categories. The data of ProGAN comes from ForenSynths, and the data of sdv1.4 comes from GenImage. In order to maintain the fairness of the training data, we randomly select the sdv1.4 training images of GenImage to keep the same number as ProGAN, and then merge the data. The file directory is as follows:
├── train
│ ├── car
│ │ ├── 0_real
│ │ ├── 1_fake
│ ├── cat
│ │ ├── ...
│ ├── chair
│ │ ├── ...
│ ├── horse
│ │ ├── ...
│ ├── sdv1.4
│ │ ├── 0_real
│ │ ├── 1_fake
├── val
│ ├── ...
│ │ ├── 0_real
│ │ ├── 1_fake
│ │ ...
Test
AIGIBench comprehensively tests the performance of the detector and builds a test dataset from five perspectives: GAN-based Noise-to-Image Generation, Diffusion for Text-to-Image Generation, GANs for Deepfake, Diffusion for Personalized Generation, and Open-source Platforms. The file directory is as follows:
├── test
│ ├── ProGAN
│ │ ├── 0_real
│ │ ├── 1_fake
│ ├── R3GAN
│ │ ├── ...
│ │ ...
│ ├── BlendFace
│ │ ├── 0_real
│ │ ├── 1_fake
│ ├── InSwap
│ │ ├── ...
│ │ ...
│ ├── FLUX1-dev
│ │ ├── 0_real
│ │ ├── 1_fake
│ ├── Midjourney-V6
│ │ ├── ...
│ │ ...
│ ├── BLIP
│ │ ├── 0_real
│ │ ├── 1_fake
│ ├── Infinite-ID
│ │ ├── ...
│ │ ...
│ ├── CommunityAI
│ │ ├── 0_real
│ │ ├── 1_fake
│ ├── SocialRF
│ │ ├── ...
Citation
@inproceedings{li2025artificial,
title={Is Artificial Intelligence Generated Image Detection a Solved Problem?},
author={Li, Ziqiang and Yan, Jiazhen and He, Ziwen and Zeng, Kai and Jiang, Weiwei and Xiong, Lizhi and Fu, Zhangjie},
booktitle={Advances in Neural Information Processing Systems},
year={2025}
}
Contact
If you have any question about this project, please feel free to contact 247918horizon@gmail.com
- Downloads last month
- 2,554
