--- license: mit task_categories: - text-to-image tags: - art - not-for-all-audiences size_categories: - n<1K --- # Dataset of karin (Fire Emblem) This is the dataset of karin (Fire Emblem), containing 16 images and their tags. The core tags of this character are `green_hair, green_eyes, short_hair, bangs`, 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 | 16 | 8.76 MiB | [Download](https://huggingface.co/datasets/CyberHarem/karin_fireemblem/resolve/main/dataset-raw.zip) | Waifuc-Raw | Raw data with meta information (min edge aligned to 1400 if larger). | | 800 | 16 | 8.04 MiB | [Download](https://huggingface.co/datasets/CyberHarem/karin_fireemblem/resolve/main/dataset-800.zip) | IMG+TXT | dataset with the shorter side not exceeding 800 pixels. | | stage3-p480-800 | 21 | 9.65 MiB | [Download](https://huggingface.co/datasets/CyberHarem/karin_fireemblem/resolve/main/dataset-stage3-p480-800.zip) | IMG+TXT | 3-stage cropped dataset with the area not less than 480x480 pixels. | | 1200 | 16 | 8.55 MiB | [Download](https://huggingface.co/datasets/CyberHarem/karin_fireemblem/resolve/main/dataset-1200.zip) | IMG+TXT | dataset with the shorter side not exceeding 1200 pixels. | | stage3-p480-1200 | 21 | 10.17 MiB | [Download](https://huggingface.co/datasets/CyberHarem/karin_fireemblem/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/karin_fireemblem', 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 | 16 |  |  |  |  |  | 1girl, smile, solo, breastplate, shoulder_armor, open_mouth, shiny, spear, thigh_boots, thighhighs, belt, fingerless_gloves, looking_at_viewer, short_sleeves, simple_background, elbow_gloves, green_dress, holding | ### Table Version | # | Samples | Img-1 | Img-2 | Img-3 | Img-4 | Img-5 | 1girl | smile | solo | breastplate | shoulder_armor | open_mouth | shiny | spear | thigh_boots | thighhighs | belt | fingerless_gloves | looking_at_viewer | short_sleeves | simple_background | elbow_gloves | green_dress | holding | |----:|----------:|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------|:--------|:-------|:--------------|:-----------------|:-------------|:--------|:--------|:--------------|:-------------|:-------|:--------------------|:--------------------|:----------------|:--------------------|:---------------|:--------------|:----------| | 0 | 16 |  |  |  |  |  | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
许可证:MIT协议 任务类别: - 文本到图像(text-to-image) 标签: - 艺术创作(art) - 非全年龄受众(not-for-all-audiences) 样本规模类别: - 样本量小于1000(n<1K) # 《火焰纹章(Fire Emblem)》卡琳数据集 本数据集收录《火焰纹章(Fire Emblem)》角色卡琳的相关素材,包含16张图像及其配套标注标签。 该角色的核心特征标签为`绿发(green_hair)、绿眼(green_eyes)、短发(short_hair)、齐刘海(bangs)`,本数据集已对该类核心标签进行了裁剪移除处理。 本数据集的图像源自多平台爬取(如danbooru、pixiv、zerochan等),自动爬取系统由[DeepGHS团队](https://github.com/deepghs)([Hugging Face官方机构](https://huggingface.co/deepghs))提供技术支持。 ## 数据包清单 | 数据包名称 | 图像数量 | 文件大小 | 下载链接 | 数据类型 | 数据说明 | |:-----------------|---------:|:----------|:------------------------------------------------------------------------------------------------------------------|:-----------|:---------------------------------------------------------------------| | raw | 16 | 8.76 MiB | [下载](https://huggingface.co/datasets/CyberHarem/karin_fireemblem/resolve/main/dataset-raw.zip) | Waifuc-Raw | 包含元数据的原始图像集(若图像短边尺寸大于1400像素,则将其对齐至1400像素)。 | | 800 | 16 | 8.04 MiB | [下载](https://huggingface.co/datasets/CyberHarem/karin_fireemblem/resolve/main/dataset-800.zip) | 图像+标签文本(IMG+TXT) | 短边尺寸不超过800像素的预处理数据集。 | | stage3-p480-800 | 21 | 9.65 MiB | [下载](https://huggingface.co/datasets/CyberHarem/karin_fireemblem/resolve/main/dataset-stage3-p480-800.zip) | 图像+标签文本(IMG+TXT) | 三级裁剪预处理数据集,裁剪后区域不小于480×480像素。 | | 1200 | 16 | 8.55 MiB | [下载](https://huggingface.co/datasets/CyberHarem/karin_fireemblem/resolve/main/dataset-1200.zip) | 图像+标签文本(IMG+TXT) | 短边尺寸不超过1200像素的预处理数据集。 | | stage3-p480-1200 | 21 | 10.17 MiB | [下载](https://huggingface.co/datasets/CyberHarem/karin_fireemblem/resolve/main/dataset-stage3-p480-1200.zip) | 图像+标签文本(IMG+TXT) | 三级裁剪预处理数据集,裁剪后区域不小于480×480像素。 | ### 使用Waifuc加载原始数据集 我们提供可通过Waifuc加载的原始数据集(包含带标注的图像),具体使用教程可参考[Waifuc官方安装指南](https://deepghs.github.io/waifuc/main/tutorials/installation/index.html)。如需使用该数据集,可运行以下代码: python import os import zipfile from huggingface_hub import hf_hub_download from waifuc.source import LocalSource # 下载原始压缩数据包 zip_file = hf_hub_download( repo_id='CyberHarem/karin_fireemblem', repo_type='dataset', filename='dataset-raw.zip', ) # 将数据解压至指定目录 dataset_dir = 'dataset_dir' os.makedirs(dataset_dir, exist_ok=True) with zipfile.ZipFile(zip_file, 'r') as zf: zf.extractall(dataset_dir) # 使用Waifuc加载数据集 source = LocalSource(dataset_dir) for item in source: print(item.image, item.meta['filename'], item.meta['tags']) ## 聚类结果清单 以下为标签聚类结果列表,可从中挖掘该角色的不同穿搭风格。 ### 原始文本格式 | 序号 | 样本数 | 示例图1 | 示例图2 | 示例图3 | 示例图4 | 示例图5 | 特征标签 | |----:|----------:|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | 0 | 16 |  |  |  |  |  | 单女性角色(1girl)、微笑(smile)、单人(solo)、胸甲(breastplate)、肩甲(shoulder_armor)、张嘴(open_mouth)、光泽质感(shiny)、长矛(spear)、过膝长靴(thigh_boots)、过膝袜(thighhighs)、腰带(belt)、露指手套(fingerless_gloves)、直视镜头(looking_at_viewer)、短袖(short_sleeves)、简洁背景(simple_background)、肘部护甲(elbow_gloves)、绿色连衣裙(green_dress)、手持物品(holding) | ### 表格格式 | 序号 | 样本数 | 示例图1 | 示例图2 | 示例图3 | 示例图4 | 示例图5 | 1girl | smile | solo | breastplate | shoulder_armor | open_mouth | shiny | spear | thigh_boots | thighhighs | belt | fingerless_gloves | looking_at_viewer | short_sleeves | simple_background | elbow_gloves | green_dress | holding | |----:|----------:|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------|:--------|:-------|:--------------|:-----------------|:-------------|:--------|:--------|:--------------|:-------------|:-------|:--------------------|:--------------------|:----------------|:--------------------|:---------------|:--------------|:----------| | 0 | 16 |  |  |  |  |  | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |