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
File size: 501 Bytes
98d3de5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | {
"source": "noahcao/FAB",
"source_file": "fab-l/model.pt",
"source_sha256": "83531ac15212feb72aec8ba520e3e7bb19493e2263867bde1bf06d828a17fc6d",
"source_code": "github.com/noahcao/FAB ec65caf",
"rig_from": "mlx-community/sam-3d-body-dinov3-bf16 (head_pose.body_model.*)",
"rig_sha256": "879c3b6bc28c450ffc3722746bf1251e6c6b9b009eb4daadf6977065fde6af47",
"tensors": 678,
"dtypes": {
"torch.float32": 342,
"torch.int32": 11,
"torch.uint8": 3,
"torch.bfloat16": 322
}
}
|