huggingface.co
Total runs: 53
24-hour runs: 0
7-day runs: 2
30-day runs: -7
Model's Last Updated: January 26 2025
image-segmentation

Introduction of BEN

Model Details of BEN

BEN - Background Erase Network (Beta Base Model)

BEN is a deep learning model designed to automatically remove backgrounds from images, producing both a mask and a foreground image.

Quick Start Code (Inside Cloned Repo)
import model
from PIL import Image
import torch


device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')

file = "./image.png" # input image

model = model.BEN_Base().to(device).eval() #init pipeline

model.loadcheckpoints("./BEN_Base.pth")
image = Image.open(file)
mask, foreground = model.inference(image)

mask.save("./mask.png")
foreground.save("./foreground.png")

BEN SOA Benchmarks on Disk 5k Eval

Demo Results

BEN_Base + BEN_Refiner (commercial model please contact us for more information):
  • MAE: 0.0283
  • DICE: 0.8976
  • IOU: 0.8430
  • BER: 0.0542
  • ACC: 0.9725
BEN_Base (94 million parameters):
  • MAE: 0.0331
  • DICE: 0.8743
  • IOU: 0.8301
  • BER: 0.0560
  • ACC: 0.9700
MVANet (old SOTA):
  • MAE: 0.0353
  • DICE: 0.8676
  • IOU: 0.8104
  • BER: 0.0639
  • ACC: 0.9660
BiRefNet(not tested in house):
  • MAE: 0.038
InSPyReNet (not tested in house):
  • MAE: 0.042
Features
  • Background removal from images
  • Generates both binary mask and foreground image
  • CUDA support for GPU acceleration
  • Simple API for easy integration
Installation
  1. Clone Repo
  2. Install requirements.txt

Runs of PramaLLC BEN on huggingface.co

53
Total runs
0
24-hour runs
3
3-day runs
2
7-day runs
-7
30-day runs

More Information About BEN huggingface.co Model

BEN huggingface.co

BEN huggingface.co is an AI model on huggingface.co that provides BEN's model effect (), which can be used instantly with this PramaLLC BEN model. huggingface.co supports a free trial of the BEN model, and also provides paid use of the BEN. Support call BEN model through api, including Node.js, Python, http.

PramaLLC BEN online free

BEN huggingface.co is an online trial and call api platform, which integrates BEN's modeling effects, including api services, and provides a free online trial of BEN, you can try BEN online for free by clicking the link below.

PramaLLC BEN online free url in huggingface.co:

https://huggingface.co/PramaLLC/BEN

BEN install

BEN is an open source model from GitHub that offers a free installation service, and any user can find BEN on GitHub to install. At the same time, huggingface.co provides the effect of BEN install, users can directly use BEN installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

BEN install url in huggingface.co:

https://huggingface.co/PramaLLC/BEN

Url of BEN

Provider of BEN huggingface.co

PramaLLC
ORGANIZATIONS

Other API from PramaLLC

huggingface.co

Total runs: 108.8K
Run Growth: 17.7K
Growth Rate: 16.28%
Updated:January 01 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 23 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:October 05 2024