Synlayers-Data
收藏资源简介:
SynLayers Data 是一个用于图像到文本和文本到图像任务的多模态训练数据集。该数据集包含分层图像样本,每个样本由多个组件构成:背景图像(base_image)、合成后的完整图像(whole_image)、多个图层(layers)以及相关的元数据(metadata)。每个图层不仅包含 PNG 格式的图像字节数据,还附带有标题描述和边界框标注,这些标注信息也以独立的 JSON 文件(synlayers_bbox.json)提供。数据集规模在 10 万到 100 万样本之间,以 Parquet 分片格式组织,每个分片大约包含 5,000 个样本。该数据集适用于需要理解图像层次结构、进行图像合成或生成描述性文本的计算机视觉和自然语言处理任务。
SynLayers Data is a multimodal training dataset for image-to-text and text-to-image tasks. This dataset contains hierarchical image samples, where each sample consists of multiple components: a base background image (base_image), the fully synthesized whole image (whole_image), multiple layers (layers), and associated metadata (metadata). Each layer not only includes PNG-formatted image byte data but also comes with caption descriptions and bounding box annotations, and these annotation details are provided in an independent JSON file named synlayers_bbox.json. The dataset has a scale ranging from 100,000 to 1,000,000 samples, organized in Parquet sharded format, with each shard containing approximately 5,000 samples. This dataset is applicable to computer vision and natural language processing tasks that require understanding image hierarchical structures, performing image synthesis, or generating descriptive texts.
数据集概述
- 数据集名称:SynLayers Data
- 数据集主页:https://huggingface.co/datasets/SynLayers/Synlayers-Data
- 任务类别:图像到文本(image-to-text)、文本到图像(text-to-image)
- 语言:英语(en)
- 数据规模:100K 到 1M 条样本
数据集内容
该数据集包含 SynLayers 训练数据,提供边界框(bounding-box)描述训练注释(synlayers_bbox.json)。训练样本以 Parquet 分片(shard)形式打包,每个样本是一张分层图像,包含以下字段:
| 字段 | 说明 |
|---|---|
base_image |
背景/基础 PNG 字节 |
whole_image |
合成后的完整 PNG 字节 |
layers |
各层的 PNG 字节、描述和边界框信息 |
metadata |
经过清洗的原始 metadata.json 数据 |
数据存储与使用
- 默认上传脚本每分片写入约 5,000 个样本,路径为
data/train-*.parquet。 - 可通过 Hugging Face Datasets 库直接加载:
python from datasets import load_dataset
ds = load_dataset("SynLayers/Synlayers-Data", split="train") print(ds[0].keys())




