Datasets:

Tags:
art
Not-For-All-Audiences
Libraries:
Datasets
License:
narugo commited on
Commit
fbf1548
1 Parent(s): 7b6f467

Publish character 'teireida_mai (Touhou)' to repository, on 2024-01-15 02:20:26 UTC

Browse files
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

  • SHA256: 9eff4564516f6ea54a22f341f551e172f8861965995efe44420ef5a084f5cdb8
  • Pointer size: 131 Bytes
  • Size of remote file: 293 kB
samples/0/clu0-sample1.png ADDED

Git LFS Details

  • SHA256: 7ce0f59b936041fdc1dac5b20c9fabc63d2597a140b974ebb48169faf579eaaf
  • Pointer size: 131 Bytes
  • Size of remote file: 255 kB
samples/0/clu0-sample2.png ADDED

Git LFS Details

  • SHA256: 0b903a4dceed32d581989e541c53792b81478e5aadb4fa7e34a42d217ab47f9b
  • Pointer size: 131 Bytes
  • Size of remote file: 181 kB
samples/0/clu0-sample3.png ADDED

Git LFS Details

  • SHA256: be7fd2806797f8077d4f2c9b6aaf450f0fa7c1ac5918d5290c03111a74ea11b2
  • Pointer size: 131 Bytes
  • Size of remote file: 266 kB
samples/0/clu0-sample4.png ADDED

Git LFS Details

  • SHA256: f70e4cb2ecbdeb281439d9487cb6d29086d13d1506ccdd9cb10b145166142349
  • Pointer size: 131 Bytes
  • Size of remote file: 230 kB
samples/1/clu1-sample0.png ADDED

Git LFS Details

  • SHA256: 580ff4009e337c3c364f29004eaf9b91273f91a5b6f2552ebdb185b34ede6088
  • Pointer size: 131 Bytes
  • Size of remote file: 240 kB
samples/1/clu1-sample1.png ADDED

Git LFS Details

  • SHA256: ded77202afeee961fc1f5430d5d07440702b7a5a027f0c29bc7c3e0406e92500
  • Pointer size: 131 Bytes
  • Size of remote file: 338 kB
samples/1/clu1-sample2.png ADDED

Git LFS Details

  • SHA256: 7df7202d8fe9c325d9c03ffde5ce61bc025b7be92a061a4e849ae5a95f22571f
  • Pointer size: 131 Bytes
  • Size of remote file: 370 kB
samples/1/clu1-sample3.png ADDED

Git LFS Details

  • SHA256: d9230fd2a9f11aed47d9e3bf2298d2d9390f4bf14d857917fa9f05ac523dacaf
  • Pointer size: 131 Bytes
  • Size of remote file: 356 kB
samples/1/clu1-sample4.png ADDED

Git LFS Details

  • SHA256: fcc04413a46d1b59af5f5be9055d43b279a8c1b8b064e4395dd783a57714a9a8
  • Pointer size: 131 Bytes
  • Size of remote file: 525 kB
samples/2/clu2-sample0.png ADDED

Git LFS Details

  • SHA256: bbaa02222ee16329d4f8c97af184fce4bcc6970b198d6f737f75ea70c98755b1
  • Pointer size: 131 Bytes
  • Size of remote file: 292 kB
samples/2/clu2-sample1.png ADDED

Git LFS Details

  • SHA256: 8028893e5df51d817ef7db6fd0d0d4302c6d1303e1cfd5b9e5db39d06e38c46d
  • Pointer size: 131 Bytes
  • Size of remote file: 211 kB
samples/2/clu2-sample2.png ADDED

Git LFS Details

  • SHA256: 9ffaf58cb55430e8d98cf0823363faa1d0e0d4e431e9f64f5deb33be4a7f83d5
  • Pointer size: 131 Bytes
  • Size of remote file: 448 kB
samples/2/clu2-sample3.png ADDED

Git LFS Details

  • SHA256: 73975a5f97a449c3faa63c20f86207a5542d46b65cfd5811371cf66b550290ae
  • Pointer size: 131 Bytes
  • Size of remote file: 479 kB
samples/2/clu2-sample4.png ADDED

Git LFS Details

  • SHA256: 6b87641c34436dae42d3d550f95ce332773b33d87ed9520acc20f8d7bd3dc28a
  • Pointer size: 131 Bytes
  • Size of remote file: 275 kB