narugo's picture
Update README.md
3ef2ced verified
|
raw
history blame
587 Bytes
---
license: mit
---
Index files of [KBlueLeaf/danbooru2023-webp-4Mpixel](https://huggingface.co/datasets/KBlueLeaf/danbooru2023-webp-4Mpixel).
You can download images from KBlueLeaf/danbooru2023-webp-4Mpixel with [cheesechaser](https://github.com/deepghs/cheesechaser).
```python
from cheesechaser.datapool import DanbooruWebpDataPool
pool = DanbooruWebpDataPool()
# download danbooru images with webp format, to directory /data/danbooru_webp
pool.batch_download_to_directory(
resource_ids=range(6000000, 6001000),
dst_dir='/data/danbooru_webp',
max_workers=12,
)
```