Instructions to use alpha-studio/alphamocap-exmr-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- SAM 3D Body
How to use alpha-studio/alphamocap-exmr-models with SAM 3D Body:
import cv2 import numpy as np from notebook.utils import setup_sam_3d_body from tools.vis_utils import visualize_sample_together estimator = setup_sam_3d_body("alpha-studio/alphamocap-exmr-models") img_bgr = cv2.imread("path/to/image.jpg") outputs = estimator.process_one_image(cv2.cvtColor(img_bgr, cv2.COLOR_BGR2RGB)) rend_img = visualize_sample_together(img_bgr, outputs, estimator.faces) cv2.imwrite("output.jpg", rend_img.astype(np.uint8)) - Notebooks
- Google Colab
- Kaggle
|
Download README.md from alpha-studio/alphamocap-exmr-models: direct link, hf CLI and curl.
- Browser
- Download file 1.65 kB
-
https://huggingface.co/alpha-studio/alphamocap-exmr-models/resolve/main/README.md
- Command line
-
hf download hf://alpha-studio/alphamocap-exmr-models/README.md
-
curl -L -o README.md https://huggingface.co/alpha-studio/alphamocap-exmr-models/resolve/main/README.md
1.65 kB
| license: other | |
| license_name: sam-license | |
| license_link: LICENSE | |
| tags: | |
| - motion-capture | |
| - sam-3d-body | |
| # AlphaMocap ExMR models | |
| The model files the AlphaMocap ExMR add-on for Blender downloads during Setup. They are mirrored here so | |
| that its users do not each have to request access to Meta's gated repository. | |
| | File | What | From | Licence | | |
| | --- | --- | --- | --- | | |
| | `model.ckpt` | SAM 3D Body (DINOv3 backbone) | Meta, [facebook/sam-3d-body-dinov3](https://huggingface.co/facebook/sam-3d-body-dinov3) | SAM License (`LICENSE`) | | |
| | `model_config.yaml` | its configuration | the same | SAM License | | |
| | `assets/mhr_model.pt` | MHR, Meta's Momentum Human Rig, as SAM 3D Body ships it | the same | SAM License as shipped there; MHR itself Apache-2.0 ([facebookresearch/MHR](https://github.com/facebookresearch/MHR)) | | |
| The files are byte for byte the ones in Meta's repository, laid out as there. Their SHA-256 values are the ones ExMR's | |
| `tools/download_models.py` checks: | |
| ``` | |
| b5a2f9d305dd02626b967aa2e86021fba07065df66ce7a7e00ffb9664f150abf model.ckpt | |
| 1012fc3f39cb5e90e3f8fbadf7bded31604bfafdce0321d17a7c1a2d3f08b88d model_config.yaml | |
| 352e271a6c42729c68554ceaea0c955e866970160c31e35506d782dc0f7377bc assets/mhr_model.pt | |
| ``` | |
| They are redistributed under the SAM License, a copy of which is in `LICENSE` (section 1.b.i). Using them | |
| means accepting it, including its trade-control terms. If you publish research done with them, | |
| acknowledge SAM 3D Body (section 1.b.ii). | |
| SMPL-X and MANO are not here. Their licences allow no redistribution, so each user registers and | |
| downloads them from smpl-x.is.tue.mpg.de and mano.is.tue.mpg.de. | |