CyberHarem/an_94_girlsfrontline
收藏Hugging Face2024-01-13 更新2024-03-04 收录
下载链接:
https://hf-mirror.com/datasets/CyberHarem/an_94_girlsfrontline
下载链接
链接失效反馈官方服务:
资源简介:
---
license: mit
task_categories:
- text-to-image
tags:
- art
- not-for-all-audiences
size_categories:
- n<1K
---
# Dataset of an_94/AN-94/AN-94 (Girls' Frontline)
This is the dataset of an_94/AN-94/AN-94 (Girls' Frontline), containing 500 images and their tags.
The core tags of this character are `long_hair, bangs, hairband, blonde_hair, blue_eyes, aqua_eyes, breasts`, 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 | 693.36 MiB | [Download](https://huggingface.co/datasets/CyberHarem/an_94_girlsfrontline/resolve/main/dataset-raw.zip) | Waifuc-Raw | Raw data with meta information (min edge aligned to 1400 if larger). |
| 800 | 500 | 377.32 MiB | [Download](https://huggingface.co/datasets/CyberHarem/an_94_girlsfrontline/resolve/main/dataset-800.zip) | IMG+TXT | dataset with the shorter side not exceeding 800 pixels. |
| stage3-p480-800 | 1134 | 773.31 MiB | [Download](https://huggingface.co/datasets/CyberHarem/an_94_girlsfrontline/resolve/main/dataset-stage3-p480-800.zip) | IMG+TXT | 3-stage cropped dataset with the area not less than 480x480 pixels. |
| 1200 | 500 | 603.41 MiB | [Download](https://huggingface.co/datasets/CyberHarem/an_94_girlsfrontline/resolve/main/dataset-1200.zip) | IMG+TXT | dataset with the shorter side not exceeding 1200 pixels. |
| stage3-p480-1200 | 1134 | 1.09 GiB | [Download](https://huggingface.co/datasets/CyberHarem/an_94_girlsfrontline/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/an_94_girlsfrontline',
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 | 34 |  |  |  |  |  | 1girl, assault_rifle, holding_gun, jacket, solo, black_gloves, tactical_clothes, long_sleeves, closed_mouth, standing, shorts, looking_at_viewer, white_background |
| 1 | 7 |  |  |  |  |  | 1girl, assault_rifle, holding_gun, jacket, long_sleeves, mouth_mask, solo, black_gloves, boots, shorts |
| 2 | 13 |  |  |  |  |  | 1girl, black_gloves, long_sleeves, looking_at_viewer, solo, jacket, simple_background, closed_mouth, tactical_clothes, upper_body, white_background, sidelocks |
| 3 | 8 |  |  |  |  |  | 1girl, jacket, solo, upper_body, closed_mouth, white_background, looking_at_viewer, looking_away, simple_background, mask |
| 4 | 20 |  |  |  |  |  | hair_ribbon, 1girl, black_dress, collarbone, solo, black_gloves, necklace, braid, black_ribbon, closed_mouth, looking_at_viewer, off-shoulder_dress, blush, bare_shoulders, belt, black_hairband, alternate_costume, simple_background, sitting, white_background, sidelocks |
| 5 | 8 |  |  |  |  |  | blue_sky, day, black_bikini, looking_at_viewer, outdoors, 1girl, beach, blush, cleavage, closed_mouth, medium_breasts, solo, bare_shoulders, cloud, collarbone, navel, wet, holding, ocean, standing, thighs, alternate_breast_size, assault_rifle, green_eyes, large_breasts, side-tie_bikini_bottom, underboob, very_long_hair |
| 6 | 9 |  |  |  |  |  | 1girl, solo, black_skirt, looking_at_viewer, white_shirt, pleated_skirt, simple_background, closed_mouth, sailor_collar, serafuku, sitting, white_background, blush, holding, neckerchief, open_mouth, socks, standing |
### Table Version
| # | Samples | Img-1 | Img-2 | Img-3 | Img-4 | Img-5 | 1girl | assault_rifle | holding_gun | jacket | solo | black_gloves | tactical_clothes | long_sleeves | closed_mouth | standing | shorts | looking_at_viewer | white_background | mouth_mask | boots | simple_background | upper_body | sidelocks | looking_away | mask | hair_ribbon | black_dress | collarbone | necklace | braid | black_ribbon | off-shoulder_dress | blush | bare_shoulders | belt | black_hairband | alternate_costume | sitting | blue_sky | day | black_bikini | outdoors | beach | cleavage | medium_breasts | cloud | navel | wet | holding | ocean | thighs | alternate_breast_size | green_eyes | large_breasts | side-tie_bikini_bottom | underboob | very_long_hair | black_skirt | white_shirt | pleated_skirt | sailor_collar | serafuku | neckerchief | open_mouth | socks |
|----:|----------:|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------|:----------------|:--------------|:---------|:-------|:---------------|:-------------------|:---------------|:---------------|:-----------|:---------|:--------------------|:-------------------|:-------------|:--------|:--------------------|:-------------|:------------|:---------------|:-------|:--------------|:--------------|:-------------|:-----------|:--------|:---------------|:---------------------|:--------|:-----------------|:-------|:-----------------|:--------------------|:----------|:-----------|:------|:---------------|:-----------|:--------|:-----------|:-----------------|:--------|:--------|:------|:----------|:--------|:---------|:------------------------|:-------------|:----------------|:-------------------------|:------------|:-----------------|:--------------|:--------------|:----------------|:----------------|:-----------|:--------------|:-------------|:--------|
| 0 | 34 |  |  |  |  |  | X | X | X | X | X | X | X | X | X | X | X | X | X | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| 1 | 7 |  |  |  |  |  | X | X | X | X | X | X | | X | | | X | | | X | X | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| 2 | 13 |  |  |  |  |  | X | | | X | X | X | X | X | X | | | X | X | | | X | X | X | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| 3 | 8 |  |  |  |  |  | X | | | X | X | | | | X | | | X | X | | | X | X | | X | X | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| 4 | 20 |  |  |  |  |  | X | | | | X | X | | | X | | | X | X | | | X | | X | | | X | X | X | X | X | X | X | X | X | X | X | X | X | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| 5 | 8 |  |  |  |  |  | X | X | | | X | | | | X | X | | X | | | | | | | | | | | X | | | | | X | X | | | | | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | | | | | | | | |
| 6 | 9 |  |  |  |  |  | X | | | | X | | | | X | X | | X | X | | | X | | | | | | | | | | | | X | | | | | X | | | | | | | | | | | X | | | | | | | | | X | X | X | X | X | X | X | X |
提供机构:
CyberHarem
原始信息汇总
数据集概述
数据集名称
- 名称: Dataset of an_94/AN-94/AN-94 (Girls Frontline)
数据集内容
- 内容: 包含500张图像及其标签。
- 核心标签: long_hair, bangs, hairband, blonde_hair, blue_eyes, aqua_eyes, breasts
数据集来源
- 来源: 图像从多个网站(如danbooru, pixiv, zerochan等)爬取。
- 爬取系统: 由DeepGHS Team开发。
数据集版本与下载
- 版本:
- raw: 500张图像,693.36 MiB,包含元信息。
- 800: 500张图像,377.32 MiB,短边不超过800像素。
- stage3-p480-800: 1134张图像,773.31 MiB,区域不小于480x480像素。
- 1200: 500张图像,603.41 MiB,短边不超过1200像素。
- stage3-p480-1200: 1134张图像,1.09 GiB,区域不小于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/an_94_girlsfrontline, 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: 34个样本,包含标签如1girl, assault_rifle, holding_gun等。
- 集群1: 7个样本,包含标签如1girl, assault_rifle, jacket等。
- 集群2: 13个样本,包含标签如1girl, jacket, tactical_clothes等。
- 集群3: 8个样本,包含标签如1girl, jacket, mask等。
- 集群4: 20个样本,包含标签如hair_ribbon, 1girl, black_dress等。
- 集群5: 8个样本,包含标签如1girl, black_bikini, beach等。
- 集群6: 9个样本,包含标签如1girl, black_skirt, sailor_collar等。



