Datasets:
File size: 1,860 Bytes
f709b06 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | ---
license: apache-2.0
---
# ๐ผ๏ธ DiffSeg30k -- A multi-turn diffusion-editing dataset for localized AIGC detection
A dataset for **segmenting diffusion-based edits** โ ideal for training and evaluating models that localize edited regions and identify the underlying diffusion model
## ๐ Dataset Usage
- `xxxxxxxx.image.png`: Edited images. Each image may have undergone 1, 2, or 3 editing operations.
- `xxxxxxxx.mask.png`: The corresponding mask indicating edited regions, where pixel values encode the diffusion model used.
Load images and masks as follows:
```python
from datasets import load_dataset
dataset = load_dataset("Chaos2629/Diffseg30k", split="train")
image, mask = dataset[0]['image'], dataset[0]['mask']
```
## ๐ง Mask Annotation
Each mask is a grayscale image (PNG format), where pixel values correspond to a specific editing model. The mapping is as follows:
| Mask Value | Editing Model |
|------------|------------------------------------------------------|
| 0 | background |
| 1 | stabilityai/stable-diffusion-2-inpainting |
| 2 | kolors |
| 3 | stabilityai/stable-diffusion-3.5-medium |
| 4 | flux |
| 5 | diffusers/stable-diffusion-xl-1.0-inpainting-0.1 |
| 6 | glide |
| 7 | Tencent-Hunyuan/HunyuanDiT-Diffusers |
| 8 | kandinsky-community/kandinsky-2-2-decoder-inpaint |
## ๐ Notes
- Each edited image may be edited **multiple turns**, so the corresponding mask may contain several different **label values** ranging from 0 to 8.
## ๐ License
Apache-2.0
|