CoolFace
Datasetpublic

InfImagine/FakeImageDataset

Fake Image Dataset Fake Image Dataset is now open-sourced at huggingface (InfImagine Organization) and openxlab. ↗ It consists of two folders, ImageData and MetaData. ImageData contains the compressed packages of the Fake Image Dataset, while MetaData contains the labeling information of the corresponding data indicating whether they are real or fake. Sentry-Image is now open-sourced at Sentry-Image (github repository) which provides the SOTA fake image detection models in… See the full description on the dataset page: https://huggingface.co/datasets/InfImagine/FakeImageDataset.

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
28likes4.8kdownloads
Dataset Card

Fake Image Dataset

Fake Image Dataset is now open-sourced at huggingface (InfImagine Organization) and openxlab. ↗ It consists of two folders, ImageData and MetaData. ImageData contains the compressed packages of the Fake Image Dataset, while MetaData contains the labeling information of the corresponding data indicating whether they are real or fake.

Sentry-Image is now open-sourced at Sentry-Image (github repository) which provides the SOTA fake image detection models in Sentry-Image Leaderboard pretraining in Fake Image Dataset to detect whether the image provided is an AI-generated or real image.

Why we need Fake Image Dataset and Sentry-Image?

  • 🧐 Recent study have shown that humans struggle significantly to distinguish real photos from AI-generated ones, with a misclassification rate of 38.7%.
  • 🤗 To help people confirm whether the images they see are real images or AI-generated images, we launched the Sentry-Image project.
  • 💻 Sentry-Image is an open source project which provides the SOTA fake image detection models in Sentry-Image Leaderboard to detect whether the image provided is an AI-generated or real image.

Dataset card for Fake Image Dataset

Dataset Description

How to Download

You can use following codes to download the dataset:

shell
git lfs install
git clone https://huggingface.co/datasets/InfImagine/FakeImageDataset

You can use following codes to extract the files in each subfolder (take the IF-CC95K subfolder in ImageData/val/IF-CC95K as an example):

shell
cat IF-CC95K.tar.gz.* > IF-CC95K.tar.gz
tar -xvf IF-CC95K.tar.gz

Dataset Summary

FakeImageDataset was created to serve as an large-scale dataset for the pretraining of detecting fake images.

It was built on StableDiffusion v1.5, IF and StyleGAN3.

Supported Tasks and Leaderboards

FakeImageDataset is intended to be primarly used as a pretraining dataset for detecting fake images.

Sub Dataset

Training Dataset (Fake2M)

DatasetSD-V1.5Real-dpms-25IF-V1.0-dpms++-25StyleGAN3
GeneratorDiffusionDiffusionGAN
Numbers1M1M87K
Resolution512256(>=512)
CaptionCC3M-TrainCC3M-Train-
ImageData PathImageData/train/SDv15R-CC1MImageData/train/IFv1-CC1MImageData/train/stylegan3-80K
MetaData PathMetaData/train/SDv15R-CC1M.csvMetaData/train/IF-CC1M.csvMetaData/train/stylegan3-80K.csv

Validation Dataset (MPBench)

DatasetSDv15SDv21IFCogview2StyleGAN3Midjourneyv5
GeneratorDiffusionDiffusionDiffusionARGAN-
Numbers30K15K95K22K60K5K
Resolution512512256480(>=512)(>=512)
CaptionCC15K-valCC15K-valCC15K-valCC15K-val--
ImageData PathImageData/val/SDv15-CC30KImageData/val/SDv21-CC15KImageData/val/IF-CC95KImageData/val/cogview2-22KImageData/val/stylegan3-60KImageData/val/Midjourneyv5-5K
MetaData PathMetaData/val/SDv15-CC30K.csvMetaData/val/SDv21-CC15K.csvMetaData/val/IF-CC95K.csvMetaData/val/cogview2-22K.csvMetaData/val/stylegan3-60K.csvMetaData/val/Midjourneyv5-5K.csv

News

License

This project is open-sourced under the Apache-2.0. These weights and datasets are fully open for academic research and can be used for commercial purposes with official written permission. If you find our open-source models and datasets useful for your business, we welcome your donation to support the development of the next-generation Sentry-Image model. Please contact contact@infimagine.com for commercial licensing and donation inquiries.

Citation

The code and model in this repository is mostly developed for or derived from the paper below. Please cite it if you find the repository helpful.

@misc{sentry-image-leaderboard,
      title = {Sentry-Image Leaderboard},
      author = {Zeyu Lu, Di Huang, Chunli Zhang, Chengyue Wu, Xihui Liu, Lei Bai, Wanli Ouyang},
      year = {2023},
      publisher = {InfImagine, Shanghai AI Laboratory},
      howpublished = "\url{https://github.com/Inf-imagine/Sentry}"
},
@misc{lu2023seeing,
      title = {Seeing is not always believing: Benchmarking Human and Model Perception of AI-Generated Images}, 
      author = {Zeyu Lu, Di Huang, Lei Bai, Jingjing Qu, Chengyue Wu, Xihui Liu, Wanli Ouyang},
      year = {2023},
      eprint = {2304.13023},
      archivePrefix = {arXiv},
      primaryClass = {cs.AI}
}