Update modeling_clip.py
Browse files- modeling_clip.py +1 -1
modeling_clip.py
CHANGED
@@ -489,7 +489,7 @@ class JinaCLIPModel(JinaCLIPPreTrainedModel):
|
|
489 |
|
490 |
processed_inputs.append(image)
|
491 |
|
492 |
-
processed_inputs = self.preprocess(processed_inputs)
|
493 |
embeddings = self.get_image_features(processed_inputs)
|
494 |
|
495 |
if normalize_embeddings:
|
|
|
489 |
|
490 |
processed_inputs.append(image)
|
491 |
|
492 |
+
processed_inputs = self.preprocess(processed_inputs)
|
493 |
embeddings = self.get_image_features(processed_inputs)
|
494 |
|
495 |
if normalize_embeddings:
|