get_item is dealing with just one image[idx]
It is better to move augmentation to init and transform all images altogether, not 1by1 in get_item_, also check that your augmentation doesn’t change shape to (1, 28, 28) where 1 is the number of channels.