Publish character 'toutetsu_yuuma (Touhou)' to repository, on 2024-01-15 10:29:02 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 +82 -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 toutetsu_yuuma (Touhou)
|
13 |
+
|
14 |
+
This is the dataset of toutetsu_yuuma (Touhou), containing 20 images and their tags.
|
15 |
+
|
16 |
+
The core tags of this character are `horns, red_eyes, ribbon, earrings, pointy_ears, short_hair, horn_ornament, red_horns, white_hair, horn_ribbon, bangs, curly_hair, sheep_horns, grey_hair, horizontal_pupils`, 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 | 20 | 44.78 MiB | [Download](https://huggingface.co/datasets/CyberHarem/toutetsu_yuuma_touhou/resolve/main/dataset-raw.zip) | Waifuc-Raw | Raw data with meta information (min edge aligned to 1400 if larger). |
|
25 |
+
| 800 | 20 | 20.67 MiB | [Download](https://huggingface.co/datasets/CyberHarem/toutetsu_yuuma_touhou/resolve/main/dataset-800.zip) | IMG+TXT | dataset with the shorter side not exceeding 800 pixels. |
|
26 |
+
| stage3-p480-800 | 54 | 47.08 MiB | [Download](https://huggingface.co/datasets/CyberHarem/toutetsu_yuuma_touhou/resolve/main/dataset-stage3-p480-800.zip) | IMG+TXT | 3-stage cropped dataset with the area not less than 480x480 pixels. |
|
27 |
+
| 1200 | 20 | 37.27 MiB | [Download](https://huggingface.co/datasets/CyberHarem/toutetsu_yuuma_touhou/resolve/main/dataset-1200.zip) | IMG+TXT | dataset with the shorter side not exceeding 1200 pixels. |
|
28 |
+
| stage3-p480-1200 | 54 | 74.61 MiB | [Download](https://huggingface.co/datasets/CyberHarem/toutetsu_yuuma_touhou/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/toutetsu_yuuma_touhou',
|
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 | 20 | ![](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, jewelry, solo, blue_dress, red_sleeves, sharp_teeth, looking_at_viewer, bare_shoulders, detached_sleeves, oversized_object, smile, open_mouth, spoon |
|
69 |
+
|
70 |
+
### Table Version
|
71 |
+
|
72 |
+
| # | Samples | Img-1 | Img-2 | Img-3 | Img-4 | Img-5 | 1girl | jewelry | solo | blue_dress | red_sleeves | sharp_teeth | looking_at_viewer | bare_shoulders | detached_sleeves | oversized_object | smile | open_mouth | spoon |
|
73 |
+
|----:|----------:|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------|:----------|:-------|:-------------|:--------------|:--------------|:--------------------|:-----------------|:-------------------|:-------------------|:--------|:-------------|:--------|
|
74 |
+
| 0 | 20 | ![](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 | X | X | X |
|
75 |
+
|
dataset-1200.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a754bf2038370d3092d3eb31db0ffc86db8a41d5c41cc23471311ac5ebfe539
|
3 |
+
size 39085172
|
dataset-800.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:46bbdf63b211914b4cf2a821f5da01a0ac15a43182069a7f746ed34dfaa67839
|
3 |
+
size 21673317
|
dataset-raw.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:92bc9775321998f3b2567c4386f96384b58ebc4deb0df094c64a941bf7900608
|
3 |
+
size 46955333
|
dataset-stage3-p480-1200.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dc71f98281d343467a7d1eb5033989d73d9ae39b5bfdb9b7b38884778e40a1ec
|
3 |
+
size 78238135
|
dataset-stage3-p480-800.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:19596a361ea0bcc007d7d14a0a126f1a942ba402d508582daaa0cfabf1bd3300
|
3 |
+
size 49366197
|
meta.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bangumi": null,
|
3 |
+
"base_size": 20,
|
4 |
+
"clusters": [
|
5 |
+
{
|
6 |
+
"id": 0,
|
7 |
+
"size": 20,
|
8 |
+
"tags": [
|
9 |
+
"1girl",
|
10 |
+
"jewelry",
|
11 |
+
"solo",
|
12 |
+
"blue_dress",
|
13 |
+
"red_sleeves",
|
14 |
+
"sharp_teeth",
|
15 |
+
"looking_at_viewer",
|
16 |
+
"bare_shoulders",
|
17 |
+
"detached_sleeves",
|
18 |
+
"oversized_object",
|
19 |
+
"smile",
|
20 |
+
"open_mouth",
|
21 |
+
"spoon"
|
22 |
+
]
|
23 |
+
}
|
24 |
+
],
|
25 |
+
"core_tags": [
|
26 |
+
"horns",
|
27 |
+
"red_eyes",
|
28 |
+
"ribbon",
|
29 |
+
"earrings",
|
30 |
+
"pointy_ears",
|
31 |
+
"short_hair",
|
32 |
+
"horn_ornament",
|
33 |
+
"red_horns",
|
34 |
+
"white_hair",
|
35 |
+
"horn_ribbon",
|
36 |
+
"bangs",
|
37 |
+
"curly_hair",
|
38 |
+
"sheep_horns",
|
39 |
+
"grey_hair",
|
40 |
+
"horizontal_pupils"
|
41 |
+
],
|
42 |
+
"display_name": "toutetsu_yuuma (Touhou)",
|
43 |
+
"name": "toutetsu_yuuma (Touhou)",
|
44 |
+
"packages": {
|
45 |
+
"1200": {
|
46 |
+
"description": "dataset with the shorter side not exceeding 1200 pixels.",
|
47 |
+
"filename": "dataset-1200.zip",
|
48 |
+
"package_size": 39085172,
|
49 |
+
"size": 20,
|
50 |
+
"type": "IMG+TXT"
|
51 |
+
},
|
52 |
+
"800": {
|
53 |
+
"description": "dataset with the shorter side not exceeding 800 pixels.",
|
54 |
+
"filename": "dataset-800.zip",
|
55 |
+
"package_size": 21673317,
|
56 |
+
"size": 20,
|
57 |
+
"type": "IMG+TXT"
|
58 |
+
},
|
59 |
+
"raw": {
|
60 |
+
"description": "Raw data with meta information (min edge aligned to 1400 if larger).",
|
61 |
+
"filename": "dataset-raw.zip",
|
62 |
+
"package_size": 46955333,
|
63 |
+
"size": 20,
|
64 |
+
"type": "Waifuc-Raw"
|
65 |
+
},
|
66 |
+
"stage3-p480-1200": {
|
67 |
+
"description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
|
68 |
+
"filename": "dataset-stage3-p480-1200.zip",
|
69 |
+
"package_size": 78238135,
|
70 |
+
"size": 54,
|
71 |
+
"type": "IMG+TXT"
|
72 |
+
},
|
73 |
+
"stage3-p480-800": {
|
74 |
+
"description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
|
75 |
+
"filename": "dataset-stage3-p480-800.zip",
|
76 |
+
"package_size": 49366197,
|
77 |
+
"size": 54,
|
78 |
+
"type": "IMG+TXT"
|
79 |
+
}
|
80 |
+
},
|
81 |
+
"version": "v1.5"
|
82 |
+
}
|
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
|