Instructions to use facebook/sapiens2-pointmap-5b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sapiens2
How to use facebook/sapiens2-pointmap-5b 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-5b 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-5b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("depth-estimation", model="facebook/sapiens2-pointmap-5b")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, Sapiens2ForPointmapEstimation processor = AutoImageProcessor.from_pretrained("facebook/sapiens2-pointmap-5b") model = Sapiens2ForPointmapEstimation.from_pretrained("facebook/sapiens2-pointmap-5b", 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 (bc2c5e6b14b64659098e3158fe027bf6641ac3da) - Remove 'pos_embed_dtype' from config.json (49c704c8152c82055b2e09e8505a98bb68f09bb9) - Update config.json and preprocessor_config.json (86a048e3234a24262b515fdcb278088b25a942f7) - Update config.json and preprocessor_config.json (53218652c7fe5a83dd531be899114abf6a56dce2) - Update config.json and preprocessor_config.json (4daf29fe4d1fb9218d7ec712912d4bf41aef79e4) - Update config.json and preprocessor_config.json (ad2d4504aecc7106d86c7e54f3e67356834ccd62) Co-authored-by: guarin <guarin@users.noreply.huggingface.co>32e10d5