ONNX background removal models#
Open models with ONNX weights suitable for rembg, onnxruntime, or custom pipelines.
Product install and docs: withoutBG Open Model hub. Replacing a cloud service? See remove.bg alternatives.
withoutBG Open Weights
Apache-2.0Apache-2.0 open-weights background removal model from withoutBG. Self-host via Python, Docker, or Mac.
withoutBG · ONNX
U²-Net
Apache-2.0Classic salient-object / background-removal network. Default model in many rembg setups.
U²-Net · rembg `u2net` · ONNX · vs withoutBG Open
U²-NetP
Apache-2.0Lightweight U²-Net variant for faster CPU inference.
U²-Net · rembg `u2netp` · ONNX · vs withoutBG Open
Silueta
Apache-2.0Compact silhouette-oriented model shipped with rembg.
U²-Net · rembg `silueta` · ONNX · vs withoutBG Open
IS-Net (general use)
Apache-2.0High-resolution dichotomous image segmentation model (DIS / IS-Net) for general cutouts.
IS-Net · rembg `isnet-general-use` · ONNX · vs withoutBG Open
BiRefNet General
MITBilateral Reference Network for high-quality dichotomous segmentation / matting-style cutouts.
BiRefNet · rembg `birefnet-general` · ONNX · vs withoutBG Open
BiRefNet General Lite
MITLighter BiRefNet general checkpoint for faster inference.
BiRefNet · rembg `birefnet-general-lite` · ONNX · vs withoutBG Open
U²-Net Cloth Segmentation
MITU²-Net trained to parse clothing on people into upper body, lower body and full body masks.
U²-Net · rembg `u2net_cloth_seg` · ONNX
Segment Anything (SAM)
Apache-2.0Meta's Segment Anything (ViT-B, quantized): segments whatever you point at with a click or box prompt.
Other · rembg `sam` · ONNX
BiRefNet Portrait
MITBiRefNet checkpoint trained for human portraits.
BiRefNet · rembg `birefnet-portrait` · ONNX · vs withoutBG Open
BiRefNet DIS
MITBiRefNet checkpoint trained on DIS5K for dichotomous image segmentation: fine, thin structures.
BiRefNet · rembg `birefnet-dis` · ONNX · vs withoutBG Open
BiRefNet HRSOD
MITBiRefNet checkpoint for high-resolution salient object detection (HRSOD and DUTS).
BiRefNet · rembg `birefnet-hrsod` · ONNX · vs withoutBG Open
BiRefNet Massive
MITBiRefNet checkpoint trained on a large mix of segmentation datasets.
BiRefNet · rembg `birefnet-massive` · ONNX · vs withoutBG Open