def forward(self, images):
    cropped_images = self.preprocess_images_to_id_encoder(images)
    img_embeddings = resnet(cropped_images)
    return img_embeddings
def forward(self, images):
    cropped_images = self.preprocess_images_to_id_encoder(images)
    img_embeddings = resnet(cropped_images)
    return img_embeddings