A simple approach would be to get the indices of these particular images and add a condition before applying the transformation.
Alternatively you could also check against self.image_paths:
def __init__(self, ..., transform_images):
    self.transform_images = transform_images
    ...

def __getitem__(self, index):
    ...
    if any([img in path for img in transform_images]):
        t_image = self.transformm(t_image)
        ...