Datasets:

Modalities:
Image
Languages:
English
Size:
< 1K
ArXiv:
Libraries:
Datasets
License:

You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

arxiv: arxiv.org/abs/2509.04582

DragBench Dataset

A benchmark dataset for drag-based image editing evaluation, consisting of two subsets with additional annotations for Inpaint4Drag method evaluation.

Dataset Overview

DragBench provides standardized evaluation data for interactive point-based image editing research. The dataset combines:

  • DragBench-DR (205 samples): Modified version of DragBench-D from DragDiffusion
  • DragBench-SR (100 samples): Modified version of DragBench-S from SDE-Drag

Both subsets include additional annotations for Inpaint4Drag method evaluation.

Dataset Structure

drag_data/
β”œβ”€β”€ dragbench-dr/          # DragBench-DR (205 samples)
β”‚   β”œβ”€β”€ animals/
β”‚   β”‚   β”œβ”€β”€ sample_001/
β”‚   β”‚   β”‚   β”œβ”€β”€ original_image.png
β”‚   β”‚   β”‚   β”œβ”€β”€ meta_data.pkl
β”‚   β”‚   β”‚   β”œβ”€β”€ user_drag.png
β”‚   β”‚   β”‚   β”œβ”€β”€ meta_data_i4p.pkl
β”‚   β”‚   β”‚   └── user_drag_i4p.png
β”‚   β”‚   └── ...
β”‚   └── [other_categories]/
└── dragbench-sr/          # DragBench-SR (100 samples)
    β”œβ”€β”€ sample_001/
    β”‚   β”œβ”€β”€ original_image.png
    β”‚   β”œβ”€β”€ meta_data.pkl
    β”‚   β”œβ”€β”€ user_drag.png
    β”‚   β”œβ”€β”€ meta_data_i4p.pkl
    β”‚   └── user_drag_i4p.png
    └── ...

File Descriptions

Each sample contains the following files:

Core Files

  • original_image.png: The input image to be edited
  • meta_data.pkl: Annotation data containing editing instructions and metadata
  • user_drag.png: Visualization of the original drag editing annotation

Inpaint4Drag Annotations

  • meta_data_i4p.pkl: Additional annotation for Inpaint4Drag method evaluation
  • user_drag_i4p.png: Visualization of the Inpaint4Drag (I4P) annotation

Metadata Format

meta_data.pkl

{
    'prompt': str,  # Text prompt describing the desired output image
    'points': list, # Point coordinates [(x1,y1), (x2,y2), ..., (xn,yn)]
                   # Format: handle_point1, target_point1, handle_point2, target_point2, ...
    'mask': array  # Binary mask specifying the editable area
}

meta_data_i4p.pkl

{
    'points': list, # Point coordinates with same editing intent as original annotation
    'mask': array  # Binary mask specifying the deformable region for I4P method
}
Downloads last month
7