Publish character 'tiamat (Granblue Fantasy)' to repository, on 2024-01-21 21:34:45 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 +67 -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 tiamat (Granblue Fantasy)
|
13 |
+
|
14 |
+
This is the dataset of tiamat (Granblue Fantasy), containing 31 images and their tags.
|
15 |
+
|
16 |
+
The core tags of this character are `long_hair, blue_hair, pointy_ears, breasts, very_long_hair, red_eyes, large_breasts`, 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 | 31 | 23.70 MiB | [Download](https://huggingface.co/datasets/CyberHarem/tiamat_granbluefantasy/resolve/main/dataset-raw.zip) | Waifuc-Raw | Raw data with meta information (min edge aligned to 1400 if larger). |
|
25 |
+
| 800 | 31 | 19.04 MiB | [Download](https://huggingface.co/datasets/CyberHarem/tiamat_granbluefantasy/resolve/main/dataset-800.zip) | IMG+TXT | dataset with the shorter side not exceeding 800 pixels. |
|
26 |
+
| stage3-p480-800 | 57 | 31.81 MiB | [Download](https://huggingface.co/datasets/CyberHarem/tiamat_granbluefantasy/resolve/main/dataset-stage3-p480-800.zip) | IMG+TXT | 3-stage cropped dataset with the area not less than 480x480 pixels. |
|
27 |
+
| 1200 | 31 | 22.79 MiB | [Download](https://huggingface.co/datasets/CyberHarem/tiamat_granbluefantasy/resolve/main/dataset-1200.zip) | IMG+TXT | dataset with the shorter side not exceeding 1200 pixels. |
|
28 |
+
| stage3-p480-1200 | 57 | 37.31 MiB | [Download](https://huggingface.co/datasets/CyberHarem/tiamat_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/tiamat_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 | 31 | ![](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, bare_shoulders, navel, cleavage, looking_at_viewer |
|
69 |
+
|
70 |
+
### Table Version
|
71 |
+
|
72 |
+
| # | Samples | Img-1 | Img-2 | Img-3 | Img-4 | Img-5 | 1girl | solo | bare_shoulders | navel | cleavage | looking_at_viewer |
|
73 |
+
|----:|----------:|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------|:-------|:-----------------|:--------|:-----------|:--------------------|
|
74 |
+
| 0 | 31 | ![](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 |
|
75 |
+
|
dataset-1200.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ff1e420ba56996ede459837ff38df5c24422fa322176eb67453f8fc3e638f330
|
3 |
+
size 23894700
|
dataset-800.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1b3ef68f6e7e42ebfc4289ce34166e189f0a0412eb272bbe7f076defbb6eebaa
|
3 |
+
size 19967576
|
dataset-raw.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:991bc00081b1ab86c5901d9d1a92c26f395f98245c9810814be0607217a8a88d
|
3 |
+
size 24855704
|
dataset-stage3-p480-1200.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:93e6d60fb363d98050884ac7abf475f6f8f2a041af849d0bdde7e5a82980758d
|
3 |
+
size 39120583
|
dataset-stage3-p480-800.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bd07794cb919d048cdcdf5a6edcac88558af9957bf099472a71227be44942668
|
3 |
+
size 33351827
|
meta.json
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bangumi": null,
|
3 |
+
"base_size": 31,
|
4 |
+
"clusters": [
|
5 |
+
{
|
6 |
+
"id": 0,
|
7 |
+
"size": 31,
|
8 |
+
"tags": [
|
9 |
+
"1girl",
|
10 |
+
"solo",
|
11 |
+
"bare_shoulders",
|
12 |
+
"navel",
|
13 |
+
"cleavage",
|
14 |
+
"looking_at_viewer"
|
15 |
+
]
|
16 |
+
}
|
17 |
+
],
|
18 |
+
"core_tags": [
|
19 |
+
"long_hair",
|
20 |
+
"blue_hair",
|
21 |
+
"pointy_ears",
|
22 |
+
"breasts",
|
23 |
+
"very_long_hair",
|
24 |
+
"red_eyes",
|
25 |
+
"large_breasts"
|
26 |
+
],
|
27 |
+
"display_name": "tiamat (Granblue Fantasy)",
|
28 |
+
"name": "tiamat (Granblue Fantasy)",
|
29 |
+
"packages": {
|
30 |
+
"1200": {
|
31 |
+
"description": "dataset with the shorter side not exceeding 1200 pixels.",
|
32 |
+
"filename": "dataset-1200.zip",
|
33 |
+
"package_size": 23894700,
|
34 |
+
"size": 31,
|
35 |
+
"type": "IMG+TXT"
|
36 |
+
},
|
37 |
+
"800": {
|
38 |
+
"description": "dataset with the shorter side not exceeding 800 pixels.",
|
39 |
+
"filename": "dataset-800.zip",
|
40 |
+
"package_size": 19967576,
|
41 |
+
"size": 31,
|
42 |
+
"type": "IMG+TXT"
|
43 |
+
},
|
44 |
+
"raw": {
|
45 |
+
"description": "Raw data with meta information (min edge aligned to 1400 if larger).",
|
46 |
+
"filename": "dataset-raw.zip",
|
47 |
+
"package_size": 24855704,
|
48 |
+
"size": 31,
|
49 |
+
"type": "Waifuc-Raw"
|
50 |
+
},
|
51 |
+
"stage3-p480-1200": {
|
52 |
+
"description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
|
53 |
+
"filename": "dataset-stage3-p480-1200.zip",
|
54 |
+
"package_size": 39120583,
|
55 |
+
"size": 57,
|
56 |
+
"type": "IMG+TXT"
|
57 |
+
},
|
58 |
+
"stage3-p480-800": {
|
59 |
+
"description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
|
60 |
+
"filename": "dataset-stage3-p480-800.zip",
|
61 |
+
"package_size": 33351827,
|
62 |
+
"size": 57,
|
63 |
+
"type": "IMG+TXT"
|
64 |
+
}
|
65 |
+
},
|
66 |
+
"version": "v1.5"
|
67 |
+
}
|
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
|