Image Segmentation
Transformers
PyTorch
ONNX
Safetensors
Transformers.js
remove background
background
background-removal
Pytorch
vision
legal liability
custom_code
Instructions to use briaai/RMBG-2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use briaai/RMBG-2.0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="briaai/RMBG-2.0", trust_remote_code=True)# Load model directly from transformers import AutoModelForImageSegmentation model = AutoModelForImageSegmentation.from_pretrained("briaai/RMBG-2.0", trust_remote_code=True, dtype="auto") - Transformers.js
How to use briaai/RMBG-2.0 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-segmentation', 'briaai/RMBG-2.0'); - Inference
- Notebooks
- Google Colab
- Kaggle
Create model
#49 opened 2 days ago
by
KhanNouman1
Issue with transformers 5
1
#47 opened about 2 months ago
by
ansat7
Peacock Test
3
#45 opened 2 months ago
by
aoiandroid
RMBG-2.0 new API Sandbox!!
#44 opened 3 months ago
by
ukosem7
RuntimeError: This model introduces a custom pipeline without specifying its implementation.
#43 opened 3 months ago
by
keshav-writes-code
'Config' object has no attribute 'is_encoder_decoder' -
4
#39 opened 8 months ago
by
bonticario
issue with new transformer
👀 3
3
#38 opened 9 months ago
by
ABDALLALSWAITI
Accuracy Problems
#37 opened 10 months ago
by
agamemnusdev
Could you introduce the inference speed and accuracy of each model in ONNX?
#36 opened 10 months ago
by
avijemrq
dasdas
#34 opened 12 months ago
by
redenvelope
from_pretrained()
4
#33 opened 12 months ago
by
vittjet
Delete README.md
#31 opened about 1 year ago
by
ALIMHGFY
Delete README.md
#30 opened about 1 year ago
by
ALIMHGFY
Request: DOI
1
#29 opened about 1 year ago
by
z1nich
Auto-Approval Gated
1
#28 opened about 1 year ago
by
MishaF
How to train on my custom dataset
👀🔥 2
4
#27 opened about 1 year ago
by
ndkhanh95
Pixel art : bad results ?
4
#26 opened about 1 year ago
by
jycs
about infer image size
2
#25 opened about 1 year ago
by
liu00
Using RMBG-2.0 in removal-background pipeline with Transformers.js
3
#24 opened about 1 year ago
by
LuSRodri
Load the pipeline
1
#21 opened about 1 year ago
by
utshohoque
Model fails to load using Transformers 4.49.0
🔥 4
4
#20 opened about 1 year ago
by
alexsafayan
Delete t4.png
1
#19 opened over 1 year ago
by
MHND46943
No module named 'transformers_modules.RMBG-2'
7
#18 opened over 1 year ago
by
Jason9301
Possible to include onnx model that supports dynamic batching ?
2
#16 opened over 1 year ago
by
a0g04p1
transformers.js
3
#12 opened over 1 year ago
by
micoworld