StructGen
收藏资源简介:
StructGen数据集是为支持论文《StructGen: Disambiguating Multi-Reference Image Generation via Structured Context Modeling》而构建的数据集和基准测试,旨在解决多参考图像生成中的歧义问题。该数据集包含两部分核心内容:一是项目自有的训练图像及统一的JSONL标注,存储在`datasets/structgen_multiref/`目录下,涵盖部分图像和完整图像,并细分为通用场景和多人物场景;二是与官方MICo-150K De&Re图像配对使用的10,665条结构化提示标注(`datasets/mico_dere/train.jsonl`)。此外,还提供了一个包含400个案例的最终基准测试集(`benchmarks/structgen_bench/`)。该数据集适用于多参考图像生成任务,特别是需要利用结构化上下文进行消歧的研究和模型训练。
The StructGen dataset is constructed to support the paper StructGen: Disambiguating Multi-Reference Image Generation via Structured Context Modeling, aiming to address ambiguity issues in multi-reference image generation. It consists of two core components: first, the projects own training images and unified JSONL annotations stored in the `datasets/structgen_multiref/` directory, covering partial and complete images, and subdivided into general scenes and multi-person scenes; second, 10,665 structured prompt annotations paired with the official MICo-150K De&Re images (`datasets/mico_dere/train.jsonl`). Additionally, it includes a final benchmark set with 400 cases (`benchmarks/structgen_bench/`). This dataset is suitable for multi-reference image generation tasks, particularly for research and model training requiring disambiguation through structured context modeling.
数据集概述:StructGen
StructGen 是一个用于多参考图像生成中结构化上下文建模的数据集与基准测试项目。
数据集组成
datasets/structgen_multiref/:包含项目自有的训练图像以及统一的 JSONL 格式标注文件。datasets/mico_dere/train.jsonl:包含 10,665 条 StructGen 结构化提示标注,需搭配 MICo-150K 官方数据集中的 De&Re 图像使用。benchmarks/structgen_bench/:最终包含 400 个测试用例的基准测试输入及其选择元数据。
图像数据分类
- 自有训练图像分为**局部图像(part_images)和整体图像(whole_images)**两类,每类下又细分为:
- general:通用图像
- multi_person:多人图像
标注数据
- 训练标注以 JSONL 格式提供,包含结构化提示(structured-prompt)标注。
- 其中 10,665 条标注(位于
datasets/mico_dere/train.jsonl)依赖外部 MICo-150K 数据集的 De&Re 图像。
外部依赖
- MICo-150K 数据集:需从 MICo-150K 官方页面下载,用于与
datasets/mico_dere/train.jsonl中的标注配对使用。
使用方式
通过环境变量指定各数据目录路径:
STRUCTGEN_MULTIREF_PART_DIR:项目自有局部图像路径STRUCTGEN_MULTIREF_WHOLE_DIR:项目自有整体图像路径STRUCTGEN_MULTIREF_JSONL:项目自有 JSONL 标注文件路径STRUCTGEN_MICO_DERE_DIR:MICo-150K 数据集的 De&Re 图像路径STRUCTGEN_MICO_DERE_JSONL:MICo-150K 标注的 JSONL 文件路径




