Publish character "k31 (Girls' Frontline)" to repository, on 2024-01-14 02:31:30 UTC
Browse files- README.md +75 -0
- dataset-1200.zip +3 -0
- dataset-800.zip +3 -0
- dataset-raw.zip +3 -0
- dataset-stage3-p480-1200.zip +3 -0
- dataset-stage3-p480-800.zip +3 -0
- meta.json +74 -0
- samples/0/clu0-sample0.png +3 -0
- samples/0/clu0-sample1.png +3 -0
- samples/0/clu0-sample2.png +3 -0
- samples/0/clu0-sample3.png +3 -0
- samples/0/clu0-sample4.png +3 -0
README.md
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
task_categories:
|
4 |
+
- text-to-image
|
5 |
+
tags:
|
6 |
+
- art
|
7 |
+
- not-for-all-audiences
|
8 |
+
size_categories:
|
9 |
+
- n<1K
|
10 |
+
---
|
11 |
+
|
12 |
+
# Dataset of k31/K31/K31 (Girls' Frontline)
|
13 |
+
|
14 |
+
This is the dataset of k31/K31/K31 (Girls' Frontline), containing 18 images and their tags.
|
15 |
+
|
16 |
+
The core tags of this character are `hair_ornament, pink_hair, long_hair, purple_eyes, headphones, breasts, bangs, hair_between_eyes, hair_intakes, x_hair_ornament`, which are pruned in this dataset.
|
17 |
+
|
18 |
+
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)).
|
19 |
+
|
20 |
+
## List of Packages
|
21 |
+
|
22 |
+
| Name | Images | Size | Download | Type | Description |
|
23 |
+
|:-----------------|---------:|:----------|:--------------------------------------------------------------------------------------------------------------------|:-----------|:---------------------------------------------------------------------|
|
24 |
+
| raw | 18 | 21.44 MiB | [Download](https://huggingface.co/datasets/CyberHarem/k31_girlsfrontline/resolve/main/dataset-raw.zip) | Waifuc-Raw | Raw data with meta information (min edge aligned to 1400 if larger). |
|
25 |
+
| 800 | 18 | 10.71 MiB | [Download](https://huggingface.co/datasets/CyberHarem/k31_girlsfrontline/resolve/main/dataset-800.zip) | IMG+TXT | dataset with the shorter side not exceeding 800 pixels. |
|
26 |
+
| stage3-p480-800 | 45 | 23.98 MiB | [Download](https://huggingface.co/datasets/CyberHarem/k31_girlsfrontline/resolve/main/dataset-stage3-p480-800.zip) | IMG+TXT | 3-stage cropped dataset with the area not less than 480x480 pixels. |
|
27 |
+
| 1200 | 18 | 18.56 MiB | [Download](https://huggingface.co/datasets/CyberHarem/k31_girlsfrontline/resolve/main/dataset-1200.zip) | IMG+TXT | dataset with the shorter side not exceeding 1200 pixels. |
|
28 |
+
| stage3-p480-1200 | 45 | 37.32 MiB | [Download](https://huggingface.co/datasets/CyberHarem/k31_girlsfrontline/resolve/main/dataset-stage3-p480-1200.zip) | IMG+TXT | 3-stage cropped dataset with the area not less than 480x480 pixels. |
|
29 |
+
|
30 |
+
### Load Raw Dataset with Waifuc
|
31 |
+
|
32 |
+
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
|
33 |
+
|
34 |
+
```python
|
35 |
+
import os
|
36 |
+
import zipfile
|
37 |
+
|
38 |
+
from huggingface_hub import hf_hub_download
|
39 |
+
from waifuc.source import LocalSource
|
40 |
+
|
41 |
+
# download raw archive file
|
42 |
+
zip_file = hf_hub_download(
|
43 |
+
repo_id='CyberHarem/k31_girlsfrontline',
|
44 |
+
repo_type='dataset',
|
45 |
+
filename='dataset-raw.zip',
|
46 |
+
)
|
47 |
+
|
48 |
+
# extract files to your directory
|
49 |
+
dataset_dir = 'dataset_dir'
|
50 |
+
os.makedirs(dataset_dir, exist_ok=True)
|
51 |
+
with zipfile.ZipFile(zip_file, 'r') as zf:
|
52 |
+
zf.extractall(dataset_dir)
|
53 |
+
|
54 |
+
# load the dataset with waifuc
|
55 |
+
source = LocalSource(dataset_dir)
|
56 |
+
for item in source:
|
57 |
+
print(item.image, item.meta['filename'], item.meta['tags'])
|
58 |
+
```
|
59 |
+
|
60 |
+
## List of Clusters
|
61 |
+
|
62 |
+
List of tag clustering result, maybe some outfits can be mined here.
|
63 |
+
|
64 |
+
### Raw Text Version
|
65 |
+
|
66 |
+
| # | Samples | Img-1 | Img-2 | Img-3 | Img-4 | Img-5 | Tags |
|
67 |
+
|----:|----------:|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:-------------------------------------------------------------------------------------------------------------------|
|
68 |
+
| 0 | 18 | ![](samples/0/clu0-sample0.png) | ![](samples/0/clu0-sample1.png) | ![](samples/0/clu0-sample2.png) | ![](samples/0/clu0-sample3.png) | ![](samples/0/clu0-sample4.png) | 1girl, solo, cleavage, holding, smile, looking_at_viewer, simple_background, white_background, blush, black_jacket |
|
69 |
+
|
70 |
+
### Table Version
|
71 |
+
|
72 |
+
| # | Samples | Img-1 | Img-2 | Img-3 | Img-4 | Img-5 | 1girl | solo | cleavage | holding | smile | looking_at_viewer | simple_background | white_background | blush | black_jacket |
|
73 |
+
|----:|----------:|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------|:-------|:-----------|:----------|:--------|:--------------------|:--------------------|:-------------------|:--------|:---------------|
|
74 |
+
| 0 | 18 | ![](samples/0/clu0-sample0.png) | ![](samples/0/clu0-sample1.png) | ![](samples/0/clu0-sample2.png) | ![](samples/0/clu0-sample3.png) | ![](samples/0/clu0-sample4.png) | X | X | X | X | X | X | X | X | X | X |
|
75 |
+
|
dataset-1200.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ee3e5e1ffc52482a876df7bfc4d3114ddfb4f35ca7fa72425fed463c4b2b82e4
|
3 |
+
size 19462646
|
dataset-800.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1ed0e7c354c16896369362c05c3297f596ba9be63b61cd9b027b9374c922e432
|
3 |
+
size 11230212
|
dataset-raw.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:24057a30a1a1a2d9b4368f99f150d9f27353b41d19e8bb5b23dadfb6e22df06a
|
3 |
+
size 22483572
|
dataset-stage3-p480-1200.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fd303c88d061f3180a5bb7c5c82c83d8ffc99d9fa1e58eefd338ed267afe6d9f
|
3 |
+
size 39128235
|
dataset-stage3-p480-800.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d349f7027567f58a18baf3dddd3161f77463749550e1fbfdd74ad33c07af50bd
|
3 |
+
size 25142854
|
meta.json
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bangumi": null,
|
3 |
+
"base_size": 18,
|
4 |
+
"clusters": [
|
5 |
+
{
|
6 |
+
"id": 0,
|
7 |
+
"size": 18,
|
8 |
+
"tags": [
|
9 |
+
"1girl",
|
10 |
+
"solo",
|
11 |
+
"cleavage",
|
12 |
+
"holding",
|
13 |
+
"smile",
|
14 |
+
"looking_at_viewer",
|
15 |
+
"simple_background",
|
16 |
+
"white_background",
|
17 |
+
"blush",
|
18 |
+
"black_jacket"
|
19 |
+
]
|
20 |
+
}
|
21 |
+
],
|
22 |
+
"core_tags": [
|
23 |
+
"hair_ornament",
|
24 |
+
"pink_hair",
|
25 |
+
"long_hair",
|
26 |
+
"purple_eyes",
|
27 |
+
"headphones",
|
28 |
+
"breasts",
|
29 |
+
"bangs",
|
30 |
+
"hair_between_eyes",
|
31 |
+
"hair_intakes",
|
32 |
+
"x_hair_ornament"
|
33 |
+
],
|
34 |
+
"display_name": "k31/K31/K31 (Girls' Frontline)",
|
35 |
+
"name": "k31 (Girls' Frontline)",
|
36 |
+
"packages": {
|
37 |
+
"1200": {
|
38 |
+
"description": "dataset with the shorter side not exceeding 1200 pixels.",
|
39 |
+
"filename": "dataset-1200.zip",
|
40 |
+
"package_size": 19462646,
|
41 |
+
"size": 18,
|
42 |
+
"type": "IMG+TXT"
|
43 |
+
},
|
44 |
+
"800": {
|
45 |
+
"description": "dataset with the shorter side not exceeding 800 pixels.",
|
46 |
+
"filename": "dataset-800.zip",
|
47 |
+
"package_size": 11230212,
|
48 |
+
"size": 18,
|
49 |
+
"type": "IMG+TXT"
|
50 |
+
},
|
51 |
+
"raw": {
|
52 |
+
"description": "Raw data with meta information (min edge aligned to 1400 if larger).",
|
53 |
+
"filename": "dataset-raw.zip",
|
54 |
+
"package_size": 22483572,
|
55 |
+
"size": 18,
|
56 |
+
"type": "Waifuc-Raw"
|
57 |
+
},
|
58 |
+
"stage3-p480-1200": {
|
59 |
+
"description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
|
60 |
+
"filename": "dataset-stage3-p480-1200.zip",
|
61 |
+
"package_size": 39128235,
|
62 |
+
"size": 45,
|
63 |
+
"type": "IMG+TXT"
|
64 |
+
},
|
65 |
+
"stage3-p480-800": {
|
66 |
+
"description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
|
67 |
+
"filename": "dataset-stage3-p480-800.zip",
|
68 |
+
"package_size": 25142854,
|
69 |
+
"size": 45,
|
70 |
+
"type": "IMG+TXT"
|
71 |
+
}
|
72 |
+
},
|
73 |
+
"version": "v1.5"
|
74 |
+
}
|
samples/0/clu0-sample0.png
ADDED
Git LFS Details
|
samples/0/clu0-sample1.png
ADDED
Git LFS Details
|
samples/0/clu0-sample2.png
ADDED
Git LFS Details
|
samples/0/clu0-sample3.png
ADDED
Git LFS Details
|
samples/0/clu0-sample4.png
ADDED
Git LFS Details
|