Image Segmentation
Transformers
PyTorch
ONNX
Safetensors
Transformers.js
SegformerForSemanticSegmentation
remove background
background
background-removal
Pytorch
vision
legal liability
custom_code
Instructions to use briaai/RMBG-1.4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use briaai/RMBG-1.4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="briaai/RMBG-1.4", trust_remote_code=True)# Load model directly from transformers import AutoModelForImageSegmentation model = AutoModelForImageSegmentation.from_pretrained("briaai/RMBG-1.4", trust_remote_code=True, dtype="auto") - Transformers.js
How to use briaai/RMBG-1.4 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-segmentation', 'briaai/RMBG-1.4'); - Notebooks
- Google Colab
- Kaggle
📋 Documentation Enhancement Suggestion
#57 opened 3 months ago
by
CroviaTrust
📋 Documentation Enhancement Suggestion
#56 opened 3 months ago
by
CroviaTrust
The model is now added to WebAI.js. Run it in your browser with no code required.
🔥 2
#55 opened 6 months ago
by
AxolsWebAI
Fix: Add missing imports and URL image loading in example code
1
#53 opened 11 months ago
by
anon-repair-bot
🚩 Report: Ethical issue(s)
#47 opened over 1 year ago
by
xu1234589
Requesting open-source training code
1
#41 opened almost 2 years ago
by
demo001s
Assistance Needed with RMBG 1.4 Local Setup and Photoshop Integration
10
#40 opened almost 2 years ago
by
alihaidersheikh
Is it possible to maintain smooth processing when handling a sequence of images
1
#39 opened almost 2 years ago
by
wuomzfx
chinese-support
#38 opened almost 2 years ago
by
Miykaelxxm
variable = model_input_size ?
🔥 1
2
#36 opened almost 2 years ago
by
Oyounghyun
🚩 Report: Ethical issue(s)
🤯 1
#35 opened almost 2 years ago
by
ouxiaoda
Edge segmentation still needs improvement
➕ 2
#34 opened almost 2 years ago
by
koutu
Running the onnx model on GPU
👀 1
#33 opened about 2 years ago
by
colosimo98
How to run onnx model inference?
1
#32 opened about 2 years ago
by
nived2
myconfig
2
#31 opened about 2 years ago
by
linbiao666
skimage library was missed
4
#30 opened about 2 years ago
by
halilibr
What's the detailed steps of "load the model" in Usage section?
➕ 1
#29 opened about 2 years ago
by
wzx1229
The size of tensor a (4) must match the size of tensor b (3) at non-singleton dimension 1
1
#28 opened about 2 years ago
by
DarkCava1
missing dependencies
1
#27 opened about 2 years ago
by
bikekowal
Rmbg1.4 background removal is not clean
#26 opened about 2 years ago
by
yanhx
No module named 'transformers_modules.briaai.RMBG-1'
1
#25 opened about 2 years ago
by
chenmiao
What I do wrong?
1
#24 opened about 2 years ago
by
Sergio95
[DO_NOT_MERGE - TESTING] Upload ONNX weights (dynamic shapes)
#20 opened about 2 years ago
by
Xenova
Is there any way to train with custom data?
4
#14 opened about 2 years ago
by
Kyle-Planningo
Do we have the config.json for the model?
2
#13 opened about 2 years ago
by
katanaxu
What should be the file (image) size?
4
#12 opened about 2 years ago
by
minahil5757
Upload 60x60.jpg
#10 opened over 2 years ago
by
Chipinkos