Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

melmass
/
fab-l-mlx

MLX
Safetensors
SAM 3D Body
fab_body
human-mesh-recovery
Model card Files Files and versions
xet
Community

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-mlx
1.56 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
melmass's picture
melmass
FAB weights converted for MLXBody
98d3de5 verified 3 days ago
  • parity
    FAB weights converted for MLXBody 3 days ago
  • .gitattributes
    1.52 kB
    initial commit 3 days ago
  • README.md
    1.28 kB
    FAB weights converted for MLXBody 3 days ago
  • config.json
    362 Bytes
    FAB weights converted for MLXBody 3 days ago
  • conversion.json
    501 Bytes
    FAB weights converted for MLXBody 3 days ago
  • model.safetensors
    1.53 GB
    xet
    FAB weights converted for MLXBody 3 days ago