narugo commited on
Commit
a789fed
1 Parent(s): 914ec48

Publish character 'matou_sakura_alter_fatestaynightufotable' to repository, on 2024-01-28 20:53:06 CST

Browse files
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Matou Sakura [Alter] (Fate Stay Night [UFOTABLE])
13
+
14
+ This is the dataset of Matou Sakura [Alter] (Fate Stay Night [UFOTABLE]), containing 60 images and their tags.
15
+
16
+ The core tags of this character are `long_hair, ribbon, hair_ribbon, white_hair, red_eyes, purple_hair, breasts, bangs`, 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 | 60 | 49.20 MiB | [Download](https://huggingface.co/datasets/CyberHarem/matou_sakura_alter_fatestaynightufotable/resolve/main/dataset-raw.zip) | Waifuc-Raw | Raw data with meta information (min edge aligned to 1400 if larger). |
25
+ | 800 | 60 | 39.39 MiB | [Download](https://huggingface.co/datasets/CyberHarem/matou_sakura_alter_fatestaynightufotable/resolve/main/dataset-800.zip) | IMG+TXT | dataset with the shorter side not exceeding 800 pixels. |
26
+ | stage3-p480-800 | 120 | 73.14 MiB | [Download](https://huggingface.co/datasets/CyberHarem/matou_sakura_alter_fatestaynightufotable/resolve/main/dataset-stage3-p480-800.zip) | IMG+TXT | 3-stage cropped dataset with the area not less than 480x480 pixels. |
27
+ | 1200 | 60 | 49.18 MiB | [Download](https://huggingface.co/datasets/CyberHarem/matou_sakura_alter_fatestaynightufotable/resolve/main/dataset-1200.zip) | IMG+TXT | dataset with the shorter side not exceeding 1200 pixels. |
28
+ | stage3-p480-1200 | 120 | 88.46 MiB | [Download](https://huggingface.co/datasets/CyberHarem/matou_sakura_alter_fatestaynightufotable/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/matou_sakura_alter_fatestaynightufotable',
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 | 5 | ![](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, dark_persona, looking_at_viewer, solo, striped, smile, turtleneck, upper_body |
69
+ | 1 | 14 | ![](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, solo, long_sleeves, vertical-striped_dress, from_side, black_dress, dark_persona |
70
+
71
+ ### Table Version
72
+
73
+ | # | Samples | Img-1 | Img-2 | Img-3 | Img-4 | Img-5 | 1girl | dark_persona | looking_at_viewer | solo | striped | smile | turtleneck | upper_body | long_sleeves | vertical-striped_dress | from_side | black_dress |
74
+ |----:|----------:|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------|:---------------|:--------------------|:-------|:----------|:--------|:-------------|:-------------|:---------------|:-------------------------|:------------|:--------------|
75
+ | 0 | 5 | ![](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 | | | | |
76
+ | 1 | 14 | ![](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 |
77
+
dataset-1200.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b72dd8eb9347497e779d2180a261a8eef4a545b5f6b2920e73e90548a14486af
3
+ size 51567913
dataset-800.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b216e7b225bc17bb0df15220ce251e80e580c8e3e839f202b7be3475b3abc2f
3
+ size 41307397
dataset-raw.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff6a0a7d46806a8678e27b375e11a84b6ffed0eba4d4213bd7c0bdf7ad304272
3
+ size 51591007
dataset-stage3-p480-1200.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f92fbb79754adc4792f3c3cb24fa4d20954318d8b8c82b73d9b5554a8b2a8ae9
3
+ size 92761803
dataset-stage3-p480-800.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38f92b7c5f103a0ebc468c9468af438bffcfbd355702e928be5ad3d50e4c62fd
3
+ size 76689346
meta.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bangumi": "BangumiBase/fatestaynightufotable",
3
+ "base_size": 60,
4
+ "clusters": [
5
+ {
6
+ "id": 0,
7
+ "size": 5,
8
+ "tags": [
9
+ "1girl",
10
+ "dark_persona",
11
+ "looking_at_viewer",
12
+ "solo",
13
+ "striped",
14
+ "smile",
15
+ "turtleneck",
16
+ "upper_body"
17
+ ]
18
+ },
19
+ {
20
+ "id": 1,
21
+ "size": 14,
22
+ "tags": [
23
+ "1girl",
24
+ "solo",
25
+ "long_sleeves",
26
+ "vertical-striped_dress",
27
+ "from_side",
28
+ "black_dress",
29
+ "dark_persona"
30
+ ]
31
+ }
32
+ ],
33
+ "core_tags": [
34
+ "long_hair",
35
+ "ribbon",
36
+ "hair_ribbon",
37
+ "white_hair",
38
+ "red_eyes",
39
+ "purple_hair",
40
+ "breasts",
41
+ "bangs"
42
+ ],
43
+ "display_name": "Matou Sakura [Alter] (Fate Stay Night [UFOTABLE])",
44
+ "name": "matou_sakura_alter_fatestaynightufotable",
45
+ "packages": {
46
+ "1200": {
47
+ "description": "dataset with the shorter side not exceeding 1200 pixels.",
48
+ "filename": "dataset-1200.zip",
49
+ "package_size": 51567913,
50
+ "size": 60,
51
+ "type": "IMG+TXT"
52
+ },
53
+ "800": {
54
+ "description": "dataset with the shorter side not exceeding 800 pixels.",
55
+ "filename": "dataset-800.zip",
56
+ "package_size": 41307397,
57
+ "size": 60,
58
+ "type": "IMG+TXT"
59
+ },
60
+ "raw": {
61
+ "description": "Raw data with meta information (min edge aligned to 1400 if larger).",
62
+ "filename": "dataset-raw.zip",
63
+ "package_size": 51591007,
64
+ "size": 60,
65
+ "type": "Waifuc-Raw"
66
+ },
67
+ "stage3-p480-1200": {
68
+ "description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
69
+ "filename": "dataset-stage3-p480-1200.zip",
70
+ "package_size": 92761803,
71
+ "size": 120,
72
+ "type": "IMG+TXT"
73
+ },
74
+ "stage3-p480-800": {
75
+ "description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
76
+ "filename": "dataset-stage3-p480-800.zip",
77
+ "package_size": 76689346,
78
+ "size": 120,
79
+ "type": "IMG+TXT"
80
+ }
81
+ },
82
+ "version": "v1.5"
83
+ }
samples/0/clu0-sample0.png ADDED

Git LFS Details

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

Git LFS Details

  • SHA256: 409de222d8a378d16c11945ea8590a3edb781fbe286282b2e17527e0b4528dd8
  • Pointer size: 131 Bytes
  • Size of remote file: 236 kB
samples/0/clu0-sample2.png ADDED

Git LFS Details

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

Git LFS Details

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

Git LFS Details

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

Git LFS Details

  • SHA256: 2f2724b75588c246d14d823cde0da7695d4159222b6c5dbd7d087ecf931db582
  • Pointer size: 131 Bytes
  • Size of remote file: 334 kB
samples/1/clu1-sample1.png ADDED

Git LFS Details

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

Git LFS Details

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

Git LFS Details

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

Git LFS Details

  • SHA256: 1452b755191ce429679e9c8e54821cd0e5e01db41e75a9e24f78fbb1533b0697
  • Pointer size: 131 Bytes
  • Size of remote file: 377 kB