File size: 8,990 Bytes
ceee4b0 a8b9c24 22e0567 a8b9c24 22e0567 a855485 4531cad 11ea0bd 0a291e0 0e69c58 620fcd7 f9a241c 22401f3 a8b9c24 22e0567 a855485 4531cad 11ea0bd 0a291e0 0e69c58 620fcd7 f9a241c 22401f3 ceee4b0 734a53b |
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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 |
---
license: cc-by-sa-4.0
dataset_info:
- config_name: 0_random_140
features:
- name: image
dtype: image
- name: id
dtype: string
- name: source_prompt
dtype: string
- name: target_prompt
dtype: string
- name: edit_action
dtype: string
- name: aspect_mapping
dtype: string
- name: blended_words
dtype: string
- name: mask
dtype: string
splits:
- name: V1
num_bytes: 15594175.0
num_examples: 140
download_size: 15528907
dataset_size: 15594175.0
- config_name: 1_change_object_80
features:
- name: image
dtype: image
- name: id
dtype: string
- name: source_prompt
dtype: string
- name: target_prompt
dtype: string
- name: edit_action
dtype: string
- name: aspect_mapping
dtype: string
- name: blended_words
dtype: string
- name: mask
dtype: string
splits:
- name: V1
num_bytes: 8188672.0
num_examples: 80
download_size: 8174209
dataset_size: 8188672.0
- config_name: 2_add_object_80
features:
- name: image
dtype: image
- name: id
dtype: string
- name: source_prompt
dtype: string
- name: target_prompt
dtype: string
- name: edit_action
dtype: string
- name: aspect_mapping
dtype: string
- name: blended_words
dtype: string
- name: mask
dtype: string
splits:
- name: V1
num_bytes: 6926151.0
num_examples: 80
download_size: 6917854
dataset_size: 6926151.0
- config_name: 3_delete_object_80
features:
- name: image
dtype: image
- name: id
dtype: string
- name: source_prompt
dtype: string
- name: target_prompt
dtype: string
- name: edit_action
dtype: string
- name: aspect_mapping
dtype: string
- name: blended_words
dtype: string
- name: mask
dtype: string
splits:
- name: V1
num_bytes: 7513741.0
num_examples: 80
download_size: 7382006
dataset_size: 7513741.0
- config_name: 4_change_attribute_content_40
features:
- name: image
dtype: image
- name: id
dtype: string
- name: source_prompt
dtype: string
- name: target_prompt
dtype: string
- name: edit_action
dtype: string
- name: aspect_mapping
dtype: string
- name: blended_words
dtype: string
- name: mask
dtype: string
splits:
- name: V1
num_bytes: 4125034.0
num_examples: 40
download_size: 4061909
dataset_size: 4125034.0
- config_name: 5_change_attribute_pose_40
features:
- name: image
dtype: image
- name: id
dtype: string
- name: source_prompt
dtype: string
- name: target_prompt
dtype: string
- name: edit_action
dtype: string
- name: aspect_mapping
dtype: string
- name: blended_words
dtype: string
- name: mask
dtype: string
splits:
- name: V1
num_bytes: 4217839.0
num_examples: 40
download_size: 4148577
dataset_size: 4217839.0
- config_name: 6_change_attribute_color_40
features:
- name: image
dtype: image
- name: id
dtype: string
- name: source_prompt
dtype: string
- name: target_prompt
dtype: string
- name: edit_action
dtype: string
- name: aspect_mapping
dtype: string
- name: blended_words
dtype: string
- name: mask
dtype: string
splits:
- name: V1
num_bytes: 4274823.0
num_examples: 40
download_size: 4263550
dataset_size: 4274823.0
- config_name: 7_change_attribute_material_40
features:
- name: image
dtype: image
- name: id
dtype: string
- name: source_prompt
dtype: string
- name: target_prompt
dtype: string
- name: edit_action
dtype: string
- name: aspect_mapping
dtype: string
- name: blended_words
dtype: string
- name: mask
dtype: string
splits:
- name: V1
num_bytes: 4061715.0
num_examples: 40
download_size: 4005557
dataset_size: 4061715.0
- config_name: 8_change_background_80
features:
- name: image
dtype: image
- name: id
dtype: string
- name: source_prompt
dtype: string
- name: target_prompt
dtype: string
- name: edit_action
dtype: string
- name: aspect_mapping
dtype: string
- name: blended_words
dtype: string
- name: mask
dtype: string
splits:
- name: V1
num_bytes: 8533140.0
num_examples: 80
download_size: 8422137
dataset_size: 8533140.0
- config_name: 9_change_style_80
features:
- name: image
dtype: image
- name: id
dtype: string
- name: source_prompt
dtype: string
- name: target_prompt
dtype: string
- name: edit_action
dtype: string
- name: aspect_mapping
dtype: string
- name: blended_words
dtype: string
- name: mask
dtype: string
splits:
- name: V1
num_bytes: 8698695.0
num_examples: 80
download_size: 8686937
dataset_size: 8698695.0
configs:
- config_name: 0_random_140
data_files:
- split: V1
path: 0_random_140/V1-*
- config_name: 1_change_object_80
data_files:
- split: V1
path: 1_change_object_80/V1-*
- config_name: 2_add_object_80
data_files:
- split: V1
path: 2_add_object_80/V1-*
- config_name: 3_delete_object_80
data_files:
- split: V1
path: 3_delete_object_80/V1-*
- config_name: 4_change_attribute_content_40
data_files:
- split: V1
path: 4_change_attribute_content_40/V1-*
- config_name: 5_change_attribute_pose_40
data_files:
- split: V1
path: 5_change_attribute_pose_40/V1-*
- config_name: 6_change_attribute_color_40
data_files:
- split: V1
path: 6_change_attribute_color_40/V1-*
- config_name: 7_change_attribute_material_40
data_files:
- split: V1
path: 7_change_attribute_material_40/V1-*
- config_name: 8_change_background_80
data_files:
- split: V1
path: 8_change_background_80/V1-*
- config_name: 9_change_style_80
data_files:
- split: V1
path: 9_change_style_80/V1-*
---
## What is PIE-Bench++?
PIE-Bench++ builds upon the foundation laid by the original [PIE-Bench dataset](https://cure-lab.github.io/PnPInversion) introduced by (Ju et al., 2024), designed to provide a comprehensive benchmark for multi-aspect image editing evaluation. This enhanced dataset contains 700 images and prompts across nine distinct edit categories, encompassing a wide range of manipulations:
- **Object-Level Manipulations:** Additions, removals, and modifications of objects within the image.
- **Attribute-Level Manipulations:** Changes in content, pose, color, and material of objects.
- **Image-Level Manipulations:** Adjustments to the background and overall style of the image.
While retaining the original images, the enhanced dataset features revised source prompts and editing prompts, augmented with additional metadata such as editing types and aspect mapping. This comprehensive augmentation aims to facilitate more nuanced and detailed evaluations in the domain of multi-aspect image editing.
## Data Annotation Guide
### Overview
Our dataset annotations are structured to provide comprehensive information for each image, facilitating a deeper understanding of the editing process. Each annotation consists of the following key elements:
- **Source Prompt:** The original description or caption of the image before any edits are made.
- **Target Prompt:** The description or caption of the image after the edits are applied.
- **Edit Action:** A detailed specification of the changes made to the image, including:
- The position index in the source prompt where changes occur.
- The type of edit applied (e.g., 1: change object, 2: add object, 3: remove object, 4: change attribute content, 5: change attribute pose, 6: change attribute color, 7: change attribute material, 8: change background, 9: change style).
- The operation required to achieve the desired outcome (e.g., '+' / '-' means adding/removing words at the specified position, and 'xxx' means replacing the existing words).
- **Aspect Mapping:** A mapping that connects objects undergoing editing to their respective modified attributes. This helps identify which objects are subject to editing and the specific attributes that are altered.
### Example Annotation
Here is an example annotation for an image in our dataset:
```json
{
"000000000002": {
"image_path": "0_random_140/000000000002.jpg",
"source_prompt": "a cat sitting on a wooden chair",
"target_prompt": "a [red] [dog] [with flowers in mouth] [standing] on a [metal] chair",
"edit_action": {
"red": {"position": 1, "edit_type": 6, "action": "+"},
"dog": {"position": 1, "edit_type": 1, "action": "cat"},
"with flowers in mouth": {"position": 2, "edit_type": 2, "action": "+"},
"standing": {"position": 2, "edit_type": 5, "action": "sitting"},
"metal": {"position": 5, "edit_type": 7, "action": "wooden"}
},
"aspect_mapping": {
"dog": ["red", "standing"],
"chair": ["metal"],
"flowers": []
},
"blended_words": [
"cat,dog",
"chair,chair"
],
"mask": "0 262144"
}
}
|