MultiMatte / README.md
1038lab's picture
Add BF16/FP8 safetensors, clean unused JSONs, and update README
09e17a7 verified
|
Raw History Blame Contribute Delete
1.94 kB
---
license: apache-2.0
tags:
- sam3
- alpha-matting
- background-removal
- comfyui
- safetensors
---
<h1 align="center">MultiMatte</h1>
<p align="center"><b>Promptable SAM 3 Alpha Matting β€” Packaged for ComfyUI-RMBG.</b></p>
<p align="center">
<a href="https://github.com/1038lab/ComfyUI-RMBG"><img src="https://img.shields.io/badge/ComfyUI--RMBG-1038lab-blue?style=flat-square&logo=github"></a>
<a href="https://huggingface.co/feyninc/multimatte"><img src="https://img.shields.io/badge/Upstream-feyninc%2Fmultimatte-yellow?style=flat-square"></a>
</p>
This repository hosts the safetensors weights of [**MultiMatte**](https://huggingface.co/feyninc/multimatte) (Apache-2.0) packaged for [**ComfyUI-RMBG**](https://github.com/1038lab/ComfyUI-RMBG) with zero external `nobg` dependency.
MultiMatte is a promptable alpha matting model built on [SAM 3](https://huggingface.co/facebook/sam3) that outputs continuous opacity mattes for hair, glass, and fine edges from optional text prompts.
## Model Variants
| File | Precision | Size | Notes |
| :--- | :--- | :--- | :--- |
| `MultiMatte-bf16.safetensors` | BF16 | 1.57 GB | **Recommended** β€” near-lossless quality, half size |
| `MultiMatte-fp8.safetensors` | FP8 (scaled) | 0.84 GB | Compact download for low-disk / bandwidth setups |
| `MultiMatte.safetensors` | FP32 | 3.13 GB | Original full-precision checkpoint |
## ComfyUI Usage
The `MultiMatte (RMBG)` node in [**ComfyUI-RMBG**](https://github.com/1038lab/ComfyUI-RMBG) automatically downloads the selected model into:
```text
ComfyUI/models/RMBG/MultiMatte/
β”œβ”€β”€ MultiMatte-bf16.safetensors
β”œβ”€β”€ MultiMatte-fp8.safetensors
└── MultiMatte.safetensors
```
## License & Attribution
- **License**: Apache-2.0
- **Upstream Model**: [feyninc/multimatte](https://huggingface.co/feyninc/multimatte) (Hafedh Hichri & Feyn Research)
- **Base Model**: [facebook/sam3](https://huggingface.co/facebook/sam3)