Learning Instance-Specific Augmentations by Capturing Local Invariances