stevenbucaille
commited on
Commit
•
0cc37ec
1
Parent(s):
04a070d
Update README.md
Browse files
README.md
CHANGED
@@ -86,8 +86,8 @@ im1 = Image.open(requests.get(url, stream=True).raw)
|
|
86 |
url = "https://github.com/magicleap/SuperGluePretrainedNetwork/blob/master/assets/phototourism_sample_images/london_bridge_19481797_2295892421.jpg?raw=true"
|
87 |
im2 = Image.open(requests.get(url, stream=True).raw)
|
88 |
images = [im1, im2]
|
89 |
-
processor = AutoImageProcessor.from_pretrained("stevenbucaille/
|
90 |
-
model = AutoModel.from_pretrained("stevenbucaille/
|
91 |
inputs = processor(images, return_tensors="pt")
|
92 |
outputs = model(**inputs)
|
93 |
```
|
|
|
86 |
url = "https://github.com/magicleap/SuperGluePretrainedNetwork/blob/master/assets/phototourism_sample_images/london_bridge_19481797_2295892421.jpg?raw=true"
|
87 |
im2 = Image.open(requests.get(url, stream=True).raw)
|
88 |
images = [im1, im2]
|
89 |
+
processor = AutoImageProcessor.from_pretrained("stevenbucaille/superglue_outdoor")
|
90 |
+
model = AutoModel.from_pretrained("stevenbucaille/superglue_outdoor")
|
91 |
inputs = processor(images, return_tensors="pt")
|
92 |
outputs = model(**inputs)
|
93 |
```
|