MCPcopy Create free account
hub / github.com/bwconrad/decoder-denoising / __init__

Method __init__

src/data.py:15–48  ·  view source on GitHub ↗

Basic data module Args: root: Path to image directory size: Size of resized image crop: Size of image crop num_val: Number of validation samples batch_size: Number of batch samples workers: Number of data workers

(
        self,
        root: str,
        size: int = 256,
        crop: int = 224,
        num_val: int = 1000,
        batch_size: int = 32,
        workers: int = 4,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected