CyberHarem/akatsuki_kantaicollection
收藏Hugging Face2024-01-14 更新2024-03-04 收录
下载链接:
https://hf-mirror.com/datasets/CyberHarem/akatsuki_kantaicollection
下载链接
链接失效反馈官方服务:
资源简介:
---
license: mit
task_categories:
- text-to-image
tags:
- art
- not-for-all-audiences
size_categories:
- n<1K
---
# Dataset of akatsuki/暁 (Kantai Collection)
This is the dataset of akatsuki/暁 (Kantai Collection), containing 500 images and their tags.
The core tags of this character are `long_hair, hat, purple_eyes, purple_hair, flat_cap, hair_between_eyes, black_hair`, which are pruned in this dataset.
Images are crawled from many sites (e.g. danbooru, pixiv, zerochan ...), the auto-crawling system is powered by [DeepGHS Team](https://github.com/deepghs)([huggingface organization](https://huggingface.co/deepghs)).
## List of Packages
| Name | Images | Size | Download | Type | Description |
|:-----------------|---------:|:-----------|:---------------------------------------------------------------------------------------------------------------------------|:-----------|:---------------------------------------------------------------------|
| raw | 500 | 451.98 MiB | [Download](https://huggingface.co/datasets/CyberHarem/akatsuki_kantaicollection/resolve/main/dataset-raw.zip) | Waifuc-Raw | Raw data with meta information (min edge aligned to 1400 if larger). |
| 800 | 500 | 304.51 MiB | [Download](https://huggingface.co/datasets/CyberHarem/akatsuki_kantaicollection/resolve/main/dataset-800.zip) | IMG+TXT | dataset with the shorter side not exceeding 800 pixels. |
| stage3-p480-800 | 1158 | 642.78 MiB | [Download](https://huggingface.co/datasets/CyberHarem/akatsuki_kantaicollection/resolve/main/dataset-stage3-p480-800.zip) | IMG+TXT | 3-stage cropped dataset with the area not less than 480x480 pixels. |
| 1200 | 500 | 416.86 MiB | [Download](https://huggingface.co/datasets/CyberHarem/akatsuki_kantaicollection/resolve/main/dataset-1200.zip) | IMG+TXT | dataset with the shorter side not exceeding 1200 pixels. |
| stage3-p480-1200 | 1158 | 835.50 MiB | [Download](https://huggingface.co/datasets/CyberHarem/akatsuki_kantaicollection/resolve/main/dataset-stage3-p480-1200.zip) | IMG+TXT | 3-stage cropped dataset with the area not less than 480x480 pixels. |
### Load Raw Dataset with Waifuc
We provide raw dataset (including tagged images) for [waifuc](https://deepghs.github.io/waifuc/main/tutorials/installation/index.html) loading. If you need this, just run the following code
```python
import os
import zipfile
from huggingface_hub import hf_hub_download
from waifuc.source import LocalSource
# download raw archive file
zip_file = hf_hub_download(
repo_id='CyberHarem/akatsuki_kantaicollection',
repo_type='dataset',
filename='dataset-raw.zip',
)
# extract files to your directory
dataset_dir = 'dataset_dir'
os.makedirs(dataset_dir, exist_ok=True)
with zipfile.ZipFile(zip_file, 'r') as zf:
zf.extractall(dataset_dir)
# load the dataset with waifuc
source = LocalSource(dataset_dir)
for item in source:
print(item.image, item.meta['filename'], item.meta['tags'])
```
## List of Clusters
List of tag clustering result, maybe some outfits can be mined here.
### Raw Text Version
| # | Samples | Img-1 | Img-2 | Img-3 | Img-4 | Img-5 | Tags |
|----:|----------:|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 0 | 5 |  |  |  |  |  | 1girl, anchor_symbol, black_pantyhose, long_sleeves, looking_at_viewer, pleated_skirt, red_neckerchief, serafuku, solo, smile, black_skirt, blush, white_background |
| 1 | 21 |  |  |  |  |  | 1girl, anchor_symbol, red_neckerchief, serafuku, solo, upper_body, black_headwear, looking_at_viewer, blush, simple_background, black_sailor_collar, long_sleeves, white_background, smile |
| 2 | 17 |  |  |  |  |  | 1girl, serafuku, solo, black_pantyhose, looking_at_viewer, open_mouth, red_neckerchief, machinery, turret, cannon, pleated_skirt |
| 3 | 5 |  |  |  |  |  | anchor_symbol, black_skirt, blush, long_sleeves, looking_at_viewer, red_neckerchief, serafuku, solo_focus, 2girls, pleated_skirt, smile, open_mouth, pantyhose, 1girl, thighhighs |
| 4 | 6 |  |  |  |  |  | enmaided, looking_at_viewer, 1girl, blush, maid_headdress, white_apron, maid_apron, puffy_short_sleeves, smile, solo, frilled_apron, white_background, white_thighhighs |
### Table Version
| # | Samples | Img-1 | Img-2 | Img-3 | Img-4 | Img-5 | 1girl | anchor_symbol | black_pantyhose | long_sleeves | looking_at_viewer | pleated_skirt | red_neckerchief | serafuku | solo | smile | black_skirt | blush | white_background | upper_body | black_headwear | simple_background | black_sailor_collar | open_mouth | machinery | turret | cannon | solo_focus | 2girls | pantyhose | thighhighs | enmaided | maid_headdress | white_apron | maid_apron | puffy_short_sleeves | frilled_apron | white_thighhighs |
|----:|----------:|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------|:----------------|:------------------|:---------------|:--------------------|:----------------|:------------------|:-----------|:-------|:--------|:--------------|:--------|:-------------------|:-------------|:-----------------|:--------------------|:----------------------|:-------------|:------------|:---------|:---------|:-------------|:---------|:------------|:-------------|:-----------|:-----------------|:--------------|:-------------|:----------------------|:----------------|:-------------------|
| 0 | 5 |  |  |  |  |  | X | X | X | X | X | X | X | X | X | X | X | X | X | | | | | | | | | | | | | | | | | | | |
| 1 | 21 |  |  |  |  |  | X | X | | X | X | | X | X | X | X | | X | X | X | X | X | X | | | | | | | | | | | | | | | |
| 2 | 17 |  |  |  |  |  | X | | X | | X | X | X | X | X | | | | | | | | | X | X | X | X | | | | | | | | | | | |
| 3 | 5 |  |  |  |  |  | X | X | | X | X | X | X | X | | X | X | X | | | | | | X | | | | X | X | X | X | | | | | | | |
| 4 | 6 |  |  |  |  |  | X | | | | X | | | | X | X | | X | X | | | | | | | | | | | | | X | X | X | X | X | X | X |
提供机构:
CyberHarem原始信息汇总
数据集概述
数据集信息
- 名称: Dataset of akatsuki/暁 (Kantai Collection)
- 许可: MIT
- 任务类别: text-to-image
- 标签: art, not-for-all-audiences
- 大小类别: n<1K
数据集内容
- 图像数量: 500
- 核心标签: long_hair, hat, purple_eyes, purple_hair, flat_cap, hair_between_eyes, black_hair
- 来源: 从多个网站爬取,包括danbooru, pixiv, zerochan等
数据包列表
| 名称 | 图像数量 | 大小 | 类型 | 描述 |
|---|---|---|---|---|
| raw | 500 | 451.98 MiB | Waifuc-Raw | 包含元信息的原始数据(最小边对齐到1400像素,如果更大)。 |
| 800 | 500 | 304.51 MiB | IMG+TXT | 短边不超过800像素的数据集。 |
| stage3-p480-800 | 1158 | 642.78 MiB | IMG+TXT | 3阶段裁剪数据集,区域不小于480x480像素。 |
| 1200 | 500 | 416.86 MiB | IMG+TXT | 短边不超过1200像素的数据集。 |
| stage3-p480-1200 | 1158 | 835.50 MiB | IMG+TXT | 3阶段裁剪数据集,区域不小于480x480像素。 |
标签聚类结果
原始文本版本
| # | 样本数量 | 图像示例 | 标签 |
|---|---|---|---|
| 0 | 5 | ![]() |
1girl, anchor_symbol, black_pantyhose, long_sleeves, looking_at_viewer, pleated_skirt, red_neckerchief, serafuku, solo, smile, black_skirt, blush, white_background |
| 1 | 21 | ![]() |
1girl, anchor_symbol, red_neckerchief, serafuku, solo, upper_body, black_headwear, looking_at_viewer, blush, simple_background, black_sailor_collar, long_sleeves, white_background, smile |
| 2 | 17 | ![]() |
1girl, serafuku, solo, black_pantyhose, looking_at_viewer, open_mouth, red_neckerchief, machinery, turret, cannon, pleated_skirt |
| 3 | 5 | ![]() |
anchor_symbol, black_skirt, blush, long_sleeves, looking_at_viewer, red_neckerchief, serafuku, solo_focus, 2girls, pleated_skirt, smile, open_mouth, pantyhose, 1girl, thighhighs |
| 4 | 6 | ![]() |
enmaided, looking_at_viewer, 1girl, blush, maid_headdress, white_apron, maid_apron, puffy_short_sleeves, smile, solo, frilled_apron, white_background, white_thighhighs |
表格版本
| # | 样本数量 | 图像示例 | 1girl | anchor_symbol | black_pantyhose | long_sleeves | looking_at_viewer | pleated_skirt | red_neckerchief | serafuku | solo | smile | black_skirt | blush | white_background | upper_body | black_headwear | simple_background | black_sailor_collar | open_mouth | machinery | turret | cannon | solo_focus | 2girls | pantyhose | thighhighs | enmaided | maid_headdress | white_apron | maid_apron | puffy_short_sleeves | frilled_apron | white_thighhighs |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 5 | ![]() |
X | X | X | X | X | X | X | X | X | X | X | X | X | |||||||||||||||||||
| 1 | 21 | ![]() |
X | X | X | X | X | X | X | X | X | X | X | X | X | X | ||||||||||||||||||
| 2 | 17 | ![]() |
X | X | X | X | X | X | X | X | X | X | X | |||||||||||||||||||||
| 3 | 5 | ![]() |
X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | |||||||||||||||||
| 4 | 6 | ![]() |
X | X | X | X | X | X | X | X | X | X | X | X | X |
搜集汇总
数据集介绍

构建方式
在动漫图像生成领域,高质量的角色数据集是模型训练的关键基石。CyberHarem/akatsuki_kantaicollection 数据集聚焦于《舰队Collection》中的角色“暁”,通过自动化爬取系统从 Danbooru、Pixiv、Zerochan 等多个知名图像站点采集原始图片,并辅以标签信息。该数据集包含 500 张图像,核心标签如长发、帽子、紫瞳、紫发、平顶帽、眼中发、黑发等已被精简处理。数据集提供多种预处理版本,包括原始未处理、短边限制为 800 或 1200 像素的版本,以及经过三阶段裁剪且面积不低于 480×480 像素的增强版本,以适应不同训练需求。
特点
该数据集的特点在于其精细化的标签聚类与多版本结构。标签聚类结果将图像按视觉特征分组,例如水手服、锚符号、机械炮塔等主题,便于用户挖掘角色在不同服饰或场景下的表现模式。同时,数据集提供了从原始元数据到裁剪后图像的多种包,其中原始版本包含完整的元信息,适合使用 Waifuc 库进行灵活加载;裁剪版本则通过多阶段处理提升了图像区域的利用率,尤其适用于文生图任务中的对齐训练。整体上,该数据集兼顾了数据量的精炼与多样性的覆盖。
使用方法
使用该数据集时,用户可根据需求选择不同包。若需原始数据,可通过 Hugging Face Hub 下载 dataset-raw.zip 文件,并使用 Waifuc 库的 LocalSource 加载,结合图像与标签进行自定义处理。对于直接训练,推荐使用 800 或 1200 像素版本,其短边限制确保了图像尺寸的一致性;而三阶段裁剪版本则适合需要固定区域输入的场景。此外,聚类结果以表格形式呈现,可作为标签筛选或数据增强的参考。所有包均通过链接直接下载,并支持 Python 代码集成,简化了数据加载流程。
背景与挑战
背景概述
在文本到图像生成领域,高质量、标注精细的特定角色数据集对于推动扩散模型等生成式算法的精准控制与个性化创作至关重要。由DeepGHS团队于近年构建的CyberHarem/akatsuki_kantaicollection数据集,聚焦于《舰队Collection》中的角色“暁”(Akatsuki),旨在为二次元角色定制化生成提供标准化的训练资源。该数据集收录了500张来自Danbooru、Pixiv等多源平台的图像,并附带详尽的标签元信息,核心特征如长发、帽子、紫瞳等被系统化整理。其影响力体现在为角色一致性生成研究提供了可复用的基准,并借助Waifuc工具实现了高效的数据加载与预处理流程,成为二次元领域文本到图像任务的重要基石。
当前挑战
该数据集所面临的挑战主要体现在多维度层面。在领域问题层面,文本到图像生成需应对角色属性精确映射的难题,如确保“暁”的独特制服与标志性表情在生成结果中保持高度一致性,避免特征混淆或丢失。在构建过程中,挑战则更为具体:首先,跨平台图像爬取需处理版权、分辨率差异及元数据格式不统一的问题,原始图像的最小边长对齐至1400像素的设计即是对此类问题的应对;其次,标签体系的构建需平衡细粒度与通用性,核心标签的剪枝操作虽提升了训练效率,却也面临部分稀有服饰(如女仆装)聚类样本不足的困境;此外,多阶段裁剪(如stage3-p480-800)虽优化了构图,但可能引入区域信息丢失的风险,需在数据增强与保真度间谨慎权衡。
常用场景
经典使用场景
在二次元角色生成与图像合成领域,CyberHarem/akatsuki_kantaicollection数据集为文本到图像(text-to-image)任务提供了高质量的视觉素材。该数据集聚焦于《舰队Collection》中的角色“暁”,收录了500张经过精细标注的图片,并附有核心标签如长髮、帽子、紫瞳等。研究者可借助该数据集训练生成模型(如Stable Diffusion),使其精准复现角色的标志性外观与服饰细节,从而提升动漫风格图像生成的保真度与可控性。
解决学术问题
该数据集有效应对了动漫角色多模态生成中数据稀缺与标注不一致的挑战。通过整合来自Danbooru、Pixiv等多源的图像,并采用自动化爬取与标签修剪技术,它提供了标准化、高一致性的训练样本。这解决了传统研究中因图像风格混杂、标签冗余而导致的模型泛化能力不足问题,为细粒度角色特征学习与风格迁移研究奠定了数据基础。
衍生相关工作
该数据集衍生了一系列经典工作,包括基于Waifuc框架的图像流水线处理工具,以及多尺度裁剪版本(如stage3-p480-800)用于高分辨率生成研究。标签聚类结果(如锚点符号、水手服等分组)启发了属性解耦与可控生成方法,推动了角色组件化编辑技术的发展。这些工作共同构成了从数据采集到模型落地的完整研究链条。
以上内容由遇见数据集搜集并总结生成








