Instructions to use Falcon7211/loma-g with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Falcon7211/loma-g with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import LoMaForKeypointMatching model = LoMaForKeypointMatching.from_pretrained("Falcon7211/loma-g", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from Falcon7211/loma-g: direct link, hf CLI and curl.
- Browser
- Download file 229 Bytes
-
https://huggingface.co/Falcon7211/loma-g/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://Falcon7211/loma-g/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/Falcon7211/loma-g/resolve/main/preprocessor_config.json
229 Bytes
| { | |
| "do_grayscale": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "image_processor_type": "LoMaImageProcessor", | |
| "resample": 2, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "height": 480, | |
| "width": 640 | |
| } | |
| } | |