Instructions to use facebook/sapiens2-pointmap-1b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sapiens2
How to use facebook/sapiens2-pointmap-1b with sapiens2:
# 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
- sapiens
How to use facebook/sapiens2-pointmap-1b with sapiens:
# 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
- Transformers
How to use facebook/sapiens2-pointmap-1b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("depth-estimation", model="facebook/sapiens2-pointmap-1b")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, Sapiens2ForPointmapEstimation processor = AutoImageProcessor.from_pretrained("facebook/sapiens2-pointmap-1b") model = Sapiens2ForPointmapEstimation.from_pretrained("facebook/sapiens2-pointmap-1b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add HF-compatible model.safetensors, config.json, and preprocessor_config.json (#1)
- Add HF-compatible model.safetensors, config.json, and preprocessor_config.json (1383c67b98a552902cbe5785bdb3840d23745c8e) - Remove 'pos_embed_dtype' from config.json (bd456193a8676fc928dcf63894cb7ce41acbc658) - Update config.json and preprocessor_config.json (c0b08e16ea20c4ff6e89d35b3fdfeeced1d4caa8) - Update config.json and preprocessor_config.json (d779aa8b660f3086199e0cd841171f8ac4c8115a) - Update config.json and preprocessor_config.json (17daf2352eae6e43306560571c6b4dda426b42b9) - Update config.json and preprocessor_config.json (d3c8eb99e2860bacf38f7c5df5efa9d4c3373813) Co-authored-by: guarin <guarin@users.noreply.huggingface.co>64d6a43