narugo commited on
Commit
53aab6a
1 Parent(s): 593c205

Publish character 'bataan (Azur Lane)' to repository, on 2024-01-13 17:32:53 UTC

Browse files
README.md CHANGED
@@ -9,22 +9,71 @@ size_categories:
9
  - n<1K
10
  ---
11
 
12
- # Dataset of bataan_azurlane
13
 
14
- This is the dataset of bataan_azurlane, containing 42 images and their tags.
 
 
15
 
16
  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)).
17
 
18
- | Name | Images | Download | Description |
19
- |:------------|---------:|:------------------------------------|:-------------------------------------------------------------------------|
20
- | raw | 42 | [Download](dataset-raw.zip) | Raw data with meta information. |
21
- | raw-stage3 | 107 | [Download](dataset-raw-stage3.zip) | 3-stage cropped raw data with meta information. |
22
- | 384x512 | 42 | [Download](dataset-384x512.zip) | 384x512 aligned dataset. |
23
- | 512x512 | 42 | [Download](dataset-512x512.zip) | 512x512 aligned dataset. |
24
- | 512x704 | 42 | [Download](dataset-512x704.zip) | 512x704 aligned dataset. |
25
- | 640x640 | 42 | [Download](dataset-640x640.zip) | 640x640 aligned dataset. |
26
- | 640x880 | 42 | [Download](dataset-640x880.zip) | 640x880 aligned dataset. |
27
- | stage3-640 | 107 | [Download](dataset-stage3-640.zip) | 3-stage cropped dataset with the shorter side not exceeding 640 pixels. |
28
- | stage3-800 | 107 | [Download](dataset-stage3-800.zip) | 3-stage cropped dataset with the shorter side not exceeding 800 pixels. |
29
- | stage3-1200 | 107 | [Download](dataset-stage3-1200.zip) | 3-stage cropped dataset with the shorter side not exceeding 1200 pixels. |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
 
 
9
  - n<1K
10
  ---
11
 
12
+ # Dataset of bataan/バターン/巴丹 (Azur Lane)
13
 
14
+ This is the dataset of bataan/バターン/巴丹 (Azur Lane), containing 76 images and their tags.
15
+
16
+ The core tags of this character are `blonde_hair, short_hair, blue_eyes, bangs, breasts, hair_between_eyes, ahoge`, 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 | 76 | 86.02 MiB | [Download](https://huggingface.co/datasets/CyberHarem/bataan_azurlane/resolve/main/dataset-raw.zip) | Waifuc-Raw | Raw data with meta information (min edge aligned to 1400 if larger). |
25
+ | 800 | 76 | 50.96 MiB | [Download](https://huggingface.co/datasets/CyberHarem/bataan_azurlane/resolve/main/dataset-800.zip) | IMG+TXT | dataset with the shorter side not exceeding 800 pixels. |
26
+ | stage3-p480-800 | 187 | 114.68 MiB | [Download](https://huggingface.co/datasets/CyberHarem/bataan_azurlane/resolve/main/dataset-stage3-p480-800.zip) | IMG+TXT | 3-stage cropped dataset with the area not less than 480x480 pixels. |
27
+ | 1200 | 76 | 78.44 MiB | [Download](https://huggingface.co/datasets/CyberHarem/bataan_azurlane/resolve/main/dataset-1200.zip) | IMG+TXT | dataset with the shorter side not exceeding 1200 pixels. |
28
+ | stage3-p480-1200 | 187 | 156.89 MiB | [Download](https://huggingface.co/datasets/CyberHarem/bataan_azurlane/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/bataan_azurlane',
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, blush, looking_at_viewer, midriff, navel, solo, stomach, crop_top, medium_breasts, open_mouth, simple_background, white_background, white_shirt, barefoot, short_shorts, thighs, :d, alternate_costume, long_sleeves, lying, pants, short_sleeves, white_shorts |
69
+ | 1 | 21 | ![](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, red_necktie, jacket, solo, blush, looking_at_viewer, pantyhose, smile, white_shirt, white_background, collared_shirt, white_gloves, white_shorts, open_mouth, open_clothes, simple_background |
70
+ | 2 | 18 | ![](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, solo, looking_at_viewer, blush, long_sleeves, collarbone, hood_up, open_mouth, cat_hood, hoodie, fake_animal_ears, pajamas, tail, white_background |
71
+
72
+ ### Table Version
73
+
74
+ | # | Samples | Img-1 | Img-2 | Img-3 | Img-4 | Img-5 | 1girl | blush | looking_at_viewer | midriff | navel | solo | stomach | crop_top | medium_breasts | open_mouth | simple_background | white_background | white_shirt | barefoot | short_shorts | thighs | :d | alternate_costume | long_sleeves | lying | pants | short_sleeves | white_shorts | red_necktie | jacket | pantyhose | smile | collared_shirt | white_gloves | open_clothes | collarbone | hood_up | cat_hood | hoodie | fake_animal_ears | pajamas | tail |
75
+ |----:|----------:|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------|:--------|:--------------------|:----------|:--------|:-------|:----------|:-----------|:-----------------|:-------------|:--------------------|:-------------------|:--------------|:-----------|:---------------|:---------|:-----|:--------------------|:---------------|:--------|:--------|:----------------|:---------------|:--------------|:---------|:------------|:--------|:-----------------|:---------------|:---------------|:-------------|:----------|:-----------|:---------|:-------------------|:----------|:-------|
76
+ | 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 | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | | | | | | | | | | | | | | |
77
+ | 1 | 21 | ![](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 | 18 | ![](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 |
79
 
dataset-512x704.zip → dataset-1200.zip RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7b1514b95d1d0f0c979f849c1dac6f1d4a96d2d43951ae3059ef0992a1f7f9b1
3
- size 12226037
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88d13b1fc5157e7c066f76ffb6742a69ec95e9c4bd535cfdc152f90113787ac0
3
+ size 82245256
dataset-640x880.zip DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:5bcafc41694999c85a05a942cef902e53c305f533db72c3b7e3638365ac1baa0
3
- size 17684349
 
 
 
 
dataset-640x640.zip → dataset-800.zip RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ab48adf25f06c5fe52195f149642d2c1df56e97a5437e582994f3075be2427a4
3
- size 11709558
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90806e4cf0c34b54e6c9a1a5d25e33a7cec65e0bc5a16d62efb9ecd7a2ec14bf
3
+ size 53437370
dataset-raw-stage3.zip DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:cb6bfb4463be2ed747446cc158c7cb5e641bc549df7deb39fe2a7cbc65173607
3
- size 60459183
 
 
 
 
dataset-raw.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ab4dfc45b4a1c2e5e308135484cfb08142566762b47d6ac6ddaecced862207e0
3
- size 30782974
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b9cb497448c8b2fbda2f2713c405bc3f2880a42603f67d44324a92683bf79e0
3
+ size 90197256
dataset-stage3-1200.zip DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9def2aa88f8028ac5a014a2238dcac36a11412568606d6937e179e9750fd338c
3
- size 59214697
 
 
 
 
dataset-stage3-640.zip DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a39ecc5959ed651fe3e8de64e7c8f53799fbe46b8c08784d983abcfcf591faa7
3
- size 43691734
 
 
 
 
dataset-stage3-800.zip DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:18ef60cf6d387d7921323e1b34fe754c821e54daac68a52edf70735c7ca18850
3
- size 53054261
 
 
 
 
dataset-stage3-p480-1200.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c00215b74e9e1ba926203352af1a29c4c3d51ad2a7123567be27f447e674f9ee
3
+ size 164509442
dataset-stage3-p480-800.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:664ec2638b22672c2c24316e1041d1eced7861b115dcdba51d6e1490523cb981
3
+ size 120245697
meta.json CHANGED
@@ -1,4 +1,126 @@
1
  {
2
- "name": "bataan_azurlane",
3
- "version": "v1.4"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
 
1
  {
2
+ "bangumi": null,
3
+ "base_size": 76,
4
+ "clusters": [
5
+ {
6
+ "id": 0,
7
+ "size": 5,
8
+ "tags": [
9
+ "1girl",
10
+ "blush",
11
+ "looking_at_viewer",
12
+ "midriff",
13
+ "navel",
14
+ "solo",
15
+ "stomach",
16
+ "crop_top",
17
+ "medium_breasts",
18
+ "open_mouth",
19
+ "simple_background",
20
+ "white_background",
21
+ "white_shirt",
22
+ "barefoot",
23
+ "short_shorts",
24
+ "thighs",
25
+ ":d",
26
+ "alternate_costume",
27
+ "long_sleeves",
28
+ "lying",
29
+ "pants",
30
+ "short_sleeves",
31
+ "white_shorts"
32
+ ]
33
+ },
34
+ {
35
+ "id": 1,
36
+ "size": 21,
37
+ "tags": [
38
+ "1girl",
39
+ "red_necktie",
40
+ "jacket",
41
+ "solo",
42
+ "blush",
43
+ "looking_at_viewer",
44
+ "pantyhose",
45
+ "smile",
46
+ "white_shirt",
47
+ "white_background",
48
+ "collared_shirt",
49
+ "white_gloves",
50
+ "white_shorts",
51
+ "open_mouth",
52
+ "open_clothes",
53
+ "simple_background"
54
+ ]
55
+ },
56
+ {
57
+ "id": 2,
58
+ "size": 18,
59
+ "tags": [
60
+ "1girl",
61
+ "solo",
62
+ "looking_at_viewer",
63
+ "blush",
64
+ "long_sleeves",
65
+ "collarbone",
66
+ "hood_up",
67
+ "open_mouth",
68
+ "cat_hood",
69
+ "hoodie",
70
+ "fake_animal_ears",
71
+ "pajamas",
72
+ "tail",
73
+ "white_background"
74
+ ]
75
+ }
76
+ ],
77
+ "core_tags": [
78
+ "blonde_hair",
79
+ "short_hair",
80
+ "blue_eyes",
81
+ "bangs",
82
+ "breasts",
83
+ "hair_between_eyes",
84
+ "ahoge"
85
+ ],
86
+ "display_name": "bataan/バターン/巴丹 (Azur Lane)",
87
+ "name": "bataan (Azur Lane)",
88
+ "packages": {
89
+ "1200": {
90
+ "description": "dataset with the shorter side not exceeding 1200 pixels.",
91
+ "filename": "dataset-1200.zip",
92
+ "package_size": 82245256,
93
+ "size": 76,
94
+ "type": "IMG+TXT"
95
+ },
96
+ "800": {
97
+ "description": "dataset with the shorter side not exceeding 800 pixels.",
98
+ "filename": "dataset-800.zip",
99
+ "package_size": 53437370,
100
+ "size": 76,
101
+ "type": "IMG+TXT"
102
+ },
103
+ "raw": {
104
+ "description": "Raw data with meta information (min edge aligned to 1400 if larger).",
105
+ "filename": "dataset-raw.zip",
106
+ "package_size": 90197256,
107
+ "size": 76,
108
+ "type": "Waifuc-Raw"
109
+ },
110
+ "stage3-p480-1200": {
111
+ "description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
112
+ "filename": "dataset-stage3-p480-1200.zip",
113
+ "package_size": 164509442,
114
+ "size": 187,
115
+ "type": "IMG+TXT"
116
+ },
117
+ "stage3-p480-800": {
118
+ "description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
119
+ "filename": "dataset-stage3-p480-800.zip",
120
+ "package_size": 120245697,
121
+ "size": 187,
122
+ "type": "IMG+TXT"
123
+ }
124
+ },
125
+ "version": "v1.5"
126
  }
dataset-384x512.zip → samples/0/clu0-sample0.png RENAMED
File without changes
dataset-512x512.zip → samples/0/clu0-sample1.png RENAMED
File without changes
samples/0/clu0-sample2.png ADDED

Git LFS Details

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

Git LFS Details

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

Git LFS Details

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

Git LFS Details

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

Git LFS Details

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

Git LFS Details

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

Git LFS Details

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

Git LFS Details

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

Git LFS Details

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

Git LFS Details

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

Git LFS Details

  • SHA256: 037a2f81fed0c7302a5a811e5993f89f55300cd5effba94195209f82de661853
  • Pointer size: 131 Bytes
  • Size of remote file: 203 kB
samples/2/clu2-sample3.png ADDED

Git LFS Details

  • SHA256: 255cf10b2260d807e30c5f214bf7ec02f1f6908587b7ddd7d3440c759de068bf
  • Pointer size: 131 Bytes
  • Size of remote file: 222 kB
samples/2/clu2-sample4.png ADDED

Git LFS Details

  • SHA256: b96dde9f30724b233f513ecd19f49a4132d9cd5a2589437e5f077e049c514084
  • Pointer size: 131 Bytes
  • Size of remote file: 332 kB