Commit
•
e53f952
1
Parent(s):
13641e0
Fix error in model name (#9)
Browse files- Fix error in model name (18250717eefc9033639842679f93891b5d7f80f4)
Co-authored-by: Toli <[email protected]>
README.md
CHANGED
@@ -38,8 +38,8 @@ import requests
|
|
38 |
from PIL import Image
|
39 |
from transformers import BlipProcessor, BlipForQuestionAnswering
|
40 |
|
41 |
-
processor = BlipProcessor.from_pretrained("Salesforce/blip-vqa-capfilt-large
|
42 |
-
model = BlipForQuestionAnswering.from_pretrained("Salesforce/blip-vqa-capfilt-large
|
43 |
|
44 |
img_url = 'https://storage.googleapis.com/sfr-vision-language-research/BLIP/demo.jpg'
|
45 |
raw_image = Image.open(requests.get(img_url, stream=True).raw).convert('RGB')
|
|
|
38 |
from PIL import Image
|
39 |
from transformers import BlipProcessor, BlipForQuestionAnswering
|
40 |
|
41 |
+
processor = BlipProcessor.from_pretrained("Salesforce/blip-vqa-capfilt-large")
|
42 |
+
model = BlipForQuestionAnswering.from_pretrained("Salesforce/blip-vqa-capfilt-large")
|
43 |
|
44 |
img_url = 'https://storage.googleapis.com/sfr-vision-language-research/BLIP/demo.jpg'
|
45 |
raw_image = Image.open(requests.get(img_url, stream=True).raw).convert('RGB')
|