narugo1992's picture
squash deepghs/gelbooru-webp-4Mpixel
3cab21c verified
---
license: other
task_categories:
- image-classification
- zero-shot-image-classification
- text-to-image
language:
- en
tags:
- art
- anime
- not-for-all-audiences
size_categories:
- 10M<n<100M
annotations_creators:
- no-annotation
source_datasets:
- gelbooru
---
# Gelbooru 4M Re-encoded Dataset
This is the re-encoded dataset of [deepghs/gelbooru_full](https://huggingface.co/datasets/deepghs/gelbooru_full). And all the resized images are maintained here.
There are 11463682 images in total. The maximum ID of these images is 12575222. Last updated at `2025-09-09 09:40:06 JST`.
# 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 GelbooruWebpDataPool
pool = GelbooruWebpDataPool()
pool.batch_download_to_directory(
# download images #7000000-7000100, any ranges or id lists are okay
resource_ids=range(7000000, 7000100),
# save to directory /data/gelbooru_webp
dst_dir='/data/gelbooru_webp',
)
```