-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Description
Incredible work as always you guys! In looking at the Colab, it seems it's possible to do image-to-text similarity but I'm curious if it's possible to compare image similarity as well.
For instance, if I just replace 'text_features' with 'image_features' would that work / be the best way to do this?
image_features /= image_features.norm(dim=-1, keepdim=True)
image_2_features /= image_2_features.norm(dim=-1, keepdim=True)
similarity = image_2_features.cpu().numpy() @ image_features.cpu().numpy().T
mgupta70 and amundra15simoroma, adesgautam, EBazarov, NightMachinery, zhangzx-123 and 1 morewoctezuma, simoroma, violle48, parthplc, ugotsoul and 2 more
Metadata
Metadata
Assignees
Labels
No labels