problems with run model as said in readme

#1
by kurbobo - opened

1.

url_image2 = "https://raw.githubusercontent.com/magicleap/SuperGluePretrainedNetwork/refs/heads/master/assets/phototourism_sample_images/united_states_capitol_26757027_6717084061.jpg"
image_2 = Image.open(requests.get(url_image2, stream=True).raw)
images = [image1, image2]

image_2 -> image2
2. If I fix previous typo, I get next error

---> 13 processor = AutoImageProcessor.from_pretrained("magic-leap-community/superglue_outdoor")
ValueError: Unrecognized image processor in magic-leap-community/superglue_outdoor. Should have a `image_processor_type` key in its preprocessor_config.json of config.json, or one of the following `model_type` keys in its config.json
Magic Leap Community org

Hi, sorry I missed your message, indeed SuperGlue's PR has been merged on main but no release includes it yet, so you need to install from source as suggested by @Masterx . Sorry for the inconvenience

Sign up or log in to comment