Compose once, call per sampletf(image=..., mask=..., bboxes=...) returns a dict; each call re-randomizes
NumPy HWC RGB, not PILnp.array(img); convert cv2 BGR→RGB
labels ride alongmasks, bboxes & keypoints transform consistently with the image
spatial vs pixel-levelspatial moves geometry (+labels); pixel-level changes only the image
OneOf to avoid stackingpick one of a group with probability p
BboxParams(format=...)pascal_voc / coco / yolo / albumentations; label_fields keeps labels aligned
min_area / min_visibilitydrop boxes a crop shrank too far
Normalize then ToTensorV2, lastToTensorV2 doesn't scale to [0,1] — Normalize does
A.save / ReplayComposeserialize pipelines; replay exact params on paired images