Update README.md
Browse files
README.md
CHANGED
|
@@ -81,7 +81,7 @@ beams = [ # exactly nine captions, in beam-search order (best beam first)
|
|
| 81 |
"a bath room with a toilet a bath tub",
|
| 82 |
"a bath room with a toilet a sink and a mirror",
|
| 83 |
]
|
| 84 |
-
best, scores = reranker.rerank("washbasin bathtub sink", beams)
|
| 85 |
print(beams[best]) # -> a bathroom with a sink and a toilet
|
| 86 |
```
|
| 87 |
|
|
|
|
| 81 |
"a bath room with a toilet a bath tub",
|
| 82 |
"a bath room with a toilet a sink and a mirror",
|
| 83 |
]
|
| 84 |
+
best, scores = reranker.rerank("washbasin bathtub sink", beams) # visual context from the image
|
| 85 |
print(beams[best]) # -> a bathroom with a sink and a toilet
|
| 86 |
```
|
| 87 |
|