semantic_segmentation_transformer#
- semantic_segmentation_transformer(inp: tuple[numpy.ndarray, numpy.ndarray], transform: albumentations.core.transforms_interface.BasicTransform | None) tuple[numpy.ndarray, numpy.ndarray | None] [source]#
- semantic_segmentation_transformer(inp: tuple[numpy.ndarray, None], transform: albumentations.core.transforms_interface.BasicTransform | None) tuple[numpy.ndarray, None]
Apply transform to image and mask.