Publish character 'kafka (Honkai: Star Rail)' to repository, on 2024-01-13 09:18:00 UTC
Browse files- README.md +79 -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 +111 -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
- samples/1/clu1-sample0.png +3 -0
- samples/1/clu1-sample1.png +3 -0
- samples/1/clu1-sample2.png +3 -0
- samples/1/clu1-sample3.png +3 -0
- samples/1/clu1-sample4.png +3 -0
- samples/2/clu2-sample0.png +3 -0
- samples/2/clu2-sample1.png +3 -0
- samples/2/clu2-sample2.png +3 -0
- samples/2/clu2-sample3.png +3 -0
- samples/2/clu2-sample4.png +3 -0
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 kafka/カフカ/卡芙卡/카프카 (Honkai: Star Rail)
|
13 |
+
|
14 |
+
This is the dataset of kafka/カフカ/卡芙卡/카프카 (Honkai: Star Rail), containing 500 images and their tags.
|
15 |
+
|
16 |
+
The core tags of this character are `bangs, breasts, eyewear_on_head, long_hair, sunglasses, purple_hair, purple_eyes, large_breasts`, 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 | 500 | 1.36 GiB | [Download](https://huggingface.co/datasets/CyberHarem/kafka_starrail/resolve/main/dataset-raw.zip) | Waifuc-Raw | Raw data with meta information (min edge aligned to 1400 if larger). |
|
25 |
+
| 800 | 500 | 578.82 MiB | [Download](https://huggingface.co/datasets/CyberHarem/kafka_starrail/resolve/main/dataset-800.zip) | IMG+TXT | dataset with the shorter side not exceeding 800 pixels. |
|
26 |
+
| stage3-p480-800 | 1374 | 1.28 GiB | [Download](https://huggingface.co/datasets/CyberHarem/kafka_starrail/resolve/main/dataset-stage3-p480-800.zip) | IMG+TXT | 3-stage cropped dataset with the area not less than 480x480 pixels. |
|
27 |
+
| 1200 | 500 | 1.09 GiB | [Download](https://huggingface.co/datasets/CyberHarem/kafka_starrail/resolve/main/dataset-1200.zip) | IMG+TXT | dataset with the shorter side not exceeding 1200 pixels. |
|
28 |
+
| stage3-p480-1200 | 1374 | 2.12 GiB | [Download](https://huggingface.co/datasets/CyberHarem/kafka_starrail/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/kafka_starrail',
|
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 | 22 | ![](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, white_shirt, jacket, long_sleeves, smile, looking_at_viewer, purple_gloves, closed_mouth |
|
69 |
+
| 1 | 6 | ![](samples/1/clu1-sample0.png) | ![](samples/1/clu1-sample1.png) | ![](samples/1/clu1-sample2.png) | ![](samples/1/clu1-sample3.png) | ![](samples/1/clu1-sample4.png) | 1girl, black_jacket, long_sleeves, looking_at_viewer, smile, solo, white_shirt, closed_mouth, pink_eyes, pink_hair, black_shorts, pink_gloves, open_clothes |
|
70 |
+
| 2 | 7 | ![](samples/2/clu2-sample0.png) | ![](samples/2/clu2-sample1.png) | ![](samples/2/clu2-sample2.png) | ![](samples/2/clu2-sample3.png) | ![](samples/2/clu2-sample4.png) | 1girl, holding_instrument, long_sleeves, pantyhose, playing_instrument, smile, solo, violin, white_shirt, gloves, looking_at_viewer, closed_mouth, jacket, black_shorts, petals |
|
71 |
+
|
72 |
+
### Table Version
|
73 |
+
|
74 |
+
| # | Samples | Img-1 | Img-2 | Img-3 | Img-4 | Img-5 | 1girl | solo | white_shirt | jacket | long_sleeves | smile | looking_at_viewer | purple_gloves | closed_mouth | black_jacket | pink_eyes | pink_hair | black_shorts | pink_gloves | open_clothes | holding_instrument | pantyhose | playing_instrument | violin | gloves | petals |
|
75 |
+
|----:|----------:|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------|:-------|:--------------|:---------|:---------------|:--------|:--------------------|:----------------|:---------------|:---------------|:------------|:------------|:---------------|:--------------|:---------------|:---------------------|:------------|:---------------------|:---------|:---------|:---------|
|
76 |
+
| 0 | 22 | ![](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 | | | | | | | | | | | | |
|
77 |
+
| 1 | 6 | ![](samples/1/clu1-sample0.png) | ![](samples/1/clu1-sample1.png) | ![](samples/1/clu1-sample2.png) | ![](samples/1/clu1-sample3.png) | ![](samples/1/clu1-sample4.png) | X | X | X | | X | X | X | | X | X | X | X | X | X | X | | | | | | |
|
78 |
+
| 2 | 7 | ![](samples/2/clu2-sample0.png) | ![](samples/2/clu2-sample1.png) | ![](samples/2/clu2-sample2.png) | ![](samples/2/clu2-sample3.png) | ![](samples/2/clu2-sample4.png) | X | X | X | X | X | X | X | | X | | | | X | | | X | X | X | X | X | X |
|
79 |
+
|
dataset-1200.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:deb189d75686a08ad4dbdf84f0fec03ecb5338b56ea2def39da0849eefd2cad2
|
3 |
+
size 1167175521
|
dataset-800.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9b28cd875524dac7262c1d030e2b3e4215d0ea7f7a8e1e6c1bf33ff36d75727f
|
3 |
+
size 606936398
|
dataset-raw.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:460095ec6123fa5e2d4719042315d21e551b5efe8365a6930215e29e69dddc97
|
3 |
+
size 1458817326
|
dataset-stage3-p480-1200.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1097eeea6627b8f3835ee41bdca400dcb63f38c2e4d237aa92ed9196291f49ea
|
3 |
+
size 2276299227
|
dataset-stage3-p480-800.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2cfb513a33006afaee2a92b34aade6346129ae608a3d12bd3006d9b12e8f6be0
|
3 |
+
size 1374301216
|
meta.json
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bangumi": null,
|
3 |
+
"base_size": 500,
|
4 |
+
"clusters": [
|
5 |
+
{
|
6 |
+
"id": 0,
|
7 |
+
"size": 22,
|
8 |
+
"tags": [
|
9 |
+
"1girl",
|
10 |
+
"solo",
|
11 |
+
"white_shirt",
|
12 |
+
"jacket",
|
13 |
+
"long_sleeves",
|
14 |
+
"smile",
|
15 |
+
"looking_at_viewer",
|
16 |
+
"purple_gloves",
|
17 |
+
"closed_mouth"
|
18 |
+
]
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"id": 1,
|
22 |
+
"size": 6,
|
23 |
+
"tags": [
|
24 |
+
"1girl",
|
25 |
+
"black_jacket",
|
26 |
+
"long_sleeves",
|
27 |
+
"looking_at_viewer",
|
28 |
+
"smile",
|
29 |
+
"solo",
|
30 |
+
"white_shirt",
|
31 |
+
"closed_mouth",
|
32 |
+
"pink_eyes",
|
33 |
+
"pink_hair",
|
34 |
+
"black_shorts",
|
35 |
+
"pink_gloves",
|
36 |
+
"open_clothes"
|
37 |
+
]
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"id": 2,
|
41 |
+
"size": 7,
|
42 |
+
"tags": [
|
43 |
+
"1girl",
|
44 |
+
"holding_instrument",
|
45 |
+
"long_sleeves",
|
46 |
+
"pantyhose",
|
47 |
+
"playing_instrument",
|
48 |
+
"smile",
|
49 |
+
"solo",
|
50 |
+
"violin",
|
51 |
+
"white_shirt",
|
52 |
+
"gloves",
|
53 |
+
"looking_at_viewer",
|
54 |
+
"closed_mouth",
|
55 |
+
"jacket",
|
56 |
+
"black_shorts",
|
57 |
+
"petals"
|
58 |
+
]
|
59 |
+
}
|
60 |
+
],
|
61 |
+
"core_tags": [
|
62 |
+
"bangs",
|
63 |
+
"breasts",
|
64 |
+
"eyewear_on_head",
|
65 |
+
"long_hair",
|
66 |
+
"sunglasses",
|
67 |
+
"purple_hair",
|
68 |
+
"purple_eyes",
|
69 |
+
"large_breasts"
|
70 |
+
],
|
71 |
+
"display_name": "kafka/カフカ/卡芙卡/카프카 (Honkai: Star Rail)",
|
72 |
+
"name": "kafka (Honkai: Star Rail)",
|
73 |
+
"packages": {
|
74 |
+
"1200": {
|
75 |
+
"description": "dataset with the shorter side not exceeding 1200 pixels.",
|
76 |
+
"filename": "dataset-1200.zip",
|
77 |
+
"package_size": 1167175521,
|
78 |
+
"size": 500,
|
79 |
+
"type": "IMG+TXT"
|
80 |
+
},
|
81 |
+
"800": {
|
82 |
+
"description": "dataset with the shorter side not exceeding 800 pixels.",
|
83 |
+
"filename": "dataset-800.zip",
|
84 |
+
"package_size": 606936398,
|
85 |
+
"size": 500,
|
86 |
+
"type": "IMG+TXT"
|
87 |
+
},
|
88 |
+
"raw": {
|
89 |
+
"description": "Raw data with meta information (min edge aligned to 1400 if larger).",
|
90 |
+
"filename": "dataset-raw.zip",
|
91 |
+
"package_size": 1458817326,
|
92 |
+
"size": 500,
|
93 |
+
"type": "Waifuc-Raw"
|
94 |
+
},
|
95 |
+
"stage3-p480-1200": {
|
96 |
+
"description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
|
97 |
+
"filename": "dataset-stage3-p480-1200.zip",
|
98 |
+
"package_size": 2276299227,
|
99 |
+
"size": 1374,
|
100 |
+
"type": "IMG+TXT"
|
101 |
+
},
|
102 |
+
"stage3-p480-800": {
|
103 |
+
"description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
|
104 |
+
"filename": "dataset-stage3-p480-800.zip",
|
105 |
+
"package_size": 1374301216,
|
106 |
+
"size": 1374,
|
107 |
+
"type": "IMG+TXT"
|
108 |
+
}
|
109 |
+
},
|
110 |
+
"version": "v1.5"
|
111 |
+
}
|
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
|
samples/1/clu1-sample0.png
ADDED
Git LFS Details
|
samples/1/clu1-sample1.png
ADDED
Git LFS Details
|
samples/1/clu1-sample2.png
ADDED
Git LFS Details
|
samples/1/clu1-sample3.png
ADDED
Git LFS Details
|
samples/1/clu1-sample4.png
ADDED
Git LFS Details
|
samples/2/clu2-sample0.png
ADDED
Git LFS Details
|
samples/2/clu2-sample1.png
ADDED
Git LFS Details
|
samples/2/clu2-sample2.png
ADDED
Git LFS Details
|
samples/2/clu2-sample3.png
ADDED
Git LFS Details
|
samples/2/clu2-sample4.png
ADDED
Git LFS Details
|