Instructions to use mlx-community/sapiens2-pose-0.4b-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/sapiens2-pose-0.4b-bf16 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download mlx-community/sapiens2-pose-0.4b-bf16 --local-dir sapiens2-pose-0.4b-bf16
- sapiens
How to use mlx-community/sapiens2-pose-0.4b-bf16 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 mlx-community/sapiens2-pose-0.4b-bf16 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
- Local Apps Settings
- LM Studio
- Atomic Chat
Download preprocessor_config.json from mlx-community/sapiens2-pose-0.4b-bf16: direct link, hf CLI and curl.
- Browser
- Download file 476 Bytes
-
https://huggingface.co/mlx-community/sapiens2-pose-0.4b-bf16/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://mlx-community/sapiens2-pose-0.4b-bf16/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/mlx-community/sapiens2-pose-0.4b-bf16/resolve/main/preprocessor_config.json
476 Bytes
| { | |
| "crop_size": { | |
| "height": 224, | |
| "width": 224 | |
| }, | |
| "do_center_crop": false, | |
| "do_normalize": true, | |
| "do_pad": false, | |
| "do_reduce_labels": false, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "image_mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "image_processor_type": "Sapiens2ImageProcessor", | |
| "image_std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ], | |
| "resample": 2, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "height": 1024, | |
| "width": 768 | |
| } | |
| } | |