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
you need to install transformers from source [https://huggingface.co/docs/transformers/installation#install-from-source]