Publish character "scar_h (Girls' Frontline)" to repository, on 2024-01-13 23:27: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 +79 -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 scar_h/SCAR-H (Girls' Frontline)
|
13 |
+
|
14 |
+
This is the dataset of scar_h/SCAR-H (Girls' Frontline), containing 20 images and their tags.
|
15 |
+
|
16 |
+
The core tags of this character are `bangs, long_hair, blonde_hair, blue_eyes, hat, ponytail, white_headwear, baseball_cap, breasts, brown_hair, purple_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 | 20 | 25.37 MiB | [Download](https://huggingface.co/datasets/CyberHarem/scar_h_girlsfrontline/resolve/main/dataset-raw.zip) | Waifuc-Raw | Raw data with meta information (min edge aligned to 1400 if larger). |
|
25 |
+
| 800 | 20 | 13.97 MiB | [Download](https://huggingface.co/datasets/CyberHarem/scar_h_girlsfrontline/resolve/main/dataset-800.zip) | IMG+TXT | dataset with the shorter side not exceeding 800 pixels. |
|
26 |
+
| stage3-p480-800 | 49 | 30.24 MiB | [Download](https://huggingface.co/datasets/CyberHarem/scar_h_girlsfrontline/resolve/main/dataset-stage3-p480-800.zip) | IMG+TXT | 3-stage cropped dataset with the area not less than 480x480 pixels. |
|
27 |
+
| 1200 | 20 | 22.54 MiB | [Download](https://huggingface.co/datasets/CyberHarem/scar_h_girlsfrontline/resolve/main/dataset-1200.zip) | IMG+TXT | dataset with the shorter side not exceeding 1200 pixels. |
|
28 |
+
| stage3-p480-1200 | 49 | 43.37 MiB | [Download](https://huggingface.co/datasets/CyberHarem/scar_h_girlsfrontline/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/scar_h_girlsfrontline',
|
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 | 6 | ![](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) | blue_gloves, 1girl, solo, assault_rifle, black_jacket, feet_out_of_frame, holding_gun, looking_at_viewer, white_background, long_sleeves, midriff, navel, pants, simple_background |
|
69 |
+
|
70 |
+
### Table Version
|
71 |
+
|
72 |
+
| # | Samples | Img-1 | Img-2 | Img-3 | Img-4 | Img-5 | blue_gloves | 1girl | solo | assault_rifle | black_jacket | feet_out_of_frame | holding_gun | looking_at_viewer | white_background | long_sleeves | midriff | navel | pants | simple_background |
|
73 |
+
|----:|----------:|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------|:--------|:-------|:----------------|:---------------|:--------------------|:--------------|:--------------------|:-------------------|:---------------|:----------|:--------|:--------|:--------------------|
|
74 |
+
| 0 | 6 | ![](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 |
|
75 |
+
|
dataset-1200.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c24814701f14deb6cc991d2f500ccffe989f3e84a9171bfe0fb2f246afeccd9b
|
3 |
+
size 23633953
|
dataset-800.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:36be115d2eb188a13cfe528723eb72800a8600c2cc348fb3e310b49429727d35
|
3 |
+
size 14644500
|
dataset-raw.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1bd05b5c63cc996f8d6f698b9bd684abb039be27060aa3176988be79e7dafd7e
|
3 |
+
size 26599483
|
dataset-stage3-p480-1200.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4569f90d857fd8d11aa26b0d83fc8c24b4de7dd09e5063d22128125c1285b6b6
|
3 |
+
size 45478988
|
dataset-stage3-p480-800.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f0a4525c43eb0189390e31350920ac6543cecfc3c694ff32799078aa527799be
|
3 |
+
size 31711178
|
meta.json
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bangumi": null,
|
3 |
+
"base_size": 20,
|
4 |
+
"clusters": [
|
5 |
+
{
|
6 |
+
"id": 0,
|
7 |
+
"size": 6,
|
8 |
+
"tags": [
|
9 |
+
"blue_gloves",
|
10 |
+
"1girl",
|
11 |
+
"solo",
|
12 |
+
"assault_rifle",
|
13 |
+
"black_jacket",
|
14 |
+
"feet_out_of_frame",
|
15 |
+
"holding_gun",
|
16 |
+
"looking_at_viewer",
|
17 |
+
"white_background",
|
18 |
+
"long_sleeves",
|
19 |
+
"midriff",
|
20 |
+
"navel",
|
21 |
+
"pants",
|
22 |
+
"simple_background"
|
23 |
+
]
|
24 |
+
}
|
25 |
+
],
|
26 |
+
"core_tags": [
|
27 |
+
"bangs",
|
28 |
+
"long_hair",
|
29 |
+
"blonde_hair",
|
30 |
+
"blue_eyes",
|
31 |
+
"hat",
|
32 |
+
"ponytail",
|
33 |
+
"white_headwear",
|
34 |
+
"baseball_cap",
|
35 |
+
"breasts",
|
36 |
+
"brown_hair",
|
37 |
+
"purple_eyes"
|
38 |
+
],
|
39 |
+
"display_name": "scar_h/SCAR-H (Girls' Frontline)",
|
40 |
+
"name": "scar_h (Girls' Frontline)",
|
41 |
+
"packages": {
|
42 |
+
"1200": {
|
43 |
+
"description": "dataset with the shorter side not exceeding 1200 pixels.",
|
44 |
+
"filename": "dataset-1200.zip",
|
45 |
+
"package_size": 23633953,
|
46 |
+
"size": 20,
|
47 |
+
"type": "IMG+TXT"
|
48 |
+
},
|
49 |
+
"800": {
|
50 |
+
"description": "dataset with the shorter side not exceeding 800 pixels.",
|
51 |
+
"filename": "dataset-800.zip",
|
52 |
+
"package_size": 14644500,
|
53 |
+
"size": 20,
|
54 |
+
"type": "IMG+TXT"
|
55 |
+
},
|
56 |
+
"raw": {
|
57 |
+
"description": "Raw data with meta information (min edge aligned to 1400 if larger).",
|
58 |
+
"filename": "dataset-raw.zip",
|
59 |
+
"package_size": 26599483,
|
60 |
+
"size": 20,
|
61 |
+
"type": "Waifuc-Raw"
|
62 |
+
},
|
63 |
+
"stage3-p480-1200": {
|
64 |
+
"description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
|
65 |
+
"filename": "dataset-stage3-p480-1200.zip",
|
66 |
+
"package_size": 45478988,
|
67 |
+
"size": 49,
|
68 |
+
"type": "IMG+TXT"
|
69 |
+
},
|
70 |
+
"stage3-p480-800": {
|
71 |
+
"description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
|
72 |
+
"filename": "dataset-stage3-p480-800.zip",
|
73 |
+
"package_size": 31711178,
|
74 |
+
"size": 49,
|
75 |
+
"type": "IMG+TXT"
|
76 |
+
}
|
77 |
+
},
|
78 |
+
"version": "v1.5"
|
79 |
+
}
|
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
|