Datasets:
license: other
language:
- en
pretty_name: Spatial Edit Judge Dataset
task_categories:
- image-to-image
size_categories:
- n<1K
tags:
- image-editing
- camera-motion
- spatial-editing
- visual-judge
- edit-verification
configs:
- config_name: default
data_files:
- split: train
path: data/train-00000-of-00001.parquet
dataset_info:
features:
- name: id
dtype: string
- name: before_image
dtype: image
- name: after_image
dtype: image
- name: instruction
dtype: string
- name: type
dtype: string
- name: error_kind
dtype: string
- name: expected_judge_label
dtype: string
- name: is_successful_edit
dtype: bool
- name: dataset_origin
dtype: string
- name: base_sample_id
dtype: string
- name: source_dataset_sample_id
dtype: string
- name: original_edit_command
dtype: string
- name: wrong_edit_command
dtype: string
- name: actual_after_edit_command
dtype: string
- name: edit_components
dtype: string
- name: source_original_image_id
dtype: string
- name: source_original_edit_id
dtype: string
- name: source_original_pool_id
dtype: string
- name: source_original_bucket
dtype: string
- name: source_original_instruction
dtype: string
splits:
- name: train
num_examples: 378
Spatial Edit Judge Dataset
This dataset tests whether a visual judge can decide if a requested spatial camera edit was actually satisfied.
Each row contains a before image, an after image, a text instruction, and the ground-truth judge label. The judge should answer whether the after image correctly follows the instruction.
Dataset Structure
The Hugging Face viewer uses:
data/train-00000-of-00001.parquet
The repository also keeps the raw exported files:
images/{id}_before.*images/{id}_after.*instructions/{id}.txtmetadata.jsonlmetadata.csvskipped_non_invertible.jsonl
Columns
before_image: source image before the edit.after_image: candidate post-edit image.instruction: camera edit command shown to the judge.type: one ofcorrect,error_1, orerror_2.error_kind:none,no_edit, orwrong_edit.expected_judge_label:successfor correct edits andfailurefor error cases.is_successful_edit: boolean version of the expected judge label.dataset_origin:bytemorphorse.original_edit_command: the true edit command from the curated source dataset.wrong_edit_command: the opposite-direction command used for wrong-edit cases.actual_after_edit_command: the edit that the after image actually shows, when applicable.
Case Types
Total rows: 378
correct: 126 rows. The after image is the true edited image for the instruction.error_1: 126 rows. No edit was done; the after image is a copy of the before image.error_2: 126 rows. The image pair shows the original edit, but the instruction is swapped to the opposite direction within the same edit type.
How It Was Created
This dataset was created from two manually curated camera-edit gold sets:
- ByteMorph camera gold set: 30 examples.
- SpatialEdit-Bench camera gold set: 101 examples.
Only examples with safe opposite-direction camera commands were used for this judge dataset. Five ByteMorph examples were skipped because they involved forward or backward camera motion and did not have a safe opposite under the chosen rules.
For every usable base example, three rows were created:
correct: before image plus true after image, using the original instruction.error_1: before image plus the same before image as the after image, using the original instruction.error_2: before image plus true after image, but the instruction was changed to the opposite camera direction.
Wrong-edit instructions were created only within the same edit type:
zoom in<->zoom outleft<->rightup<->down
No cross-type swaps were used. For example, zoom commands were only swapped with zoom commands, and pan/tilt commands were only swapped with their opposite direction.
The row order was shuffled with seed 42.
Distribution
Case distribution:
correct: 126error_1: 126error_2: 126
Origin distribution:
bytemorph: 75se: 303
Instruction distribution:
move camera down and zoom in: 1move camera left: 13move camera left and point camera down: 2move camera right: 14move camera right and point camera up: 1move camera up and zoom out: 2pan camera left: 27pan camera right: 30point camera down: 58point camera up: 56zoom in: 87zoom out: 87
Intended Use
Use this dataset to evaluate models or rule-based judges that score whether an instruction-guided spatial image edit was successful.
The primary label is expected_judge_label:
success: the edit matches the instruction.failure: the edit is missing or the instruction describes the opposite edit.