Publish character 'sophia (Granblue Fantasy)' to repository, on 2024-01-21 17:21:52 UTC
Browse files- README.md +75 -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 +74 -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
README.md
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 sophia/ソフィア (Granblue Fantasy)
|
13 |
+
|
14 |
+
This is the dataset of sophia/ソフィア (Granblue Fantasy), containing 104 images and their tags.
|
15 |
+
|
16 |
+
The core tags of this character are `blue_hair, twintails, hat, breasts, long_hair, large_breasts, yellow_eyes, brown_eyes`, 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 | 104 | 107.48 MiB | [Download](https://huggingface.co/datasets/CyberHarem/sophia_granbluefantasy/resolve/main/dataset-raw.zip) | Waifuc-Raw | Raw data with meta information (min edge aligned to 1400 if larger). |
|
25 |
+
| 800 | 104 | 74.23 MiB | [Download](https://huggingface.co/datasets/CyberHarem/sophia_granbluefantasy/resolve/main/dataset-800.zip) | IMG+TXT | dataset with the shorter side not exceeding 800 pixels. |
|
26 |
+
| stage3-p480-800 | 223 | 140.68 MiB | [Download](https://huggingface.co/datasets/CyberHarem/sophia_granbluefantasy/resolve/main/dataset-stage3-p480-800.zip) | IMG+TXT | 3-stage cropped dataset with the area not less than 480x480 pixels. |
|
27 |
+
| 1200 | 104 | 99.56 MiB | [Download](https://huggingface.co/datasets/CyberHarem/sophia_granbluefantasy/resolve/main/dataset-1200.zip) | IMG+TXT | dataset with the shorter side not exceeding 1200 pixels. |
|
28 |
+
| stage3-p480-1200 | 223 | 179.44 MiB | [Download](https://huggingface.co/datasets/CyberHarem/sophia_granbluefantasy/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/sophia_granbluefantasy',
|
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 | 34 | ![](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, looking_at_viewer, blush, fingerless_gloves, open_mouth, staff, smile, white_background, simple_background, earrings, long_sleeves |
|
69 |
+
|
70 |
+
### Table Version
|
71 |
+
|
72 |
+
| # | Samples | Img-1 | Img-2 | Img-3 | Img-4 | Img-5 | 1girl | solo | looking_at_viewer | blush | fingerless_gloves | open_mouth | staff | smile | white_background | simple_background | earrings | long_sleeves |
|
73 |
+
|----:|----------:|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------|:-------|:--------------------|:--------|:--------------------|:-------------|:--------|:--------|:-------------------|:--------------------|:-----------|:---------------|
|
74 |
+
| 0 | 34 | ![](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 |
|
75 |
+
|
dataset-1200.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7868feef4a79c08f894001b554417aab783efbd9ea10423d4bf83112c67f3143
|
3 |
+
size 104399369
|
dataset-800.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6872ecc5c2b2c0c3a744f5e7cb86231a2994111b15941d8c21b934f7e852102e
|
3 |
+
size 77832765
|
dataset-raw.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:99de8a4bbaa19aff73a0a22d8259916760c0371adcecfc9f21014fadd40c7259
|
3 |
+
size 112702808
|
dataset-stage3-p480-1200.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b3603ee48be3e699f5ce6fe43c845c4f525c426fc92343fee905b1415bc5a204
|
3 |
+
size 188160778
|
dataset-stage3-p480-800.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e0645795678fa8bfc599f953e2813bcc816142bdae8a94ab42bff2bbd36b51c0
|
3 |
+
size 147517113
|
meta.json
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bangumi": null,
|
3 |
+
"base_size": 104,
|
4 |
+
"clusters": [
|
5 |
+
{
|
6 |
+
"id": 0,
|
7 |
+
"size": 34,
|
8 |
+
"tags": [
|
9 |
+
"1girl",
|
10 |
+
"solo",
|
11 |
+
"looking_at_viewer",
|
12 |
+
"blush",
|
13 |
+
"fingerless_gloves",
|
14 |
+
"open_mouth",
|
15 |
+
"staff",
|
16 |
+
"smile",
|
17 |
+
"white_background",
|
18 |
+
"simple_background",
|
19 |
+
"earrings",
|
20 |
+
"long_sleeves"
|
21 |
+
]
|
22 |
+
}
|
23 |
+
],
|
24 |
+
"core_tags": [
|
25 |
+
"blue_hair",
|
26 |
+
"twintails",
|
27 |
+
"hat",
|
28 |
+
"breasts",
|
29 |
+
"long_hair",
|
30 |
+
"large_breasts",
|
31 |
+
"yellow_eyes",
|
32 |
+
"brown_eyes"
|
33 |
+
],
|
34 |
+
"display_name": "sophia/ソフィア (Granblue Fantasy)",
|
35 |
+
"name": "sophia (Granblue Fantasy)",
|
36 |
+
"packages": {
|
37 |
+
"1200": {
|
38 |
+
"description": "dataset with the shorter side not exceeding 1200 pixels.",
|
39 |
+
"filename": "dataset-1200.zip",
|
40 |
+
"package_size": 104399369,
|
41 |
+
"size": 104,
|
42 |
+
"type": "IMG+TXT"
|
43 |
+
},
|
44 |
+
"800": {
|
45 |
+
"description": "dataset with the shorter side not exceeding 800 pixels.",
|
46 |
+
"filename": "dataset-800.zip",
|
47 |
+
"package_size": 77832765,
|
48 |
+
"size": 104,
|
49 |
+
"type": "IMG+TXT"
|
50 |
+
},
|
51 |
+
"raw": {
|
52 |
+
"description": "Raw data with meta information (min edge aligned to 1400 if larger).",
|
53 |
+
"filename": "dataset-raw.zip",
|
54 |
+
"package_size": 112702808,
|
55 |
+
"size": 104,
|
56 |
+
"type": "Waifuc-Raw"
|
57 |
+
},
|
58 |
+
"stage3-p480-1200": {
|
59 |
+
"description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
|
60 |
+
"filename": "dataset-stage3-p480-1200.zip",
|
61 |
+
"package_size": 188160778,
|
62 |
+
"size": 223,
|
63 |
+
"type": "IMG+TXT"
|
64 |
+
},
|
65 |
+
"stage3-p480-800": {
|
66 |
+
"description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
|
67 |
+
"filename": "dataset-stage3-p480-800.zip",
|
68 |
+
"package_size": 147517113,
|
69 |
+
"size": 223,
|
70 |
+
"type": "IMG+TXT"
|
71 |
+
}
|
72 |
+
},
|
73 |
+
"version": "v1.5"
|
74 |
+
}
|
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
|