MCPcopy Create free account
hub / github.com/OpenBMB/VisRAG / transforms_noaug_train

Function transforms_noaug_train

timm_modified/timm/data/transforms_factory.py:19–56  ·  view source on GitHub ↗

No-augmentation image transforms for training. Args: img_size: Target image size. interpolation: Image interpolation mode. mean: Image normalization mean. std: Image normalization standard deviation. use_prefetcher: Prefetcher enabled. Do not convert ima

(
        img_size: Union[int, Tuple[int, int]] = 224,
        interpolation: str = 'bilinear',
        use_prefetcher: bool = False,
        mean: Tuple[float, ...] = IMAGENET_DEFAULT_MEAN,
        std: Tuple[float, ...] = IMAGENET_DEFAULT_STD,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

create_transformFunction · 0.85

Calls 2

str_to_interp_modeFunction · 0.90
ToNumpyClass · 0.90

Tested by

no test coverage detected