Publish character 'uranami (Kantai Collection)' to repository, on 2024-01-16 07:43:46 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 +118 -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 uranami (Kantai Collection)
|
13 |
+
|
14 |
+
This is the dataset of uranami (Kantai Collection), containing 214 images and their tags.
|
15 |
+
|
16 |
+
The core tags of this character are `long_hair, brown_hair, braid, brown_eyes, single_braid, hair_over_shoulder`, 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 | 214 | 135.43 MiB | [Download](https://huggingface.co/datasets/CyberHarem/uranami_kantaicollection/resolve/main/dataset-raw.zip) | Waifuc-Raw | Raw data with meta information (min edge aligned to 1400 if larger). |
|
25 |
+
| 800 | 214 | 99.38 MiB | [Download](https://huggingface.co/datasets/CyberHarem/uranami_kantaicollection/resolve/main/dataset-800.zip) | IMG+TXT | dataset with the shorter side not exceeding 800 pixels. |
|
26 |
+
| stage3-p480-800 | 386 | 178.27 MiB | [Download](https://huggingface.co/datasets/CyberHarem/uranami_kantaicollection/resolve/main/dataset-stage3-p480-800.zip) | IMG+TXT | 3-stage cropped dataset with the area not less than 480x480 pixels. |
|
27 |
+
| 1200 | 214 | 126.52 MiB | [Download](https://huggingface.co/datasets/CyberHarem/uranami_kantaicollection/resolve/main/dataset-1200.zip) | IMG+TXT | dataset with the shorter side not exceeding 1200 pixels. |
|
28 |
+
| stage3-p480-1200 | 386 | 220.26 MiB | [Download](https://huggingface.co/datasets/CyberHarem/uranami_kantaicollection/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/uranami_kantaicollection',
|
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 | 11 | ![](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, blue_sailor_collar, blue_skirt, looking_at_viewer, pleated_skirt, serafuku, simple_background, solo, white_background, neckerchief, cowboy_shot, one-hour_drawing_challenge, open_mouth, dated, twitter_username, smile |
|
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) | blue_pants, camera, white_shirt, 1girl, belt, bag, jeans, open_mouth, solo, alternate_costume, cowboy_shot, looking_at_viewer, short_sleeves, smile, blush, holding, simple_background, white_background |
|
70 |
+
| 2 | 7 | ![](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, blush, solo, underwear_only, bangs, looking_at_viewer, white_panties, navel, open_mouth, small_breasts, white_bra, collarbone |
|
71 |
+
|
72 |
+
### Table Version
|
73 |
+
|
74 |
+
| # | Samples | Img-1 | Img-2 | Img-3 | Img-4 | Img-5 | 1girl | blue_sailor_collar | blue_skirt | looking_at_viewer | pleated_skirt | serafuku | simple_background | solo | white_background | neckerchief | cowboy_shot | one-hour_drawing_challenge | open_mouth | dated | twitter_username | smile | blue_pants | camera | white_shirt | belt | bag | jeans | alternate_costume | short_sleeves | blush | holding | underwear_only | bangs | white_panties | navel | small_breasts | white_bra | collarbone |
|
75 |
+
|----:|----------:|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------|:---------------------|:-------------|:--------------------|:----------------|:-----------|:--------------------|:-------|:-------------------|:--------------|:--------------|:-----------------------------|:-------------|:--------|:-------------------|:--------|:-------------|:---------|:--------------|:-------|:------|:--------|:--------------------|:----------------|:--------|:----------|:-----------------|:--------|:----------------|:--------|:----------------|:------------|:-------------|
|
76 |
+
| 0 | 11 | ![](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 | | | | | | | | | | | | | | | | | |
|
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 | | | | | | | |
|
78 |
+
| 2 | 7 | ![](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 |
|
79 |
+
|
dataset-1200.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:12f17cc9ceac0c96f0397bfb7f27748eb481b73459b4cf977d6f4e4a2e430b99
|
3 |
+
size 132669827
|
dataset-800.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd17350a5980fbb1234d066f79278f85892e145a567b08d487bd4f737bde5b98
|
3 |
+
size 104207131
|
dataset-raw.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4ec1447b3faf30d0cb50e1028a5db4cb85affbc725e5348dc80e831ffa1d3ae7
|
3 |
+
size 142003925
|
dataset-stage3-p480-1200.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9ce4f4a723d041ec247a8c3716ca4b85847ff0c2253f891f820c8c99045df70b
|
3 |
+
size 230959504
|
dataset-stage3-p480-800.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d7ac4e29934bddc177afe9e0e36562412ac4f928449d3877bf9c4cabd2a0cbea
|
3 |
+
size 186932117
|
meta.json
ADDED
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bangumi": null,
|
3 |
+
"base_size": 214,
|
4 |
+
"clusters": [
|
5 |
+
{
|
6 |
+
"id": 0,
|
7 |
+
"size": 11,
|
8 |
+
"tags": [
|
9 |
+
"1girl",
|
10 |
+
"blue_sailor_collar",
|
11 |
+
"blue_skirt",
|
12 |
+
"looking_at_viewer",
|
13 |
+
"pleated_skirt",
|
14 |
+
"serafuku",
|
15 |
+
"simple_background",
|
16 |
+
"solo",
|
17 |
+
"white_background",
|
18 |
+
"neckerchief",
|
19 |
+
"cowboy_shot",
|
20 |
+
"one-hour_drawing_challenge",
|
21 |
+
"open_mouth",
|
22 |
+
"dated",
|
23 |
+
"twitter_username",
|
24 |
+
"smile"
|
25 |
+
]
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"id": 1,
|
29 |
+
"size": 8,
|
30 |
+
"tags": [
|
31 |
+
"blue_pants",
|
32 |
+
"camera",
|
33 |
+
"white_shirt",
|
34 |
+
"1girl",
|
35 |
+
"belt",
|
36 |
+
"bag",
|
37 |
+
"jeans",
|
38 |
+
"open_mouth",
|
39 |
+
"solo",
|
40 |
+
"alternate_costume",
|
41 |
+
"cowboy_shot",
|
42 |
+
"looking_at_viewer",
|
43 |
+
"short_sleeves",
|
44 |
+
"smile",
|
45 |
+
"blush",
|
46 |
+
"holding",
|
47 |
+
"simple_background",
|
48 |
+
"white_background"
|
49 |
+
]
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"id": 2,
|
53 |
+
"size": 7,
|
54 |
+
"tags": [
|
55 |
+
"1girl",
|
56 |
+
"blush",
|
57 |
+
"solo",
|
58 |
+
"underwear_only",
|
59 |
+
"bangs",
|
60 |
+
"looking_at_viewer",
|
61 |
+
"white_panties",
|
62 |
+
"navel",
|
63 |
+
"open_mouth",
|
64 |
+
"small_breasts",
|
65 |
+
"white_bra",
|
66 |
+
"collarbone"
|
67 |
+
]
|
68 |
+
}
|
69 |
+
],
|
70 |
+
"core_tags": [
|
71 |
+
"long_hair",
|
72 |
+
"brown_hair",
|
73 |
+
"braid",
|
74 |
+
"brown_eyes",
|
75 |
+
"single_braid",
|
76 |
+
"hair_over_shoulder"
|
77 |
+
],
|
78 |
+
"display_name": "uranami (Kantai Collection)",
|
79 |
+
"name": "uranami (Kantai Collection)",
|
80 |
+
"packages": {
|
81 |
+
"1200": {
|
82 |
+
"description": "dataset with the shorter side not exceeding 1200 pixels.",
|
83 |
+
"filename": "dataset-1200.zip",
|
84 |
+
"package_size": 132669827,
|
85 |
+
"size": 214,
|
86 |
+
"type": "IMG+TXT"
|
87 |
+
},
|
88 |
+
"800": {
|
89 |
+
"description": "dataset with the shorter side not exceeding 800 pixels.",
|
90 |
+
"filename": "dataset-800.zip",
|
91 |
+
"package_size": 104207131,
|
92 |
+
"size": 214,
|
93 |
+
"type": "IMG+TXT"
|
94 |
+
},
|
95 |
+
"raw": {
|
96 |
+
"description": "Raw data with meta information (min edge aligned to 1400 if larger).",
|
97 |
+
"filename": "dataset-raw.zip",
|
98 |
+
"package_size": 142003925,
|
99 |
+
"size": 214,
|
100 |
+
"type": "Waifuc-Raw"
|
101 |
+
},
|
102 |
+
"stage3-p480-1200": {
|
103 |
+
"description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
|
104 |
+
"filename": "dataset-stage3-p480-1200.zip",
|
105 |
+
"package_size": 230959504,
|
106 |
+
"size": 386,
|
107 |
+
"type": "IMG+TXT"
|
108 |
+
},
|
109 |
+
"stage3-p480-800": {
|
110 |
+
"description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
|
111 |
+
"filename": "dataset-stage3-p480-800.zip",
|
112 |
+
"package_size": 186932117,
|
113 |
+
"size": 386,
|
114 |
+
"type": "IMG+TXT"
|
115 |
+
}
|
116 |
+
},
|
117 |
+
"version": "v1.5"
|
118 |
+
}
|
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
|