Views
No views yet
sapiens2_1b_matting.safetensorspip install -e .), download the checkpoint, and run the demo:1# 1. Download the checkpoint to $SAPIENS_CHECKPOINT_ROOT/matting/
2hf download facebook/sapiens2-matting-1b sapiens2_1b_matting.safetensors \
3 --local-dir ~/sapiens2_host/matting
4
5# 2. Run the demo (edit INPUT, OUTPUT, and MODEL_NAME inside the script)
6cd $SAPIENS_ROOT/sapiens/dense
7./scripts/demo/matting.sh| Field | Value |
|---|---|
| Architecture | Sapiens2 ViT backbone + Human Matting head |
| Backbone parameters | 1.462 B |
| Backbone FLOPs | 4.715 T |
| Embedding dim | 1536 |
| Layers | 40 |
| Attention heads | 24 |
| Inference resolution | 1024 × 768 (H × W) |
| Patch size | 16 |
| Model | Params | FLOPs | Embed dim | Layers | Heads |
|---|---|---|---|---|---|
| Sapiens2-1B (this) | 1.462 B | 4.715 T | 1536 | 40 | 24 |
1@article{khirodkarsapiens2,
2 title={Sapiens2},
3 author={Khirodkar, Rawal and Wen, He and Martinez, Julieta and Dong, Yuan and Su, Zhaoen and Saito, Shunsuke},
4 journal={arXiv preprint arXiv:2604.21681},
5 year={2026}
6}