BEN3: Background Erase Network (Safetensors Weights for ComfyUI)

Converted .safetensors weights for the open BEN3 multi-hypothesis generator originally published at PramaLLC/BEN3 (source revision 7b3e49e2b12e5ea3fc18ca52a410dc9fe3e9f538).

Sample outputs

BEN3 Cutout Samples

Generated on a CUDA GPU with ben3_fp16.safetensors through yebisu0529-ship-it/ComfyUI-BEN3, showing the original CC0 input image, straight RGBA cutout composited over a checkerboard, and alpha mask.

Sample inputs (CC0 via Wikimedia Commons): Furry gray cat (Unsplash).jpg, Portrait (Unsplash).jpg, and Red vintage car (Unsplash).jpg.

Anime character cutout example

BEN3 Anime Cutout Sample

Generated with Krea 2 Turbo and ben3.safetensors (FP32), including direct transparent PNG output (assets/krea2_anime_cutout_rgba.png).

Files

  • ben3.safetensors: Exact FP32 state_dict converted from PramaLLC/BEN3/ben3.pth (bit-identical across all 371 tensors).
  • ben3_fp16.safetensors: Half-precision FP16 state_dict (float tensors cast to FP16, integer buffers preserved) for smaller downloads and lower disk footprint.
  • config.json: Model metadata.
  • assets/ben3_samples.png: Sample comparison sheet.
  • LICENSE: MIT License text (including upstream, S3OD, and Intel ISL DPT notices) and third-party DINOv3 notice.
  • DINOV3_LICENSE.md: Full copy of Meta's DINOv3 License.

ComfyUI Usage

Install the custom node from yebisu0529-ship-it/ComfyUI-BEN3 (ComfyUI >= 0.21.0 recommended):

cd ComfyUI/custom_nodes
git clone https://github.com/yebisu0529-ship-it/ComfyUI-BEN3.git
cd ComfyUI-BEN3
pip install -r requirements.txt

Restart ComfyUI, then choose either loading method in BEN3 Model Loader:

  • Automatic download: Select auto: StudioYebisu-ship-it/BEN3-safetensors-ComfyUI (ben3_fp16.safetensors) (or the FP32 preset) inside BEN3 Model Loader.
  • Manual placement: Download ben3_fp16.safetensors or ben3.safetensors into ComfyUI/models/background_removal/ and select the filename in BEN3 Model Loader.

Note: ComfyUI/models/background_removal/ is shared with ComfyUI's built-in BiRefNet loader (Load Background Removal Model), so select BEN3 files only in BEN3 Model Loader.

Credits & Acknowledgements

  • BEN3 & MHFNet: Developed by Maxwell Meyer and Jack Spruyt at BackgroundErase / Prama LLC (PramaLLC/BEN3, GitHub, backgrounderase.com, arXiv:2611.38399).
  • S3OD: Multi-hypothesis segmentation architecture builds on S3OD by Orest Kupyn, Hirokatsu Kataoka, and Christian Rupprecht (KupynOrest/s3od, MIT License).
  • DPT: Multi-scale decoder fusion blocks originate from Intel ISL's DPT (MIT License).
  • DINOv3: Visual encoder architecture and pretrained backbone weights originate from Meta AI's DINOv3 (facebook/dinov3-vitb16-pretrain-lvd1689m).

Citation

@misc{meyer2026mhfnetmultihypothesisfusionnetwork,
    title={MHFNet: Multi-Hypothesis Fusion Network for Dichotomous Image Segmentation},
    author={Maxwell Meyer and Jack Spruyt},
    year={2026},
    eprint={2611.38399},
    archivePrefix={arXiv},
    primaryClass={cs.CV},
    url={https://arxiv.org/abs/2611.38399}
}

Licensing

  • Upstream PramaLLC/BEN3 states in its README that the BEN3 implementation and open generator are released under the MIT License, subject to applicable third-party licensing terms, and that the proprietary MHFNet fusion network from the commercial BEN3 service is not included in the public release.
  • Third-Party DINOv3 License Notice: Because ben3.pth and these converted .safetensors weights contain visual encoder parameters derived from Meta's DINOv3 (facebook/dinov3-vitb16-pretrain-lvd1689m), redistribution and use are also governed by Meta's DINOv3 License included in DINOV3_LICENSE.md (including §1.b.i redistribution terms, §1.b.ii research acknowledgement, and §1.b.v trade-control restrictions).
Downloads last month
97
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for StudioYebisu-ship-it/BEN3-safetensors-ComfyUI

Base model

PramaLLC/BEN3
Finetuned
(3)
this model

Papers for StudioYebisu-ship-it/BEN3-safetensors-ComfyUI