Update model name
Browse files
README.md
CHANGED
@@ -40,8 +40,8 @@ from transformers import BridgeTowerProcessor, BridgeTowerForImageAndTextRetriev
|
|
40 |
image_dir = "/datasets/COCO2017/val2017"
|
41 |
search_text = "a woman holding an umbrella"
|
42 |
|
43 |
-
processor = BridgeTowerProcessor.from_pretrained(("BridgeTower/bridgetower-base-itm"))
|
44 |
-
model = BridgeTowerForImageAndTextRetrieval.from_pretrained("BridgeTower/bridgetower-base-itm")
|
45 |
|
46 |
max_score = float('-inf')
|
47 |
best_match_image = None
|
|
|
40 |
image_dir = "/datasets/COCO2017/val2017"
|
41 |
search_text = "a woman holding an umbrella"
|
42 |
|
43 |
+
processor = BridgeTowerProcessor.from_pretrained(("BridgeTower/bridgetower-base-itm-mlm"))
|
44 |
+
model = BridgeTowerForImageAndTextRetrieval.from_pretrained("BridgeTower/bridgetower-base-itm-mlm")
|
45 |
|
46 |
max_score = float('-inf')
|
47 |
best_match_image = None
|