MultipleFramesImageAugmentationΒΆ
- class standard_e2e.dataset_utils.augmentation.MultipleFramesImageAugmentation(regime, train_transform=None, val_transform=None, *args, **kwargs)[source]ΒΆ
Bases:
FrameAugmentationApply an Albumentations pipeline to each camera modality in given frames.
- Parameters:
regime (str)
train_transform (Compose | None)
val_transform (Compose | None)
- ALLOWED_REGIMES = ['train', 'val', 'test']ΒΆ
- augment(frames, regime)ΒΆ
Apply augmentation to the given frame data.
- Parameters:
frames (
dict[str,TransformedFrameData]) β The frame data to augment.regime (
str) β The regime for which the augmentation is applied.
- Returns:
The augmented frame data.
- Return type: