Instructions to use melmass/fab-l-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use melmass/fab-l-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download melmass/fab-l-mlx --local-dir fab-l-mlx
- SAM 3D Body
How to use melmass/fab-l-mlx 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("melmass/fab-l-mlx") 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
- Local Apps Settings
- LM Studio
- Atomic Chat
Download config.json from melmass/fab-l-mlx: direct link, hf CLI and curl.
- Browser
- Download file 362 Bytes
-
https://huggingface.co/melmass/fab-l-mlx/resolve/main/config.json
- Command line
-
hf download hf://melmass/fab-l-mlx/config.json
-
curl -L -o config.json https://huggingface.co/melmass/fab-l-mlx/resolve/main/config.json
362 Bytes
| { | |
| "model_type": "fab_body", | |
| "name": "FAB-L", | |
| "timm_backbone": "dinov3_vitl16", | |
| "backbone_depth": 24, | |
| "backbone_width": 1024, | |
| "backbone_heads": 16, | |
| "backbone_mlp": "gelu", | |
| "register_tokens": 4, | |
| "rope_temperature": 100, | |
| "image_size": [ | |
| 512, | |
| 512 | |
| ], | |
| "patch_size": 16, | |
| "embed_dim": 1280, | |
| "decoder_depth": 6, | |
| "hand_pass": false | |
| } | |