coldrefine-products-posters
收藏资源简介:
ColdRefine Products/Posters 是一个用于无参考编辑训练的数据集,以 WebDataset 分片格式提供。数据集包含两个主要子集:Products 和 Posters,分别专注于产品和海报类图像。数据规模方面,Products 训练集包含 10757 个样本,Posters 训练集包含 15556 个样本,验证集包含 8 个样本(来源于测试集的无参考数据)。每个样本由五个文件组成:输入图像({sample_key}.input.*)、掩码图像({sample_key}.mask.*)、目标图像({sample_key}.target.*)、文本提示文件({sample_key}.prompt.txt)以及元数据文件({sample_key}.json)。数据集支持通过 Hugging Face 的 load_dataset 函数加载,其中‘all’配置提供了混合训练数据(包含 Products 和 Posters),适用于图像编辑、修复或生成任务,特别是基于文本提示的无参考编辑场景。
ColdRefine Products/Posters is a dataset intended for reference-free editing training, provided in WebDataset shard format. It consists of two main subsets: Products and Posters, which focus on product and poster images respectively. Regarding data scale, the Products training split contains 10,757 samples, the Posters training split includes 15,556 samples, and the validation split has 8 samples (sourced from the reference-free data in the test set). Each sample is composed of five files: input image ({sample_key}.input.*), mask image ({sample_key}.mask.*), target image ({sample_key}.target.*), text prompt file ({sample_key}.prompt.txt), and metadata file ({sample_key}.json). The dataset supports loading via Hugging Face's load_dataset function, where the 'all' configuration provides mixed training data (including both Products and Posters), which is applicable to image editing, inpainting or generation tasks, especially reference-free editing scenarios based on text prompts.
数据集概述:ColdRefine Products/Posters
- 数据集名称:ColdRefine Products/Posters
- 仓库地址:https://huggingface.co/datasets/lsmpp/coldrefine-products-posters
- 数据集类型:ColdRefine 无参考编辑训练数据,以 WebDataset 分片形式导出。
数据集配置与划分
数据集包含三个配置(config):
| 配置名称 | 训练集样本数 | 验证集样本数 | 训练集文件路径 | 验证集文件路径 |
|---|---|---|---|---|
products |
10757 | 8 | data/products/train/products-train-*.tar |
data/validation/no_ref/validation-*.tar |
posters |
15556 | 8 | data/posters/train/posters-train-*.tar |
data/validation/no_ref/validation-*.tar |
all |
26313(混合) | 8 | data/products/train/products-train-*.tar 和 data/posters/train/posters-train-*.tar |
data/validation/no_ref/validation-*.tar |
- 验证集:来自
data/test/no_ref,共 8 个样本。 - 混合训练:可通过
load_dataset(repo_id, "all", split="train", streaming=True)加载混合训练数据。
每个样本的组成
每个 WebDataset 样本包含以下文件:
{sample_key}.input.*:输入图像{sample_key}.mask.*:掩码图像{sample_key}.target.*:目标图像{sample_key}.prompt.txt:编辑提示文本{sample_key}.json:元数据 JSON 文件





