narugo commited on
Commit
4d951a0
1 Parent(s): 6a0eb0e

Publish character 'elis (Touhou)' to repository, on 2024-01-15 05:48:19 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 elis (Touhou)
13
+
14
+ This is the dataset of elis (Touhou), containing 108 images and their tags.
15
+
16
+ The core tags of this character are `blonde_hair, bow, long_hair, wings, hair_bow, bat_wings, pointy_ears, facial_mark, red_bow, hair_ornament, red_eyes, hair_flower, ribbon`, 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 | 108 | 90.98 MiB | [Download](https://huggingface.co/datasets/CyberHarem/elis_touhou/resolve/main/dataset-raw.zip) | Waifuc-Raw | Raw data with meta information (min edge aligned to 1400 if larger). |
25
+ | 800 | 108 | 66.81 MiB | [Download](https://huggingface.co/datasets/CyberHarem/elis_touhou/resolve/main/dataset-800.zip) | IMG+TXT | dataset with the shorter side not exceeding 800 pixels. |
26
+ | stage3-p480-800 | 208 | 123.64 MiB | [Download](https://huggingface.co/datasets/CyberHarem/elis_touhou/resolve/main/dataset-stage3-p480-800.zip) | IMG+TXT | 3-stage cropped dataset with the area not less than 480x480 pixels. |
27
+ | 1200 | 108 | 85.80 MiB | [Download](https://huggingface.co/datasets/CyberHarem/elis_touhou/resolve/main/dataset-1200.zip) | IMG+TXT | dataset with the shorter side not exceeding 1200 pixels. |
28
+ | stage3-p480-1200 | 208 | 149.78 MiB | [Download](https://huggingface.co/datasets/CyberHarem/elis_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/elis_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 | 26 | ![](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, star_(symbol), skirt, vest, wand, smile, flower |
69
+ | 1 | 8 | ![](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, long_sleeves, red_skirt, solo, star_(symbol), white_shirt, looking_at_viewer, open_vest, red_bowtie, smile, black_vest, closed_mouth, flower, simple_background, long_skirt, white_background, bangs, collared_shirt, holding_wand, arms_behind_back, puffy_sleeves |
70
+ | 2 | 8 | ![](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, red_bowtie, red_skirt, star_(symbol), white_shirt, black_vest, frilled_skirt, full_body, holding_wand, juliet_sleeves, looking_at_viewer, smile, solo, bangs, flower, open_mouth, open_vest, long_skirt, black_footwear, blush, fang, mary_janes, purple_eyes, buttons, chibi, one_eye_closed, puffy_long_sleeves, red_footwear |
71
+
72
+ ### Table Version
73
+
74
+ | # | Samples | Img-1 | Img-2 | Img-3 | Img-4 | Img-5 | 1girl | solo | star_(symbol) | skirt | vest | wand | smile | flower | long_sleeves | red_skirt | white_shirt | looking_at_viewer | open_vest | red_bowtie | black_vest | closed_mouth | simple_background | long_skirt | white_background | bangs | collared_shirt | holding_wand | arms_behind_back | puffy_sleeves | frilled_skirt | full_body | juliet_sleeves | open_mouth | black_footwear | blush | fang | mary_janes | purple_eyes | buttons | chibi | one_eye_closed | puffy_long_sleeves | red_footwear |
75
+ |----:|----------:|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------|:-------|:----------------|:--------|:-------|:-------|:--------|:---------|:---------------|:------------|:--------------|:--------------------|:------------|:-------------|:-------------|:---------------|:--------------------|:-------------|:-------------------|:--------|:-----------------|:---------------|:-------------------|:----------------|:----------------|:------------|:-----------------|:-------------|:-----------------|:--------|:-------|:-------------|:--------------|:----------|:--------|:-----------------|:---------------------|:---------------|
76
+ | 0 | 26 | ![](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 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
77
+ | 1 | 8 | ![](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 | X | X | X | X | X | | | | | | | | | | | | | | |
78
+ | 2 | 8 | ![](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 | 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:d0c1e7b1dcf85bc3678abcdf2bacc9f244a841cfc3607b5085d71ca118a495ac
3
+ size 89967681
dataset-800.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f0793502592fa499d6283ed6ac53e329e9e27c3a6fb1623ade6ce7c41f56a39
3
+ size 70060336
dataset-raw.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:016fdc33f8cc9d4d5464da0f18cd0671fa982b49aca897fc49a367ce5c58c669
3
+ size 95396101
dataset-stage3-p480-1200.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9cb688d73224bd13b11fc2644ab3970b11036dee1f6526b555bcbcc77f3abff5
3
+ size 157057644
dataset-stage3-p480-800.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9fdb4d5094e58589b51638eb3a1545945daaae2460dfb576c9ff331156b441d
3
+ size 129647060
meta.json ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bangumi": null,
3
+ "base_size": 108,
4
+ "clusters": [
5
+ {
6
+ "id": 0,
7
+ "size": 26,
8
+ "tags": [
9
+ "1girl",
10
+ "solo",
11
+ "star_(symbol)",
12
+ "skirt",
13
+ "vest",
14
+ "wand",
15
+ "smile",
16
+ "flower"
17
+ ]
18
+ },
19
+ {
20
+ "id": 1,
21
+ "size": 8,
22
+ "tags": [
23
+ "1girl",
24
+ "long_sleeves",
25
+ "red_skirt",
26
+ "solo",
27
+ "star_(symbol)",
28
+ "white_shirt",
29
+ "looking_at_viewer",
30
+ "open_vest",
31
+ "red_bowtie",
32
+ "smile",
33
+ "black_vest",
34
+ "closed_mouth",
35
+ "flower",
36
+ "simple_background",
37
+ "long_skirt",
38
+ "white_background",
39
+ "bangs",
40
+ "collared_shirt",
41
+ "holding_wand",
42
+ "arms_behind_back",
43
+ "puffy_sleeves"
44
+ ]
45
+ },
46
+ {
47
+ "id": 2,
48
+ "size": 8,
49
+ "tags": [
50
+ "1girl",
51
+ "red_bowtie",
52
+ "red_skirt",
53
+ "star_(symbol)",
54
+ "white_shirt",
55
+ "black_vest",
56
+ "frilled_skirt",
57
+ "full_body",
58
+ "holding_wand",
59
+ "juliet_sleeves",
60
+ "looking_at_viewer",
61
+ "smile",
62
+ "solo",
63
+ "bangs",
64
+ "flower",
65
+ "open_mouth",
66
+ "open_vest",
67
+ "long_skirt",
68
+ "black_footwear",
69
+ "blush",
70
+ "fang",
71
+ "mary_janes",
72
+ "purple_eyes",
73
+ "buttons",
74
+ "chibi",
75
+ "one_eye_closed",
76
+ "puffy_long_sleeves",
77
+ "red_footwear"
78
+ ]
79
+ }
80
+ ],
81
+ "core_tags": [
82
+ "blonde_hair",
83
+ "bow",
84
+ "long_hair",
85
+ "wings",
86
+ "hair_bow",
87
+ "bat_wings",
88
+ "pointy_ears",
89
+ "facial_mark",
90
+ "red_bow",
91
+ "hair_ornament",
92
+ "red_eyes",
93
+ "hair_flower",
94
+ "ribbon"
95
+ ],
96
+ "display_name": "elis (Touhou)",
97
+ "name": "elis (Touhou)",
98
+ "packages": {
99
+ "1200": {
100
+ "description": "dataset with the shorter side not exceeding 1200 pixels.",
101
+ "filename": "dataset-1200.zip",
102
+ "package_size": 89967681,
103
+ "size": 108,
104
+ "type": "IMG+TXT"
105
+ },
106
+ "800": {
107
+ "description": "dataset with the shorter side not exceeding 800 pixels.",
108
+ "filename": "dataset-800.zip",
109
+ "package_size": 70060336,
110
+ "size": 108,
111
+ "type": "IMG+TXT"
112
+ },
113
+ "raw": {
114
+ "description": "Raw data with meta information (min edge aligned to 1400 if larger).",
115
+ "filename": "dataset-raw.zip",
116
+ "package_size": 95396101,
117
+ "size": 108,
118
+ "type": "Waifuc-Raw"
119
+ },
120
+ "stage3-p480-1200": {
121
+ "description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
122
+ "filename": "dataset-stage3-p480-1200.zip",
123
+ "package_size": 157057644,
124
+ "size": 208,
125
+ "type": "IMG+TXT"
126
+ },
127
+ "stage3-p480-800": {
128
+ "description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
129
+ "filename": "dataset-stage3-p480-800.zip",
130
+ "package_size": 129647060,
131
+ "size": 208,
132
+ "type": "IMG+TXT"
133
+ }
134
+ },
135
+ "version": "v1.5"
136
+ }
samples/0/clu0-sample0.png ADDED

Git LFS Details

  • SHA256: 2ec86ea33d58a472798ceb10ded25b55870b9a61af97f037d272e0a7e3771001
  • Pointer size: 131 Bytes
  • Size of remote file: 406 kB
samples/0/clu0-sample1.png ADDED

Git LFS Details

  • SHA256: 8fa13ee84aa1b04bc9ed2d050864af372fdc038f4566513d7dad6a3d83932a65
  • Pointer size: 131 Bytes
  • Size of remote file: 363 kB
samples/0/clu0-sample2.png ADDED

Git LFS Details

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

Git LFS Details

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

Git LFS Details

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

Git LFS Details

  • SHA256: 0bcfdbccf0ab3561fe82ab29d6165b5e96da065e1e7724598d02003c0669cb4a
  • Pointer size: 131 Bytes
  • Size of remote file: 365 kB
samples/1/clu1-sample1.png ADDED

Git LFS Details

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

Git LFS Details

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

Git LFS Details

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

Git LFS Details

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

Git LFS Details

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

Git LFS Details

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

Git LFS Details

  • SHA256: 3e46bf38b42712d56dd43ad31aa0cf2d3d1cd9c69d91e826680ae225cdff8e32
  • Pointer size: 131 Bytes
  • Size of remote file: 343 kB
samples/2/clu2-sample3.png ADDED

Git LFS Details

  • SHA256: 2832161830fb5e06702a3348103c3bb52792d54a95c192411e8bb842871c310d
  • Pointer size: 131 Bytes
  • Size of remote file: 239 kB
samples/2/clu2-sample4.png ADDED

Git LFS Details

  • SHA256: 59a70afd5329ab4324335047b7225a3261ca143d868c1f2c8064954b2b09b75f
  • Pointer size: 131 Bytes
  • Size of remote file: 293 kB