mednet.config.augmentations.hflip_jitter_affine¶
Horizontal flipping (p=50%) followed by jitter (offset=20%) and then simple affine augmentations.
# SPDX-FileCopyrightText: Copyright © 2023 Idiap Research Institute <contact@idiap.ch>
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""Horizontal flipping (p=50%) followed by jitter (offset=20%) and then simple affine augmentations."""
from .affine import augmentations as _affine
from .hflip import augmentations as _hflip
from .jitter import augmentations as _jitter
augmentations = _hflip + _jitter + _affine