Publish character 'teireida_mai (Touhou)' to repository, on 2024-01-15 02:20:26 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 +128 -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 teireida_mai/丁礼田舞 (Touhou)
|
13 |
+
|
14 |
+
This is the dataset of teireida_mai/丁礼田舞 (Touhou), containing 328 images and their tags.
|
15 |
+
|
16 |
+
The core tags of this character are `green_hair, green_eyes, hat, black_headwear, bow, sidelocks, bangs, yellow_bow`, 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 | 328 | 271.31 MiB | [Download](https://huggingface.co/datasets/CyberHarem/teireida_mai_touhou/resolve/main/dataset-raw.zip) | Waifuc-Raw | Raw data with meta information (min edge aligned to 1400 if larger). |
|
25 |
+
| 800 | 328 | 193.56 MiB | [Download](https://huggingface.co/datasets/CyberHarem/teireida_mai_touhou/resolve/main/dataset-800.zip) | IMG+TXT | dataset with the shorter side not exceeding 800 pixels. |
|
26 |
+
| stage3-p480-800 | 653 | 357.67 MiB | [Download](https://huggingface.co/datasets/CyberHarem/teireida_mai_touhou/resolve/main/dataset-stage3-p480-800.zip) | IMG+TXT | 3-stage cropped dataset with the area not less than 480x480 pixels. |
|
27 |
+
| 1200 | 328 | 252.53 MiB | [Download](https://huggingface.co/datasets/CyberHarem/teireida_mai_touhou/resolve/main/dataset-1200.zip) | IMG+TXT | dataset with the shorter side not exceeding 1200 pixels. |
|
28 |
+
| stage3-p480-1200 | 653 | 457.21 MiB | [Download](https://huggingface.co/datasets/CyberHarem/teireida_mai_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/teireida_mai_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 | 31 | ![](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) | green_dress, short_hair_with_long_locks, 1girl, solo, waist_apron, black_socks, looking_at_viewer, tate_eboshi, full_body, green_footwear, bamboo, holding, frills, white_background, open_mouth, kneehighs, mary_janes, puffy_short_sleeves, simple_background, :d, white_apron, yellow_ribbon |
|
69 |
+
| 1 | 5 | ![](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, bamboo, green_dress, looking_at_viewer, open_mouth, puffy_short_sleeves, short_hair_with_long_locks, solo, tate_eboshi, waist_apron, :d, frills, holding, simple_background, white_apron, green_background |
|
70 |
+
| 2 | 5 | ![](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) | 2girls, brown_hair, frills, green_dress, puffy_short_sleeves, short_hair_with_long_locks, tate_eboshi, waist_apron, bamboo, pink_dress, holding, white_apron, grin, looking_at_viewer, solo_focus, star_(symbol) |
|
71 |
+
|
72 |
+
### Table Version
|
73 |
+
|
74 |
+
| # | Samples | Img-1 | Img-2 | Img-3 | Img-4 | Img-5 | green_dress | short_hair_with_long_locks | 1girl | solo | waist_apron | black_socks | looking_at_viewer | tate_eboshi | full_body | green_footwear | bamboo | holding | frills | white_background | open_mouth | kneehighs | mary_janes | puffy_short_sleeves | simple_background | :d | white_apron | yellow_ribbon | green_background | 2girls | brown_hair | pink_dress | grin | solo_focus | star_(symbol) |
|
75 |
+
|----:|----------:|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------|:-----------------------------|:--------|:-------|:--------------|:--------------|:--------------------|:--------------|:------------|:-----------------|:---------|:----------|:---------|:-------------------|:-------------|:------------|:-------------|:----------------------|:--------------------|:-----|:--------------|:----------------|:-------------------|:---------|:-------------|:-------------|:-------|:-------------|:----------------|
|
76 |
+
| 0 | 31 | ![](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 | X | X | X | X | X | X | X | X | X | | | | | | | |
|
77 |
+
| 1 | 5 | ![](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 | X | X | | X | | | | | | |
|
78 |
+
| 2 | 5 | ![](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 | X |
|
79 |
+
|
dataset-1200.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:99766eec23b71ac64e276ba2a5f89bc809124e7ae763152c72388c2d3852adbf
|
3 |
+
size 264796295
|
dataset-800.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c0bb992730fe58cb7ba4beeba6b80b0837019c13a7058e0d4947c90f1ffbb04c
|
3 |
+
size 202960715
|
dataset-raw.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:23bf9dfa1e08d1861f8a4c7232ed7d82487c4c0e740d85b1063683999fd0a31a
|
3 |
+
size 284485844
|
dataset-stage3-p480-1200.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d77350ae69d223752fa2fa19700b5bfee99d6444b1073e66c14f25397c29b034
|
3 |
+
size 479420022
|
dataset-stage3-p480-800.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2c3369cd2c646d98d20696fddc7a7052805512c5789522e6f62c36a720014835
|
3 |
+
size 375039116
|
meta.json
ADDED
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bangumi": null,
|
3 |
+
"base_size": 328,
|
4 |
+
"clusters": [
|
5 |
+
{
|
6 |
+
"id": 0,
|
7 |
+
"size": 31,
|
8 |
+
"tags": [
|
9 |
+
"green_dress",
|
10 |
+
"short_hair_with_long_locks",
|
11 |
+
"1girl",
|
12 |
+
"solo",
|
13 |
+
"waist_apron",
|
14 |
+
"black_socks",
|
15 |
+
"looking_at_viewer",
|
16 |
+
"tate_eboshi",
|
17 |
+
"full_body",
|
18 |
+
"green_footwear",
|
19 |
+
"bamboo",
|
20 |
+
"holding",
|
21 |
+
"frills",
|
22 |
+
"white_background",
|
23 |
+
"open_mouth",
|
24 |
+
"kneehighs",
|
25 |
+
"mary_janes",
|
26 |
+
"puffy_short_sleeves",
|
27 |
+
"simple_background",
|
28 |
+
":d",
|
29 |
+
"white_apron",
|
30 |
+
"yellow_ribbon"
|
31 |
+
]
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"id": 1,
|
35 |
+
"size": 5,
|
36 |
+
"tags": [
|
37 |
+
"1girl",
|
38 |
+
"bamboo",
|
39 |
+
"green_dress",
|
40 |
+
"looking_at_viewer",
|
41 |
+
"open_mouth",
|
42 |
+
"puffy_short_sleeves",
|
43 |
+
"short_hair_with_long_locks",
|
44 |
+
"solo",
|
45 |
+
"tate_eboshi",
|
46 |
+
"waist_apron",
|
47 |
+
":d",
|
48 |
+
"frills",
|
49 |
+
"holding",
|
50 |
+
"simple_background",
|
51 |
+
"white_apron",
|
52 |
+
"green_background"
|
53 |
+
]
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"id": 2,
|
57 |
+
"size": 5,
|
58 |
+
"tags": [
|
59 |
+
"2girls",
|
60 |
+
"brown_hair",
|
61 |
+
"frills",
|
62 |
+
"green_dress",
|
63 |
+
"puffy_short_sleeves",
|
64 |
+
"short_hair_with_long_locks",
|
65 |
+
"tate_eboshi",
|
66 |
+
"waist_apron",
|
67 |
+
"bamboo",
|
68 |
+
"pink_dress",
|
69 |
+
"holding",
|
70 |
+
"white_apron",
|
71 |
+
"grin",
|
72 |
+
"looking_at_viewer",
|
73 |
+
"solo_focus",
|
74 |
+
"star_(symbol)"
|
75 |
+
]
|
76 |
+
}
|
77 |
+
],
|
78 |
+
"core_tags": [
|
79 |
+
"green_hair",
|
80 |
+
"green_eyes",
|
81 |
+
"hat",
|
82 |
+
"black_headwear",
|
83 |
+
"bow",
|
84 |
+
"sidelocks",
|
85 |
+
"bangs",
|
86 |
+
"yellow_bow"
|
87 |
+
],
|
88 |
+
"display_name": "teireida_mai/丁礼田舞 (Touhou)",
|
89 |
+
"name": "teireida_mai (Touhou)",
|
90 |
+
"packages": {
|
91 |
+
"1200": {
|
92 |
+
"description": "dataset with the shorter side not exceeding 1200 pixels.",
|
93 |
+
"filename": "dataset-1200.zip",
|
94 |
+
"package_size": 264796295,
|
95 |
+
"size": 328,
|
96 |
+
"type": "IMG+TXT"
|
97 |
+
},
|
98 |
+
"800": {
|
99 |
+
"description": "dataset with the shorter side not exceeding 800 pixels.",
|
100 |
+
"filename": "dataset-800.zip",
|
101 |
+
"package_size": 202960715,
|
102 |
+
"size": 328,
|
103 |
+
"type": "IMG+TXT"
|
104 |
+
},
|
105 |
+
"raw": {
|
106 |
+
"description": "Raw data with meta information (min edge aligned to 1400 if larger).",
|
107 |
+
"filename": "dataset-raw.zip",
|
108 |
+
"package_size": 284485844,
|
109 |
+
"size": 328,
|
110 |
+
"type": "Waifuc-Raw"
|
111 |
+
},
|
112 |
+
"stage3-p480-1200": {
|
113 |
+
"description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
|
114 |
+
"filename": "dataset-stage3-p480-1200.zip",
|
115 |
+
"package_size": 479420022,
|
116 |
+
"size": 653,
|
117 |
+
"type": "IMG+TXT"
|
118 |
+
},
|
119 |
+
"stage3-p480-800": {
|
120 |
+
"description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
|
121 |
+
"filename": "dataset-stage3-p480-800.zip",
|
122 |
+
"package_size": 375039116,
|
123 |
+
"size": 653,
|
124 |
+
"type": "IMG+TXT"
|
125 |
+
}
|
126 |
+
},
|
127 |
+
"version": "v1.5"
|
128 |
+
}
|
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
|