CyberHarem/vila_reverse1999
收藏资源简介:
--- license: mit task_categories: - text-to-image tags: - art - not-for-all-audiences size_categories: - n<1K --- # Dataset of Vila/维拉 (Reverse:1999) This is the dataset of Vila/维拉 (Reverse:1999), containing 21 images and their tags. The core tags of this character are `long_hair, blonde_hair, blue_eyes, braid, hair_ornament`, which are pruned in this dataset. 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)). ## List of Packages | Name | Images | Size | Download | Type | Description | Images-head | Images-others | |:-----------------|---------:|:----------|:------------------------------------------------------------------------------------------------------------------|:-----------|:---------------------------------------------------------------------|:--------------|:----------------| | raw | 21 | 44.43 MiB | [Download](https://huggingface.co/datasets/CyberHarem/vila_reverse1999/resolve/main/dataset-raw.zip) | Waifuc-Raw | Raw data with meta information (min edge aligned to 1400 if larger). | -- | -- | | stage3-p480-1200 | 50 | 70.98 MiB | [Download](https://huggingface.co/datasets/CyberHarem/vila_reverse1999/resolve/main/dataset-stage3-p480-1200.zip) | IMG+TXT | 3-stage cropped dataset with the area not less than 480x480 pixels. | 18 | 32 | ### Load Raw Dataset with Waifuc 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 ```python import os import zipfile from huggingface_hub import hf_hub_download from waifuc.source import LocalSource # download raw archive file zip_file = hf_hub_download( repo_id='CyberHarem/vila_reverse1999', repo_type='dataset', filename='dataset-raw.zip', ) # extract files to your directory dataset_dir = 'dataset_dir' os.makedirs(dataset_dir, exist_ok=True) with zipfile.ZipFile(zip_file, 'r') as zf: zf.extractall(dataset_dir) # load the dataset with waifuc source = LocalSource(dataset_dir) for item in source: print(item.image, item.meta['filename'], item.meta['tags']) ``` ## List of Clusters List of tag clustering result, maybe some outfits can be mined here. ### Raw Text Version | # | Samples | Img-1 | Img-2 | Img-3 | Img-4 | Img-5 | Tags | |----:|----------:|:---------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | 0 | 7 |  |  |  |  |  | black_gloves, simple_background, white_background, 2girls, hat, long_sleeves, white_shirt, 1girl, blush, jacket, necklace, red_headwear, scarf, yuri | | 1 | 11 |  |  |  |  |  | 1girl, closed_mouth, white_shirt, black_gloves, solo, red_scarf, long_skirt, looking_at_viewer, smile, holding, long_sleeves, standing, bead_necklace, boots, full_body, pearl_necklace, white_flower, brown_footwear, brown_hair, brown_jacket, brown_skirt, coat, copyright_notice, fringe_trim, green_eyes, hair_flower, head_scarf, low_twin_braids, outdoors, very_long_hair | ### Table Version | # | Samples | Img-1 | Img-2 | Img-3 | Img-4 | Img-5 | black_gloves | simple_background | white_background | 2girls | hat | long_sleeves | white_shirt | 1girl | blush | jacket | necklace | red_headwear | scarf | yuri | closed_mouth | solo | red_scarf | long_skirt | looking_at_viewer | smile | holding | standing | bead_necklace | boots | full_body | pearl_necklace | white_flower | brown_footwear | brown_hair | brown_jacket | brown_skirt | coat | copyright_notice | fringe_trim | green_eyes | hair_flower | head_scarf | low_twin_braids | outdoors | very_long_hair | |----:|----------:|:---------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------|:---------------|:--------------------|:-------------------|:---------|:------|:---------------|:--------------|:--------|:--------|:---------|:-----------|:---------------|:--------|:-------|:---------------|:-------|:------------|:-------------|:--------------------|:--------|:----------|:-----------|:----------------|:--------|:------------|:-----------------|:---------------|:-----------------|:-------------|:---------------|:--------------|:-------|:-------------------|:--------------|:-------------|:--------------|:-------------|:------------------|:-----------|:-----------------| | 0 | 7 |  |  |  |  |  | X | X | X | X | X | X | X | X | X | X | X | X | X | X | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1 | 11 |  |  |  |  |  | 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 | X | X | X | X | X |
--- 许可证:MIT许可证 任务类别: - 文本到图像(text-to-image) 标签: - 艺术(art) - 不适合全年龄段受众(not-for-all-audiences) 规模类别: - 样本量小于1000(n<1K) --- # 《重返未来:1999》角色维拉(Vila/维拉)数据集 本数据集为游戏《重返未来:1999》中的角色维拉(Vila/维拉)相关数据集,共包含21张图像及其对应的标注标签。 该角色的核心标注标签为`long_hair(长发)、blonde_hair(金发)、blue_eyes(蓝眼)、braid(编发)、hair_ornament(发饰)`,本数据集已对这些标签进行了剪枝处理。 本数据集的图像源自多个平台(如danbooru、pixiv、zerochan等),自动爬取系统由[DeepGHS团队](https://github.com/deepghs)([Hugging Face组织](https://huggingface.co/deepghs))开发维护。 ## 数据包列表 | 数据包名称 | 图像数量 | 文件大小 | 下载链接 | 数据类型 | 描述 | 图像头部样本数 | 其他图像样本数 | |:---------|---------:|:---------|:---------|:---------|:-----|:--------------|:---------------| | raw | 21 | 44.43 MiB | [下载](https://huggingface.co/datasets/CyberHarem/vila_reverse1999/resolve/main/dataset-raw.zip) | Waifuc-Raw | 包含元信息的原始数据,若图像短边大于1400像素则对齐至1400像素 | -- | -- | | stage3-p480-1200 | 50 | 70.98 MiB | [下载](https://huggingface.co/datasets/CyberHarem/vila_reverse1999/resolve/main/dataset-stage3-p480-1200.zip) | IMG+TXT | 区域不小于480x480像素的三阶裁剪数据集 | 18 | 32 | ### 使用Waifuc加载原始数据集 我们提供了可通过[Waifuc](https://deepghs.github.io/waifuc/main/tutorials/installation/index.html)加载的原始数据集(包含带标签的图像)。如需使用该数据集,请运行以下代码: python import os import zipfile from huggingface_hub import hf_hub_download from waifuc.source import LocalSource # 下载原始压缩包文件 zip_file = hf_hub_download( repo_id='CyberHarem/vila_reverse1999', repo_type='dataset', filename='dataset-raw.zip', ) # 将文件解压至指定目录 dataset_dir = 'dataset_dir' os.makedirs(dataset_dir, exist_ok=True) with zipfile.ZipFile(zip_file, 'r') as zf: zf.extractall(dataset_dir) # 使用Waifuc加载数据集 source = LocalSource(dataset_dir) for item in source: print(item.image, item.meta['filename'], item.meta['tags']) ## 聚类结果列表 以下为标签聚类结果列表,可从中挖掘对应角色穿搭风格。 ### 原始文本版本 | 聚类编号 | 样本数 | 示例图1 | 示例图2 | 示例图3 | 示例图4 | 示例图5 | 标签列表 | |----:|----------:|:---------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | 0 | 7 |  |  |  |  |  | black_gloves(黑手套), simple_background(纯色背景), white_background(白色背景), 2girls(双女性角色), hat(帽子), long_sleeves(长袖), white_shirt(白色衬衫), 1girl(单女性角色), blush(脸红), jacket(夹克), necklace(项链), red_headwear(红色头饰), scarf(围巾), yuri(百合向) | | 1 | 11 |  |  |  |  |  | 1girl(单女性角色), closed_mouth(闭嘴), white_shirt(白色衬衫), black_gloves(黑手套), solo(单人), red_scarf(红色围巾), long_skirt(长裙), looking_at_viewer(看向镜头), smile(微笑), holding(持有物品), long_sleeves(长袖), standing(站姿), bead_necklace(串珠项链), boots(靴子), full_body(全身像), pearl_necklace(珍珠项链), white_flower(白色花朵), brown_footwear(棕色鞋履), brown_hair(棕发), brown_jacket(棕色夹克), brown_skirt(棕色短裙), coat(外套), copyright_notice(版权声明), fringe_trim(流苏饰边), green_eyes(绿眼), hair_flower(发饰花), head_scarf(头巾), low_twin_braids(低双麻花辫), outdoors(户外场景), very_long_hair(超长发) | ### 表格版本 | 聚类编号 | 样本数 | 示例图1 | 示例图2 | 示例图3 | 示例图4 | 示例图5 | black_gloves | simple_background | white_background | 2girls | hat | long_sleeves | white_shirt | 1girl | blush | jacket | necklace | red_headwear | scarf | yuri | closed_mouth | solo | red_scarf | long_skirt | looking_at_viewer | smile | holding | standing | bead_necklace | boots | full_body | pearl_necklace | white_flower | brown_footwear | brown_hair | brown_jacket | brown_skirt | coat | copyright_notice | fringe_trim | green_eyes | hair_flower | head_scarf | low_twin_braids | outdoors | very_long_hair | |----:|----------:|:---------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------|:---------------|:--------------------|:-------------------|:---------|:------|:---------------|:--------------|:--------|:--------|:---------|:-----------|:---------------|:--------|:-------|:---------------|:-------|:------------|:-------------|:--------------------|:--------|:----------|:-----------|:----------------|:--------|:------------|:-----------------|:---------------|:-----------------|:-------------|:---------------|:--------------|:-------|:-------------------|:--------------|:-------------|:--------------|:-------------|:------------------|:-----------|:-----------------| | 0 | 7 |  |  |  |  |  | X | X | X | X | X | X | X | X | X | X | X | X | X | X | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1 | 11 |  |  |  |  |  | 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 | X | X | X | X | X | X |



