Instructions to use melmass/fab-s-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use melmass/fab-s-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download melmass/fab-s-mlx --local-dir fab-s-mlx
- SAM 3D Body
How to use melmass/fab-s-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-s-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
02f770e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | {
"source": "noahcao/FAB",
"source_file": "fab-s/model.pt",
"source_sha256": "f09fc382bd524c0eb6f60f1031fddb2e4023ae0572d6815ab2e4e1753635aaff",
"source_code": "github.com/noahcao/FAB ec65caf",
"rig_from": "mlx-community/sam-3d-body-dinov3-bf16 (head_pose.body_model.*)",
"rig_sha256": "879c3b6bc28c450ffc3722746bf1251e6c6b9b009eb4daadf6977065fde6af47",
"tensors": 546,
"dtypes": {
"torch.int32": 11,
"torch.bfloat16": 190,
"torch.float32": 342,
"torch.uint8": 3
}
}
|