Update README.md
Browse files
README.md
CHANGED
@@ -76,9 +76,9 @@ batch_queries = processor.process_queries(queries).to(model.device)
|
|
76 |
# Forward pass
|
77 |
with torch.no_grad():
|
78 |
image_embeddings = model(**batch_images)
|
79 |
-
|
80 |
|
81 |
-
scores = processor.score_multi_vector(
|
82 |
```
|
83 |
|
84 |
|
|
|
76 |
# Forward pass
|
77 |
with torch.no_grad():
|
78 |
image_embeddings = model(**batch_images)
|
79 |
+
query_embeddings = model(**batch_queries)
|
80 |
|
81 |
+
scores = processor.score_multi_vector(query_embeddings, image_embeddings)
|
82 |
```
|
83 |
|
84 |
|