Instructions to use facebook/sapiens2-matting-1b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sapiens
How to use facebook/sapiens2-matting-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
- sapiens2
How to use facebook/sapiens2-matting-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
- Notebooks
- Google Colab
- Kaggle
Add HF-compatible model.safetensors, config.json, and preprocessor_config.json
#1
by guarin HF Staff - opened
Adds three files to make this checkpoint directly loadable via Hugging Face Transformers:
model.safetensorsβ exact copy of the existing weightsconfig.jsonβSapiens2Configfor this checkpointpreprocessor_config.jsonβSapiens2ImageProcessorfor this checkpoint
Model class: Sapiens2ForMatting
No weights were modified.The corresponding transformers PR is: https://github.com/huggingface/transformers/pull/45919