Instructions to use facebook/sapiens2-normal-1b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sapiens2
How to use facebook/sapiens2-normal-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-normal-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-normal-1b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("depth-estimation", model="facebook/sapiens2-normal-1b")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, Sapiens2ForNormalEstimation processor = AutoImageProcessor.from_pretrained("facebook/sapiens2-normal-1b") model = Sapiens2ForNormalEstimation.from_pretrained("facebook/sapiens2-normal-1b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update library to sapiens2 and add transformers tag (#4)
- Update library to sapiens2 and add transformers tag (4bf00fc9a79b691e1ae9b7bce3a6deb5b9b04270) Co-authored-by: guarin <guarin@users.noreply.huggingface.co>3480505
-
Add HF-compatible model.safetensors, config.json, and preprocessor_config.json (#3)
- Add HF-compatible model.safetensors, config.json, and preprocessor_config.json (8a4db4f9fb76a001a15f055621f396511272278d) Co-authored-by: guarin <guarin@users.noreply.huggingface.co>c4c2641
-
Add HF-compatible model.safetensors, config.json, and preprocessor_config.json (#1)
- Add HF-compatible model.safetensors, config.json, and preprocessor_config.json (3a65f356f0a964f1a69715b4f88ac2e3593ea614) - Remove 'pos_embed_dtype' from config.json (e2bc38decafffc1411eb9f0345abce397bd7bea9) - Update config.json and preprocessor_config.json (d3538f5a03b18f57d0d1fb6519cb641751a53570) - Update config.json and preprocessor_config.json (f0876f3029192a8caaaafb40a5a9b17ee85961a9) - Update config.json and preprocessor_config.json (876095d8039415fc7024d1fa32c62363970b1f15) - Update config.json and preprocessor_config.json (1d8c1cfdc0e7ea75de993a8531b5f599f0ce65a2) Co-authored-by: guarin <guarin@users.noreply.huggingface.co>3b6497b
-
Update model card
Verified signature964a789 -
Update model card
Verified signature6513395
-
Upload sapiens2_1b_normal.safetensors with huggingface_hub
Verified signaturef51a9f1 -
Upload README.md with huggingface_hub
Verified signature3880329 -
initial commit
Verified signature746a4a0