Instructions to use facebook/sapiens2-normal-0.4b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sapiens2
How to use facebook/sapiens2-normal-0.4b 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-0.4b 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-0.4b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("depth-estimation", model="facebook/sapiens2-normal-0.4b")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, Sapiens2ForNormalEstimation processor = AutoImageProcessor.from_pretrained("facebook/sapiens2-normal-0.4b") model = Sapiens2ForNormalEstimation.from_pretrained("facebook/sapiens2-normal-0.4b", 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 (aa4fbc04e26e170811e032c7577cba576d41db0e) Co-authored-by: guarin <guarin@users.noreply.huggingface.co>5288659
-
Add HF-compatible model.safetensors, config.json, and preprocessor_config.json (#3)
- Add HF-compatible model.safetensors, config.json, and preprocessor_config.json (1ffefd505e855a2cddfb7ffc0225e79fc8f4b7af) Co-authored-by: guarin <guarin@users.noreply.huggingface.co>b0be8ad
-
Add HF-compatible model.safetensors, config.json, and preprocessor_config.json (#1)
- Add HF-compatible model.safetensors, config.json, and preprocessor_config.json (db1425f9bd04b576df04bfa5eb92b9f757edd88c) - Remove 'pos_embed_dtype' from config.json (a281516ff5ed619d290abc61f377d08da7d93c47) - Update config.json and preprocessor_config.json (5e61dbd940a831410553fa8a1738217c60ffaf1f) - Update config.json and preprocessor_config.json (c82dfe76f8dec734d0307c7319b1e11e1f17ad20) - Update config.json and preprocessor_config.json (f28ce8bbb64ffc29053e0378fe25541c61af3ccf) Co-authored-by: guarin <guarin@users.noreply.huggingface.co>80eb71a
-
Update model card
Verified signature9feed9d
-
Upload sapiens2_0.4b_normal.safetensors with huggingface_hub
Verified signature9b66f54 -
Upload README.md with huggingface_hub
Verified signature05e6313 -
initial commit
Verified signature15cbd76