Module contrib.classification.download_flowers

A script to download the Flowers102 dataset.

uv run contrib/classification/download_flowers.py --help

Functions

def main(args: Args)

Download NeWT.

Classes

class Args (dir: str = '.', chunk_size_kb: int = 1)

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."""

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.