Instructions to use facebook/sapiens2-normal-5b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sapiens2
How to use facebook/sapiens2-normal-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-normal-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-normal-5b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("depth-estimation", model="facebook/sapiens2-normal-5b")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, Sapiens2ForNormalEstimation processor = AutoImageProcessor.from_pretrained("facebook/sapiens2-normal-5b") model = Sapiens2ForNormalEstimation.from_pretrained("facebook/sapiens2-normal-5b", 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 (22285266dbb0f28c55ebe96a4a2ee9e44b4ce17e) Co-authored-by: guarin <guarin@users.noreply.huggingface.co>898f7c3
-
Add HF-compatible model.safetensors, config.json, and preprocessor_config.json (#3)
- Add HF-compatible model.safetensors, config.json, and preprocessor_config.json (b0f8fa734422d8b1681b90397bd9cea349bef3d0) Co-authored-by: guarin <guarin@users.noreply.huggingface.co>04ae0ca
-
Add HF-compatible model.safetensors, config.json, and preprocessor_config.json (#1)
- Add HF-compatible model.safetensors, config.json, and preprocessor_config.json (c58df67823847d9cbd202186e2ad4a5e01cf4a70) - Remove 'pos_embed_dtype' from config.json (9c2591e192d534696b4efa18a01b7f0c767238d8) - Update config.json and preprocessor_config.json (8cc1a6d1e6eb54d636137835ccf105b9af1bfc54) - Update config.json and preprocessor_config.json (0f77eb9d480b55caf270c2339839e9bd674f41e4) - Update config.json and preprocessor_config.json (f006187f3a1e39858566ee083873e054f9d16284) - Update config.json and preprocessor_config.json (b59e8639f808811ca073c80304f13ff99caafebb) Co-authored-by: guarin <guarin@users.noreply.huggingface.co>88b38db
-
Update model card
Verified signature8b02446
-
Upload sapiens2_5b_normal.safetensors with huggingface_hub
Verified signature2a4a81c -
Upload README.md with huggingface_hub
Verified signature9a8c790 -
initial commit
Verified signature23a4da8