briaai / VRMBG-2.0

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: 12월 11 2025

Introduction of VRMBG-2.0

Model Details of VRMBG-2.0

Requirements
torch
torchvision
pillow
kornia
transformers
Usage
from PIL import Image
import torch
from torchvision import transforms
from transformers import AutoModelForImageSegmentation

# load model
device = 'cuda' if torch.cuda.is_available() else 'cpu'
model = AutoModelForImageSegmentation.from_pretrained('briaai/VRMBG-2.0', trust_remote_code=True).eval().half().to(device)
model = torch.compile(model, dynamic=False, backend="inductor")

# Data settings
image_size = (1024, 1024)
transform_image = transforms.Compose([
    transforms.Resize(image_size),
    transforms.ToTensor(),
    transforms.Normalize([0.485, 0.456, 0.406], [0.229, 0.224, 0.225])
])

# load inputs
image_prev_frame_path = "" # fill path
image_current_frame_path = "" # fill path
image_prev_frame = Image.open(image_prev_frame_path)
image_current_frame = Image.open(image_current_frame_path)
input_frames = torch.cat([transform_image(image_prev_frame), transform_image(image_current_frame)], dim=0)
input_frames = input_frames.unsqueeze(0).to(device).half()

# Prediction
with torch.no_grad():
    preds = model(input_frames).cpu()
pred = preds[0].squeeze()
pred_pil = transforms.ToPILImage()(pred)
mask = pred_pil.resize(image_current_frame.size)

# save result
image_current_frame.putalpha(mask)
image_current_frame.save("image_current_frame_no_background.png")

Runs of briaai VRMBG-2.0 on huggingface.co

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

More Information About VRMBG-2.0 huggingface.co Model

VRMBG-2.0 huggingface.co

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

VRMBG-2.0 huggingface.co Url

https://huggingface.co/briaai/VRMBG-2.0

briaai VRMBG-2.0 online free

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

briaai VRMBG-2.0 online free url in huggingface.co:

https://huggingface.co/briaai/VRMBG-2.0

VRMBG-2.0 install

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

VRMBG-2.0 install url in huggingface.co:

https://huggingface.co/briaai/VRMBG-2.0

Url of VRMBG-2.0

VRMBG-2.0 huggingface.co Url

Provider of VRMBG-2.0 huggingface.co

briaai
ORGANIZATIONS

Other API from briaai

huggingface.co

Total runs: 384.5K
Run Growth: -237.5K
Growth Rate: -61.76%
Updated:4월 06 2026
huggingface.co

Total runs: 257.9K
Run Growth: -90.6K
Growth Rate: -35.11%
Updated:7월 06 2025
huggingface.co

Total runs: 2.8K
Run Growth: -1.4K
Growth Rate: -51.31%
Updated:10월 29 2025
huggingface.co

Total runs: 734
Run Growth: -244
Growth Rate: -33.24%
Updated:7월 05 2026
huggingface.co

Total runs: 548
Run Growth: -544
Growth Rate: -99.27%
Updated:8월 18 2026
huggingface.co

Total runs: 479
Run Growth: -506
Growth Rate: -93.01%
Updated:9월 09 2026
huggingface.co

Total runs: 243
Run Growth: -381
Growth Rate: -156.79%
Updated:1월 30 2026
huggingface.co

Total runs: 235
Run Growth: 0
Growth Rate: 0.00%
Updated:5월 12 2024
huggingface.co

Total runs: 214
Run Growth: 127
Growth Rate: 59.35%
Updated:9월 05 2026
huggingface.co

Total runs: 135
Run Growth: 85
Growth Rate: 62.96%
Updated:9월 01 2025
huggingface.co

Total runs: 131
Run Growth: 0
Growth Rate: 0.00%
Updated:8월 04 2024
huggingface.co

Total runs: 104
Run Growth: 39
Growth Rate: 37.50%
Updated:10월 16 2025
huggingface.co

Total runs: 73
Run Growth: 13
Growth Rate: 17.81%
Updated:1월 15 2026
huggingface.co

Total runs: 46
Run Growth: 0
Growth Rate: 0.00%
Updated:5월 12 2024
huggingface.co

Total runs: 35
Run Growth: 0
Growth Rate: 0.00%
Updated:10월 21 2026
huggingface.co

Total runs: 30
Run Growth: 0
Growth Rate: 0.00%
Updated:3월 13 2024
huggingface.co

Total runs: 28
Run Growth: 28
Growth Rate: 100.00%
Updated:4월 10 2025
huggingface.co

Total runs: 9
Run Growth: -6
Growth Rate: -66.67%
Updated:6월 11 2025
huggingface.co

Total runs: 4
Run Growth: 0
Growth Rate: 0.00%
Updated:11월 19 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:3월 18 2024
huggingface.co

Total runs: 0
Run Growth: -2
Growth Rate: 0.00%
Updated:4월 10 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:4월 08 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:7월 16 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:3월 25 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:8월 19 2026