narugo commited on
Commit
fdf3498
1 Parent(s): daeb658

Publish character 'lancet-2 (Arknights)' to repository, on 2024-01-11 07:37:28 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 lancet-2/Lancet-2/Lancet-2 (Arknights)
13
+
14
+ This is the dataset of lancet-2/Lancet-2/Lancet-2 (Arknights), containing 22 images and their tags.
15
+
16
+ The core tags of this character are `pointy_ears, short_hair, bangs, black_hair, tail, goggles_on_head, snake_tail, blue_eyes, breasts, hair_ornament, hair_flower, 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 | 22 | 37.15 MiB | [Download](https://huggingface.co/datasets/CyberHarem/lancet_2_arknights/resolve/main/dataset-raw.zip) | Waifuc-Raw | Raw data with meta information (min edge aligned to 1400 if larger). |
25
+ | 800 | 22 | 16.89 MiB | [Download](https://huggingface.co/datasets/CyberHarem/lancet_2_arknights/resolve/main/dataset-800.zip) | IMG+TXT | dataset with the shorter side not exceeding 800 pixels. |
26
+ | stage3-p480-800 | 55 | 38.63 MiB | [Download](https://huggingface.co/datasets/CyberHarem/lancet_2_arknights/resolve/main/dataset-stage3-p480-800.zip) | IMG+TXT | 3-stage cropped dataset with the area not less than 480x480 pixels. |
27
+ | 1200 | 22 | 31.36 MiB | [Download](https://huggingface.co/datasets/CyberHarem/lancet_2_arknights/resolve/main/dataset-1200.zip) | IMG+TXT | dataset with the shorter side not exceeding 1200 pixels. |
28
+ | stage3-p480-1200 | 55 | 58.67 MiB | [Download](https://huggingface.co/datasets/CyberHarem/lancet_2_arknights/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/lancet_2_arknights',
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 | 5 | ![](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, bandeau, bare_shoulders, solo, thigh_strap, thighs, tube_top, black_gloves, blue_hairband, looking_at_viewer, black_panties, cleavage, holding, midriff, simple_background, white_background, ass, cowboy_shot, goggles, navel, open_mouth, smile, stomach, torn_clothes, wrench |
69
+
70
+ ### Table Version
71
+
72
+ | # | Samples | Img-1 | Img-2 | Img-3 | Img-4 | Img-5 | 1girl | bandeau | bare_shoulders | solo | thigh_strap | thighs | tube_top | black_gloves | blue_hairband | looking_at_viewer | black_panties | cleavage | holding | midriff | simple_background | white_background | ass | cowboy_shot | goggles | navel | open_mouth | smile | stomach | torn_clothes | wrench |
73
+ |----:|----------:|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------------------------------|:--------|:----------|:-----------------|:-------|:--------------|:---------|:-----------|:---------------|:----------------|:--------------------|:----------------|:-----------|:----------|:----------|:--------------------|:-------------------|:------|:--------------|:----------|:--------|:-------------|:--------|:----------|:---------------|:---------|
74
+ | 0 | 5 | ![](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 | 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:22367ba0ae97655f8e03f4c6d65371499d4b1df18875345a57b8c5a2b6fe1187
3
+ size 32883756
dataset-800.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b00ba1a6e068f6522a93340b70ba02d1fb9cf92681e53f136bc865d07f7553e5
3
+ size 17714874
dataset-raw.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db33128fc1dded521978d9786181af5f3cb1cef024a0fbe9cdcb5496d7ff7fc9
3
+ size 38958719
dataset-stage3-p480-1200.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a934a4bed672e4b383bbfaa4d641977f288d4c41fd1a9aae27058f086a112b3c
3
+ size 61523172
dataset-stage3-p480-800.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da88f721b68bd05cd2f1c21b297acc1f8853451e0cffd6deb34991a495eef065
3
+ size 40501783
meta.json ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bangumi": null,
3
+ "base_size": 22,
4
+ "clusters": [
5
+ {
6
+ "id": 0,
7
+ "size": 5,
8
+ "tags": [
9
+ "1girl",
10
+ "bandeau",
11
+ "bare_shoulders",
12
+ "solo",
13
+ "thigh_strap",
14
+ "thighs",
15
+ "tube_top",
16
+ "black_gloves",
17
+ "blue_hairband",
18
+ "looking_at_viewer",
19
+ "black_panties",
20
+ "cleavage",
21
+ "holding",
22
+ "midriff",
23
+ "simple_background",
24
+ "white_background",
25
+ "ass",
26
+ "cowboy_shot",
27
+ "goggles",
28
+ "navel",
29
+ "open_mouth",
30
+ "smile",
31
+ "stomach",
32
+ "torn_clothes",
33
+ "wrench"
34
+ ]
35
+ }
36
+ ],
37
+ "core_tags": [
38
+ "pointy_ears",
39
+ "short_hair",
40
+ "bangs",
41
+ "black_hair",
42
+ "tail",
43
+ "goggles_on_head",
44
+ "snake_tail",
45
+ "blue_eyes",
46
+ "breasts",
47
+ "hair_ornament",
48
+ "hair_flower",
49
+ "medium_breasts"
50
+ ],
51
+ "display_name": "lancet-2/Lancet-2/Lancet-2 (Arknights)",
52
+ "name": "lancet-2 (Arknights)",
53
+ "packages": {
54
+ "1200": {
55
+ "description": "dataset with the shorter side not exceeding 1200 pixels.",
56
+ "filename": "dataset-1200.zip",
57
+ "package_size": 32883756,
58
+ "size": 22,
59
+ "type": "IMG+TXT"
60
+ },
61
+ "800": {
62
+ "description": "dataset with the shorter side not exceeding 800 pixels.",
63
+ "filename": "dataset-800.zip",
64
+ "package_size": 17714874,
65
+ "size": 22,
66
+ "type": "IMG+TXT"
67
+ },
68
+ "raw": {
69
+ "description": "Raw data with meta information (min edge aligned to 1400 if larger).",
70
+ "filename": "dataset-raw.zip",
71
+ "package_size": 38958719,
72
+ "size": 22,
73
+ "type": "Waifuc-Raw"
74
+ },
75
+ "stage3-p480-1200": {
76
+ "description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
77
+ "filename": "dataset-stage3-p480-1200.zip",
78
+ "package_size": 61523172,
79
+ "size": 55,
80
+ "type": "IMG+TXT"
81
+ },
82
+ "stage3-p480-800": {
83
+ "description": "3-stage cropped dataset with the area not less than 480x480 pixels.",
84
+ "filename": "dataset-stage3-p480-800.zip",
85
+ "package_size": 40501783,
86
+ "size": 55,
87
+ "type": "IMG+TXT"
88
+ }
89
+ },
90
+ "version": "v1.5"
91
+ }
samples/0/clu0-sample0.png ADDED

Git LFS Details

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

Git LFS Details

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

Git LFS Details

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

Git LFS Details

  • SHA256: 997d4cd80b4fcf363c484e3a25a304836978f038160c2aee2665b8c1ca48a915
  • Pointer size: 131 Bytes
  • Size of remote file: 147 kB
samples/0/clu0-sample4.png ADDED

Git LFS Details

  • SHA256: 0abd660379ed1f73cf27d1a3e41790f82c266538a5ad54e7b7719d5eecf51ab3
  • Pointer size: 131 Bytes
  • Size of remote file: 432 kB