narugo commited on
Commit
82c62a2
1 Parent(s): a535a1a

Publish character "p38 (Girls' Frontline)" to repository, on 2024-01-13 21:48:56 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 p38/P38/P38 (Girls' Frontline)
13
+
14
+ This is the dataset of p38/P38/P38 (Girls' Frontline), containing 11 images and their tags.
15
+
16
+ The core tags of this character are `brown_hair, hat, garrison_cap, military_hat, long_hair, purple_eyes, bangs`, 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 | 11 | 6.75 MiB | [Download](https://huggingface.co/datasets/CyberHarem/p38_girlsfrontline/resolve/main/dataset-raw.zip) | Waifuc-Raw | Raw data with meta information (min edge aligned to 1400 if larger). |
25
+ | 800 | 11 | 5.59 MiB | [Download](https://huggingface.co/datasets/CyberHarem/p38_girlsfrontline/resolve/main/dataset-800.zip) | IMG+TXT | dataset with the shorter side not exceeding 800 pixels. |
26
+ | stage3-p480-800 | 21 | 10.99 MiB | [Download](https://huggingface.co/datasets/CyberHarem/p38_girlsfrontline/resolve/main/dataset-stage3-p480-800.zip) | IMG+TXT | 3-stage cropped dataset with the area not less than 480x480 pixels. |
27
+ | 1200 | 11 | 6.48 MiB | [Download](https://huggingface.co/datasets/CyberHarem/p38_girlsfrontline/resolve/main/dataset-1200.zip) | IMG+TXT | dataset with the shorter side not exceeding 1200 pixels. |
28
+ | stage3-p480-1200 | 21 | 12.02 MiB | [Download](https://huggingface.co/datasets/CyberHarem/p38_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/p38_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 | 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, military_uniform, solo, belt, white_background, handgun, iron_cross, jacket, open_mouth, black_skirt, boots, holding_gun, holster, looking_at_viewer, simple_background, thighhighs, collared_shirt, pleated_skirt, pouch, walther |
69
+
70
+ ### Table Version
71
+
72
+ | # | Samples | Img-1 | Img-2 | Img-3 | Img-4 | Img-5 | 1girl | military_uniform | solo | belt | white_background | handgun | iron_cross | jacket | open_mouth | black_skirt | boots | holding_gun | holster | looking_at_viewer | simple_background | thighhighs | collared_shirt | pleated_skirt | pouch | walther |
73
+ |----:|----------:|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------|:-------------------|:-------|:-------|:-------------------|:----------|:-------------|:---------|:-------------|:--------------|:--------|:--------------|:----------|:--------------------|:--------------------|:-------------|:-----------------|:----------------|:--------|:----------|
74
+ | 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 | 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:542663b2edbf1d39713f28a780726f9d791bcde8ba1a40b2fdc4ff7a99d9a11c
3
+ size 6791952
dataset-800.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21878317b712df6a308b1c50713359ba75161941d5bc83f33f6128a62e3cbd87
3
+ size 5856313
dataset-raw.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7b8960106867c70debf1a2eddcfd6ccf1fc9f50af7f5425c7cdd48d4c2dfc21
3
+ size 7080423
dataset-stage3-p480-1200.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc0e2abd2212af9f93dce2636d5e172434673c393b40bc6572feecb9650f2332
3
+ size 12602672
dataset-stage3-p480-800.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:718aa6e4cdca81395de88c3f3ee98883991676d5942da53ecc08a993d4cd8040
3
+ size 11524733
meta.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bangumi": null,
3
+ "base_size": 11,
4
+ "clusters": [
5
+ {
6
+ "id": 0,
7
+ "size": 11,
8
+ "tags": [
9
+ "1girl",
10
+ "military_uniform",
11
+ "solo",
12
+ "belt",
13
+ "white_background",
14
+ "handgun",
15
+ "iron_cross",
16
+ "jacket",
17
+ "open_mouth",
18
+ "black_skirt",
19
+ "boots",
20
+ "holding_gun",
21
+ "holster",
22
+ "looking_at_viewer",
23
+ "simple_background",
24
+ "thighhighs",
25
+ "collared_shirt",
26
+ "pleated_skirt",
27
+ "pouch",
28
+ "walther"
29
+ ]
30
+ }
31
+ ],
32
+ "core_tags": [
33
+ "brown_hair",
34
+ "hat",
35
+ "garrison_cap",
36
+ "military_hat",
37
+ "long_hair",
38
+ "purple_eyes",
39
+ "bangs"
40
+ ],
41
+ "display_name": "p38/P38/P38 (Girls' Frontline)",
42
+ "name": "p38 (Girls' Frontline)",
43
+ "packages": {
44
+ "1200": {
45
+ "description": "dataset with the shorter side not exceeding 1200 pixels.",
46
+ "filename": "dataset-1200.zip",
47
+ "package_size": 6791952,
48
+ "size": 11,
49
+ "type": "IMG+TXT"
50
+ },
51
+ "800": {
52
+ "description": "dataset with the shorter side not exceeding 800 pixels.",
53
+ "filename": "dataset-800.zip",
54
+ "package_size": 5856313,
55
+ "size": 11,
56
+ "type": "IMG+TXT"
57
+ },
58
+ "raw": {
59
+ "description": "Raw data with meta information (min edge aligned to 1400 if larger).",
60
+ "filename": "dataset-raw.zip",
61
+ "package_size": 7080423,
62
+ "size": 11,
63
+ "type": "Waifuc-Raw"
64
+ },
65
+ "stage3-p480-1200": {
66
+ "description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
67
+ "filename": "dataset-stage3-p480-1200.zip",
68
+ "package_size": 12602672,
69
+ "size": 21,
70
+ "type": "IMG+TXT"
71
+ },
72
+ "stage3-p480-800": {
73
+ "description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
74
+ "filename": "dataset-stage3-p480-800.zip",
75
+ "package_size": 11524733,
76
+ "size": 21,
77
+ "type": "IMG+TXT"
78
+ }
79
+ },
80
+ "version": "v1.5"
81
+ }
samples/0/clu0-sample0.png ADDED

Git LFS Details

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

Git LFS Details

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

Git LFS Details

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

Git LFS Details

  • SHA256: 3e8cce272d51a12e4c0915d6debea7fcefdf698ef53c3f5aaa6152df9e7405ee
  • Pointer size: 131 Bytes
  • Size of remote file: 178 kB
samples/0/clu0-sample4.png ADDED

Git LFS Details

  • SHA256: 4a0781541c76e21d3613bf60a0db3a9f1aceb0ea5f2e9f358b26f5811ba6945e
  • Pointer size: 131 Bytes
  • Size of remote file: 212 kB