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")# Load model directly from transformers import AutoImageProcessor, Sapiens2ForPointmapEstimation processor = AutoImageProcessor.from_pretrained("facebook/sapiens2-pointmap-5b") model = Sapiens2ForPointmapEstimation.from_pretrained("facebook/sapiens2-pointmap-5b") - Notebooks
- Google Colab
- Kaggle
Add HF-compatible model.safetensors, config.json, and preprocessor_config.json
#3
by guarin HF Staff - opened
- config.json +0 -2
config.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"apply_layernorm": true,
|
| 3 |
"architectures": [
|
| 4 |
"Sapiens2ForPointmapEstimation"
|
| 5 |
],
|
|
@@ -86,7 +85,6 @@
|
|
| 86 |
"LABEL_1": 1,
|
| 87 |
"LABEL_2": 2
|
| 88 |
},
|
| 89 |
-
"layer_norm_eps": 1e-05,
|
| 90 |
"layerscale_value": 1.0,
|
| 91 |
"mlp_bias": true,
|
| 92 |
"model_type": "sapiens2",
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"Sapiens2ForPointmapEstimation"
|
| 4 |
],
|
|
|
|
| 85 |
"LABEL_1": 1,
|
| 86 |
"LABEL_2": 2
|
| 87 |
},
|
|
|
|
| 88 |
"layerscale_value": 1.0,
|
| 89 |
"mlp_bias": true,
|
| 90 |
"model_type": "sapiens2",
|