osunlp/MagicBrush
收藏资源简介:
MagicBrush是第一个大规模、手动标注的指令引导图像编辑数据集,涵盖了单轮、多轮、提供掩码和不提供掩码的多样化编辑场景。该数据集包含10K个(源图像、指令、目标图像)三元组,足以训练大规模的图像编辑模型。数据集的结构包括图像ID、编辑轮次、源图像、掩码图像、编辑指令和目标图像等字段。数据集分为训练集和开发集,测试集的信息需要从代码库中获取。
MagicBrush is the first large-scale, manually annotated instruction-guided image editing dataset, covering diverse editing scenarios including single-turn, multi-turn, mask-provided and mask-unprovided cases. This dataset contains 10K (source image, instruction, target image) triplets, which is sufficient for training large-scale image editing models. The structure of the dataset includes fields such as image ID, editing turn, source image, mask image, editing instruction and target image. The dataset is split into training set and development set, while the information of the test set needs to be obtained from the code repository.
数据集概述
数据集名称
MagicBrush
数据集概要
MagicBrush 是一个大规模的手动标注指令引导图像编辑数据集,涵盖单轮、多轮、提供掩码和无掩码编辑的多样化场景。该数据集包含 10K (源图像、指令、目标图像) 三元组,足以训练大规模图像编辑模型。
数据集结构
- img_id (字符串): 来自 COCO 的 ID,字符串类型,便于测试集加载。
- turn_index (整数): 图像编辑的轮次。
- source_img (图像): 输入图像,可以是原始真实图像(turn_index=1)或上一轮编辑的图像(turn_index >=2)。
- mask_img (图像): 自由形式的掩码图像(白色区域),在提供掩码设置中用于限制编辑区域。
- instruction (字符串): 输入图像应如何更改的编辑指令。
- target_img (图像): 对应于输入图像和指令的编辑图像。
数据集分割
- 训练集 (train): 包含 8,807 次编辑轮次(4,512 次编辑会话)。
- 开发集 (dev): 包含 528 次编辑轮次(266 次编辑会话)。
许可信息
本作品根据 Creative Commons Attribution 4.0 International License 获得许可。




