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)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForImageSegmentation model = AutoModelForImageSegmentation.from_pretrained("briaai/RMBG-1.4", trust_remote_code=True, device_map="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
Update README.md
Browse files
README.md
CHANGED
|
@@ -43,7 +43,7 @@ Developed by BRIA AI, RMBG v1.4 is available as an open-source model for non-com
|
|
| 43 |
- The model is released under an open-source license for non-commercial use.
|
| 44 |
- Commercial use is subject to a commercial agreement with BRIA. [Contact Us](https://bria.ai/contact-us) for more information.
|
| 45 |
|
| 46 |
-
- **Model Description:** BRIA RMBG 1.4 is
|
| 47 |
- **BRIA:** Resources for more information: [BRIA AI](https://bria.ai/)
|
| 48 |
|
| 49 |
|
|
|
|
| 43 |
- The model is released under an open-source license for non-commercial use.
|
| 44 |
- Commercial use is subject to a commercial agreement with BRIA. [Contact Us](https://bria.ai/contact-us) for more information.
|
| 45 |
|
| 46 |
+
- **Model Description:** BRIA RMBG 1.4 is a saliency segmentation model trained exclusively on a professional-grade dataset.
|
| 47 |
- **BRIA:** Resources for more information: [BRIA AI](https://bria.ai/)
|
| 48 |
|
| 49 |
|