As for the transforms, we faced similar issues for n-dimensional arrays and that’s why we started kornia.org 3 and subsequently kornia.augmentation submodule. We are now including more advanced augmentations and specialised containers to handle other types of data like masks, key points, etc. See it here: https://app.reviewnb.com/kornia/tutorials/pull/12/ 1