Module contrib.classification.download_caltech101
A script to download the Caltech101 dataset for use as an saev.activations.ImageFolderDataset.
uv run contrib/classification/download_flowers.py --help
Functions
def main(args: Args)
-
Download Caltech 101.
Classes
class Args (dir: str = '.', chunk_size_kb: int = 1, seed: int = 42)
-
Configure download options.
Expand source code
@beartype.beartype @dataclasses.dataclass(frozen=True) class Args: """Configure download options.""" dir: str = "." """Where to save data.""" chunk_size_kb: int = 1 """How many KB to download at a time before writing to file.""" seed: int = 42 """Random seed used to generate split."""
Class variables
var chunk_size_kb : int
-
How many KB to download at a time before writing to file.
var dir : str
-
Where to save data.
var seed : int
-
Random seed used to generate split.