_one, img_feat_two, text_feat_one, text_feat_two
        )
        return directional_similarity
Let’s put DirectionalSimilarity to use now.


	Copied
dir_similarity = DirectionalSimilarity(tokenizer, text_encoder, image_processor, image_encoder)
scores = []

for i in range(len(input_images)):
    original_image = input_images[i]
    original_caption = original_captions[i]
    edited_image = edited_images[i]
    modified_caption = modified_capt