yande-webp-4Mpixel
收藏魔搭社区2024-12-20 更新2024-12-07 收录
下载链接:
https://modelscope.cn/datasets/deepghs/yande-webp-4Mpixel
下载链接
链接失效反馈官方服务:
资源简介:
# Yande Newest 4M Re-encoded Dataset
This is the re-encoded dataset of [deepghs/yande_full](https://huggingface.co/datasets/deepghs/yande_full). And all the resized images are maintained here.
There are 1083589 images in total. The maximum ID of these images is 1194250. Last updated at `2024-10-01 10:05:00 UTC`.
# How to Painlessly Use This
Use [cheesechaser](https://github.com/deepghs/cheesechaser) to quickly get images from this repository.
Before using this code, you have to **grant the access from this gated repository**. And then **set your personal HuggingFace token into `HF_TOKEN` environment variable** to give the code authorization for this repository.
```python
from cheesechaser.datapool import YandeWebpDataPool
pool = YandeWebpDataPool()
pool.batch_download_to_directory(
# download images #900000-900100, any ranges or id lists are okay
resource_ids=range(900000, 900100),
# save to directory /data/yande_webp
dst_dir='/data/yande_webp',
)
```
# Yande最新4M重编码数据集
本数据集为[deepghs/yande_full](https://huggingface.co/datasets/deepghs/yande_full)的重编码版本,所有经过尺寸调整的图像均存储于此。
本数据集总计包含1083589张图像,图像的最大ID为1194250,最后更新时间为UTC时间2024年10月1日10:05:00。
# 轻松使用指南
可通过[cheesechaser](https://github.com/deepghs/cheesechaser)快速从本仓库获取图像。
在运行下述代码前,你需要先**申请本受访问控制仓库(gated repository)的访问权限**,并将个人的Hugging Face令牌配置到`HF_TOKEN`环境变量中,以授予代码访问本仓库的权限。
python
from cheesechaser.datapool import YandeWebpDataPool
pool = YandeWebpDataPool()
pool.batch_download_to_directory(
# 下载ID范围为900000至900100的图像,你也可以使用任意ID范围或ID列表
resource_ids=range(900000, 900100),
# 保存至目录`/data/yande_webp`
dst_dir='/data/yande_webp',
)
提供机构:
maas
创建时间:
2024-12-03



