Update README.md
Browse files
README.md
CHANGED
@@ -100,9 +100,9 @@ batch_queries = processor.process_queries(queries).to(model.device)
|
|
100 |
# Forward pass
|
101 |
with torch.no_grad():
|
102 |
image_embeddings = model(**batch_images)
|
103 |
-
|
104 |
|
105 |
-
scores = processor.score_multi_vector(
|
106 |
```
|
107 |
|
108 |
## Limitations
|
|
|
100 |
# Forward pass
|
101 |
with torch.no_grad():
|
102 |
image_embeddings = model(**batch_images)
|
103 |
+
query_embeddings = model(**batch_queries)
|
104 |
|
105 |
+
scores = processor.score_multi_vector(query_embeddings, image_embeddings)
|
106 |
```
|
107 |
|
108 |
## Limitations
|