Run this model with HF Jobs
Run image-matching-models/r2d2 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/image-matching-models/r2d2. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/image-matching-models/r2d2 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use image-matching-models/r2d2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Image Matching Models
How to use image-matching-models/r2d2 with Image Matching Models:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files123456789101112131415161718---license: cc-by-nc-sa-3.0library_name: image-matching-models---```pythonfrom imm import get_matchermatcher = get_matcher("r2d2", device=device)result = matcher(img0, img1)# result.keys() = # result.keys() = ['num_inliers', 'H', 'all_kpts0', 'all_kpts1', 'all_desc0', 'all_desc1', 'matched_kpts0', 'matched_kpts1', 'inlier_kpts0', 'inlier_kpts1']```## Links- [Original repository](https://github.com/naver/r2d2/tree/209b36dce146bfa5fcc69c3fb67ce076c3137b17?tab=readme-ov-file)- [Image Matching Models](https://github.com/gmberton/image-matching-models)12345678---tags:- image-matching- keypoint-detection- feature-matching---For usage see https://github.com/gmberton/image-matching-models
README.md+5-15