Update README.md
Browse files
README.md
CHANGED
|
@@ -76,7 +76,7 @@ def get_logits(self, image, text):
|
|
| 76 |
return image_logits, text_logits
|
| 77 |
```
|
| 78 |
|
| 79 |
-
Thanks to
|
| 80 |
|
| 81 |
```python
|
| 82 |
def get_logits_as_clip(self, image, text):
|
|
|
|
| 76 |
return image_logits, text_logits
|
| 77 |
```
|
| 78 |
|
| 79 |
+
Thanks to the global loss, FLAIR also enforces the matching between global-level image and text features. Therefore, just like the originally CLIP does, FLAIR could also produce logits only considering global image and text features.
|
| 80 |
|
| 81 |
```python
|
| 82 |
def get_logits_as_clip(self, image, text):
|