CyberHarem/duke_of_york_azurlane
收藏资源简介:
--- license: mit task_categories: - text-to-image tags: - art - not-for-all-audiences size_categories: - n<1K --- # Dataset of duke_of_york/デューク・オブ・ヨーク/约克公爵 (Azur Lane) This is the dataset of duke_of_york/デューク・オブ・ヨーク/约克公爵 (Azur Lane), containing 145 images and their tags. The core tags of this character are `long_hair, breasts, pointy_ears, pink_hair, large_breasts, blue_eyes, bangs, earrings, very_long_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 | 145 | 220.02 MiB | [Download](https://huggingface.co/datasets/CyberHarem/duke_of_york_azurlane/resolve/main/dataset-raw.zip) | Waifuc-Raw | Raw data with meta information (min edge aligned to 1400 if larger). | | 800 | 145 | 116.81 MiB | [Download](https://huggingface.co/datasets/CyberHarem/duke_of_york_azurlane/resolve/main/dataset-800.zip) | IMG+TXT | dataset with the shorter side not exceeding 800 pixels. | | stage3-p480-800 | 350 | 247.07 MiB | [Download](https://huggingface.co/datasets/CyberHarem/duke_of_york_azurlane/resolve/main/dataset-stage3-p480-800.zip) | IMG+TXT | 3-stage cropped dataset with the area not less than 480x480 pixels. | | 1200 | 145 | 191.94 MiB | [Download](https://huggingface.co/datasets/CyberHarem/duke_of_york_azurlane/resolve/main/dataset-1200.zip) | IMG+TXT | dataset with the shorter side not exceeding 1200 pixels. | | stage3-p480-1200 | 350 | 366.19 MiB | [Download](https://huggingface.co/datasets/CyberHarem/duke_of_york_azurlane/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/duke_of_york_azurlane', 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 | 41 |  |  |  |  |  | cleavage, black_bra, epaulettes, 1girl, black_gloves, black_skirt, red_jacket, solo, looking_at_viewer, pleated_skirt, black_cape, jewelry, smile, black_pantyhose, long_sleeves, miniskirt, simple_background, holding_sword, red_cape, hair_between_eyes | | 1 | 24 |  |  |  |  |  | 1girl, looking_at_viewer, solo, bare_shoulders, elbow_gloves, smile, cleavage_cutout, race_queen, black_thighhighs, covered_navel, garter_straps, jewelry, black_gloves, blush, skindentation, parted_lips, black_leotard, thighs | | 2 | 9 |  |  |  |  |  | 1girl, bare_shoulders, black_dress, cleavage, looking_at_viewer, solo, detached_sleeves, cross, strapless_dress, nail_polish, sitting, fishnet_thighhighs, hair_between_eyes, pink_eyes, red_hair, red_nails, smile, choker, closed_mouth, collarbone, holding_cup, jewelry, red_eyes, wine_glass | | 3 | 5 |  |  |  |  |  | 1girl, looking_at_viewer, smile, solo, blush, cleavage, collarbone, navel, simple_background, bare_shoulders, elf, jewelry, white_background, arm_under_breasts, breast_hold, choker, closed_mouth, cowboy_shot, finger_to_mouth, shiny_skin, white_bikini | ### Table Version | # | Samples | Img-1 | Img-2 | Img-3 | Img-4 | Img-5 | cleavage | black_bra | epaulettes | 1girl | black_gloves | black_skirt | red_jacket | solo | looking_at_viewer | pleated_skirt | black_cape | jewelry | smile | black_pantyhose | long_sleeves | miniskirt | simple_background | holding_sword | red_cape | hair_between_eyes | bare_shoulders | elbow_gloves | cleavage_cutout | race_queen | black_thighhighs | covered_navel | garter_straps | blush | skindentation | parted_lips | black_leotard | thighs | black_dress | detached_sleeves | cross | strapless_dress | nail_polish | sitting | fishnet_thighhighs | pink_eyes | red_hair | red_nails | choker | closed_mouth | collarbone | holding_cup | red_eyes | wine_glass | navel | elf | white_background | arm_under_breasts | breast_hold | cowboy_shot | finger_to_mouth | shiny_skin | white_bikini | |----:|----------:|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:-----------|:------------|:-------------|:--------|:---------------|:--------------|:-------------|:-------|:--------------------|:----------------|:-------------|:----------|:--------|:------------------|:---------------|:------------|:--------------------|:----------------|:-----------|:--------------------|:-----------------|:---------------|:------------------|:-------------|:-------------------|:----------------|:----------------|:--------|:----------------|:--------------|:----------------|:---------|:--------------|:-------------------|:--------|:------------------|:--------------|:----------|:---------------------|:------------|:-----------|:------------|:---------|:---------------|:-------------|:--------------|:-----------|:-------------|:--------|:------|:-------------------|:--------------------|:--------------|:--------------|:------------------|:-------------|:---------------| | 0 | 41 |  |  |  |  |  | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1 | 24 |  |  |  |  |  | | | | X | X | | | X | X | | | X | X | | | | | | | | X | X | X | X | X | X | X | X | X | X | X | X | | | | | | | | | | | | | | | | | | | | | | | | | | | 2 | 9 |  |  |  |  |  | X | | | X | | | | X | X | | | X | X | | | | | | | X | X | | | | | | | | | | | | X | X | X | X | X | 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 | X | X | X | X | X | X |
数据集概述:duke_of_york/デューク・オブ・ヨーク/约克公爵 (Azur Lane)
数据集基本信息
- 许可证: MIT
- 任务类别: 文本到图像
- 标签: 艺术, 不适用于所有观众
- 大小类别: 小于1K
数据集内容
- 包含内容: 145张图像及其标签
- 核心标签: long_hair, breasts, pointy_ears, pink_hair, large_breasts, blue_eyes, bangs, earrings, very_long_hair
数据集下载
数据包列表
| 名称 | 图像数量 | 大小 | 类型 | 描述 |
|---|---|---|---|---|
| raw | 145 | 220.02 MiB | Waifuc-Raw | 原始数据,包含元信息(最小边对齐到1400像素,如果更大) |
| 800 | 145 | 116.81 MiB | IMG+TXT | 短边不超过800像素的数据集 |
| stage3-p480-800 | 350 | 247.07 MiB | IMG+TXT | 三阶段裁剪数据集,区域不小于480x480像素 |
| 1200 | 145 | 191.94 MiB | IMG+TXT | 短边不超过1200像素的数据集 |
| stage3-p480-1200 | 350 | 366.19 MiB | IMG+TXT | 三阶段裁剪数据集,区域不小于480x480像素 |
数据集使用
- 加载原始数据集: 提供给waifuc加载的原始数据集,包括带标签的图像。使用示例代码如下:
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/duke_of_york_azurlane, 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])
数据集标签聚类结果
原始文本版本
| # | 样本数 | 图像示例 | 标签 |
|---|---|---|---|
| 0 | 41 | 示例图像 | cleavage, black_bra, epaulettes, 1girl, black_gloves, black_skirt, ... |
| 1 | 24 | 示例图像 | 1girl, looking_at_viewer, solo, bare_shoulders, elbow_gloves, ... |
| 2 | 9 | 示例图像 | 1girl, bare_shoulders, black_dress, cleavage, looking_at_viewer, ... |
| 3 | 5 | 示例图像 | 1girl, looking_at_viewer, smile, solo, blush, cleavage, ... |
表格版本
| # | 样本数 | 图像示例 | cleavage | black_bra | epaulettes | 1girl | black_gloves | ... |
|---|---|---|---|---|---|---|---|---|
| 0 | 41 | 示例图像 | X | X | X | X | X | ... |
| 1 | 24 | 示例图像 | X | X | ... | |||
| 2 | 9 | 示例图像 | X | X | ... | |||
| 3 | 5 | 示例图像 | X | X | ... |



