cheesechaser.datapool.zerochan

This module provides data pool classes for accessing Zerochan image datasets.

It includes two main classes:

  1. ZerochanDataPool: For accessing the full Zerochan dataset.

  2. ZerochanWebpDataPool: For accessing the WebP-formatted Zerochan dataset.

These classes inherit from IncrementIDDataPool and provide easy access to Zerochan images stored in Hugging Face repositories.

ZerochanWebpDataPool

class cheesechaser.datapool.zerochan.ZerochanWebpDataPool(revision: str = 'main')[source]

A data pool for accessing the WebP-formatted Zerochan image dataset.

This class provides access to WebP-formatted Zerochan images stored in the ‘deepghs/zerochan-webp-4Mpixel’ Hugging Face repository. It uses an incremental ID system for efficient data retrieval.

Parameters:

revision (str) – The revision of the Hugging Face repository to use, defaults to ‘main’.

Usage:
>>> pool = ZerochanWebpDataPool()
__init__(revision: str = 'main')[source]

Initialize the ZerochanWebpDataPool.

Parameters:

revision (str) – The revision of the Hugging Face repository to use, defaults to ‘main’.

ZerochanDataPool

class cheesechaser.datapool.zerochan.ZerochanDataPool(revision: str = 'main')[source]

A data pool for accessing the full Zerochan image dataset.

This class provides access to Zerochan images stored in the ‘deepghs/zerochan_full’ Hugging Face repository. It uses an incremental ID system for efficient data retrieval.

Parameters:

revision (str) – The revision of the Hugging Face repository to use, defaults to ‘main’.

Usage:
>>> pool = ZerochanDataPool()
__init__(revision: str = 'main')[source]

Initialize the ZerochanDataPool.

Parameters:

revision (str) – The revision of the Hugging Face repository to use, defaults to ‘main’.