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
FAB-L for MLX
FAB-L from noahcao/FAB (code: github.com/noahcao/FAB at ec65caf), converted for an MLX port of SAM 3D Body: SAM 3D Body's prompt encoder, decoder, MHR and camera heads on FAB's distilled DINOv3 backbone (ViT-L/16, 24 blocks), body pass only.
model.safetensors: the student backbone under timm's names (backbone.vit.*,backbone.proj.*) in bfloat16, the body decoder and heads in float32 under mlx-vlm's SAM 3D Body names, MLX layouts (Linear[out, in], Conv2d[out, kh, kw, in]). The Momentum Human Rig (head_pose.body_model.*), which FAB's checkpoint does not hold, is taken frommlx-community/sam-3d-body-dinov3-bf16. The hand decoder and FAB's own heads (dense, contact, visibility, G1) are left out.conversion.json: the source files and their hashes.parity/: FAB's own forward pass on one photo (CPU, float32), for the port's parity test.
Weights under FAB's weights licence (research and non-commercial use only); SAM 3D Body's and DINOv3's terms apply.
- Downloads last month
- 4
Model size
0.5B params
Tensor type
F32
路
I32 路
BF16 路
U8 路
Hardware compatibility
Log In to add your hardware
Quantized
Inference Providers NEW
This model isn't deployed by any Inference Provider. 馃檵 Ask for provider support
Model tree for melmass/fab-l-mlx
Base model
noahcao/FAB