narugo commited on
Commit
133e275
1 Parent(s): 461f759

Publish character "gr_psg_1 (Girls' Frontline)" to repository, on 2024-01-14 04:49:16 UTC

Browse files
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 gr_psg_1/GrPSG-1/PSG-1 (Girls' Frontline)
13
+
14
+ This is the dataset of gr_psg_1/GrPSG-1/PSG-1 (Girls' Frontline), containing 12 images and their tags.
15
+
16
+ The core tags of this character are `breasts, ponytail, long_hair, hair_ornament, grey_eyes, white_hair, bangs, medium_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 | 12 | 8.57 MiB | [Download](https://huggingface.co/datasets/CyberHarem/gr_psg_1_girlsfrontline/resolve/main/dataset-raw.zip) | Waifuc-Raw | Raw data with meta information (min edge aligned to 1400 if larger). |
25
+ | 800 | 12 | 6.57 MiB | [Download](https://huggingface.co/datasets/CyberHarem/gr_psg_1_girlsfrontline/resolve/main/dataset-800.zip) | IMG+TXT | dataset with the shorter side not exceeding 800 pixels. |
26
+ | stage3-p480-800 | 25 | 12.35 MiB | [Download](https://huggingface.co/datasets/CyberHarem/gr_psg_1_girlsfrontline/resolve/main/dataset-stage3-p480-800.zip) | IMG+TXT | 3-stage cropped dataset with the area not less than 480x480 pixels. |
27
+ | 1200 | 12 | 8.45 MiB | [Download](https://huggingface.co/datasets/CyberHarem/gr_psg_1_girlsfrontline/resolve/main/dataset-1200.zip) | IMG+TXT | dataset with the shorter side not exceeding 1200 pixels. |
28
+ | stage3-p480-1200 | 25 | 14.83 MiB | [Download](https://huggingface.co/datasets/CyberHarem/gr_psg_1_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/gr_psg_1_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 | 12 | ![](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, looking_at_viewer, solo, jacket, sniper_rifle, bikini_top_only, full_body, black_pantyhose, closed_mouth, front-tie_top, black_bikini, black_footwear, cleavage, collarbone, navel, open_clothes, scope, simple_background |
69
+
70
+ ### Table Version
71
+
72
+ | # | Samples | Img-1 | Img-2 | Img-3 | Img-4 | Img-5 | 1girl | looking_at_viewer | solo | jacket | sniper_rifle | bikini_top_only | full_body | black_pantyhose | closed_mouth | front-tie_top | black_bikini | black_footwear | cleavage | collarbone | navel | open_clothes | scope | simple_background |
73
+ |----:|----------:|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------|:--------------------|:-------|:---------|:---------------|:------------------|:------------|:------------------|:---------------|:----------------|:---------------|:-----------------|:-----------|:-------------|:--------|:---------------|:--------|:--------------------|
74
+ | 0 | 12 | ![](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 |
75
+
dataset-1200.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c44b4bc0ca14b28bb6416b6a2171b23a3e78f0b654010cdecd92a23cd22f4e21
3
+ size 8860651
dataset-800.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc8d1855698d5f36b02bbeb9b8da92f87b438cf20929efd30d926c5f344cb3c5
3
+ size 6888193
dataset-raw.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f5a18a668ef4ba7260ee2fa7f438bf0d189d654729dfe40acc97d2d5d035bfa
3
+ size 8989560
dataset-stage3-p480-1200.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04c1945c4469098cda499e4fd86b618ce483cf15967efe91569ee1bc90f93700
3
+ size 15550197
dataset-stage3-p480-800.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7e5d73da19f139350e824209bc158501e463bf17398a2fc521a798372cc7361
3
+ size 12953399
meta.json ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bangumi": null,
3
+ "base_size": 12,
4
+ "clusters": [
5
+ {
6
+ "id": 0,
7
+ "size": 12,
8
+ "tags": [
9
+ "1girl",
10
+ "looking_at_viewer",
11
+ "solo",
12
+ "jacket",
13
+ "sniper_rifle",
14
+ "bikini_top_only",
15
+ "full_body",
16
+ "black_pantyhose",
17
+ "closed_mouth",
18
+ "front-tie_top",
19
+ "black_bikini",
20
+ "black_footwear",
21
+ "cleavage",
22
+ "collarbone",
23
+ "navel",
24
+ "open_clothes",
25
+ "scope",
26
+ "simple_background"
27
+ ]
28
+ }
29
+ ],
30
+ "core_tags": [
31
+ "breasts",
32
+ "ponytail",
33
+ "long_hair",
34
+ "hair_ornament",
35
+ "grey_eyes",
36
+ "white_hair",
37
+ "bangs",
38
+ "medium_breasts"
39
+ ],
40
+ "display_name": "gr_psg_1/GrPSG-1/PSG-1 (Girls' Frontline)",
41
+ "name": "gr_psg_1 (Girls' Frontline)",
42
+ "packages": {
43
+ "1200": {
44
+ "description": "dataset with the shorter side not exceeding 1200 pixels.",
45
+ "filename": "dataset-1200.zip",
46
+ "package_size": 8860651,
47
+ "size": 12,
48
+ "type": "IMG+TXT"
49
+ },
50
+ "800": {
51
+ "description": "dataset with the shorter side not exceeding 800 pixels.",
52
+ "filename": "dataset-800.zip",
53
+ "package_size": 6888193,
54
+ "size": 12,
55
+ "type": "IMG+TXT"
56
+ },
57
+ "raw": {
58
+ "description": "Raw data with meta information (min edge aligned to 1400 if larger).",
59
+ "filename": "dataset-raw.zip",
60
+ "package_size": 8989560,
61
+ "size": 12,
62
+ "type": "Waifuc-Raw"
63
+ },
64
+ "stage3-p480-1200": {
65
+ "description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
66
+ "filename": "dataset-stage3-p480-1200.zip",
67
+ "package_size": 15550197,
68
+ "size": 25,
69
+ "type": "IMG+TXT"
70
+ },
71
+ "stage3-p480-800": {
72
+ "description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
73
+ "filename": "dataset-stage3-p480-800.zip",
74
+ "package_size": 12953399,
75
+ "size": 25,
76
+ "type": "IMG+TXT"
77
+ }
78
+ },
79
+ "version": "v1.5"
80
+ }
samples/0/clu0-sample0.png ADDED

Git LFS Details

  • SHA256: 2a9b151640dbb90e18fea401d6dd61a9a591ac6f0ded0683dc837652e57568b6
  • Pointer size: 131 Bytes
  • Size of remote file: 293 kB
samples/0/clu0-sample1.png ADDED

Git LFS Details

  • SHA256: be802df63de7cee21e34bf3258a5b8cba3176a2e5d1199e5d559b1f03424f05b
  • Pointer size: 131 Bytes
  • Size of remote file: 382 kB
samples/0/clu0-sample2.png ADDED

Git LFS Details

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

Git LFS Details

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

Git LFS Details

  • SHA256: 92a30c0fd86285a8df98148ccfdae28febdb88fa360cf54394795707d75126a7
  • Pointer size: 131 Bytes
  • Size of remote file: 497 kB