From 510e6fc87f0b3b13279bb74cf105e73604261a18 Mon Sep 17 00:00:00 2001 From: Imene Kerboua Date: Tue, 5 Nov 2024 20:18:31 +0100 Subject: [PATCH] remove innexistant method for blip --- mteb/models/blip_models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mteb/models/blip_models.py b/mteb/models/blip_models.py index dff6014246..7dff913fd4 100644 --- a/mteb/models/blip_models.py +++ b/mteb/models/blip_models.py @@ -83,7 +83,6 @@ def get_image_embeddings( images=batch_images, return_tensors="pt", padding=True ) inputs = {k: v.to(self.device) for k, v in inputs.items()} - image_outputs = self.model.get_image_features(**inputs) image_outputs = self.model.vision_model(**inputs) image_outputs = image_outputs[0] image_outputs = normalize(