not-lain / CustomCodeForRMBG

huggingface.co
Total runs: 8
24-hour runs: 1
7-day runs: -2
30-day runs: 1
Model's Last Updated: February 18 2024
image-segmentation

Introduction of CustomCodeForRMBG

Model Details of CustomCodeForRMBG

How to use

either load the model

from transformers import AutoModelForImageSegmentation
model = AutoModelForImageSegmentation.from_pretrained("briaai/RMBG-1.4",revision ="refs/pr/9",trust_remote_code=True)

or load the pipeline

from transformers import pipeline

pipe = pipeline("image-segmentation", model="briaai/RMBG-1.4",revision ="refs/pr/9", trust_remote_code=True)

numpy_mask = pipe("img_path") # outputs numpy mask

pipe("image_path",out_name="myout.png") # applies mask and saves the extracted image as `myout.png`

parameters :

for the pipeline you can use the following parameters :

  • model_input_size : default to [1024,1024]
  • out_name : if specified it will use the numpy mask to extract the image and save it using the out_name
  • preprocess_image : original method created by briaai
  • postprocess_image : original method created by briaai

disclamer

I do not own, distribute or take credit for this model.

All rights belong to briaai

This repo is a temporary one to test out the custom architecture for RMBG-1.4 , please do refer to the original model.

Runs of not-lain CustomCodeForRMBG on huggingface.co

8
Total runs
1
24-hour runs
0
3-day runs
-2
7-day runs
1
30-day runs

More Information About CustomCodeForRMBG huggingface.co Model

CustomCodeForRMBG huggingface.co

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

CustomCodeForRMBG huggingface.co Url

https://huggingface.co/not-lain/CustomCodeForRMBG

not-lain CustomCodeForRMBG online free

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

not-lain CustomCodeForRMBG online free url in huggingface.co:

https://huggingface.co/not-lain/CustomCodeForRMBG

CustomCodeForRMBG install

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

CustomCodeForRMBG install url in huggingface.co:

https://huggingface.co/not-lain/CustomCodeForRMBG

Url of CustomCodeForRMBG

CustomCodeForRMBG huggingface.co Url

Provider of CustomCodeForRMBG huggingface.co

not-lain
ORGANIZATIONS

Other API from not-lain

huggingface.co

Total runs: 54
Run Growth: 28
Growth Rate: 51.85%
Updated:January 29 2024
huggingface.co

Total runs: 16
Run Growth: 5
Growth Rate: 31.25%
Updated:April 22 2024
huggingface.co

Total runs: 13
Run Growth: 9
Growth Rate: 69.23%
Updated:June 20 2024
huggingface.co

Total runs: 13
Run Growth: 10
Growth Rate: 76.92%
Updated:October 13 2024
huggingface.co

Total runs: 11
Run Growth: 7
Growth Rate: 63.64%
Updated:July 28 2024
huggingface.co

Total runs: 11
Run Growth: -28
Growth Rate: -254.55%
Updated:December 07 2024
huggingface.co

Total runs: 10
Run Growth: 10
Growth Rate: 100.00%
Updated:September 16 2024
huggingface.co

Total runs: 10
Run Growth: -3
Growth Rate: -30.00%
Updated:January 16 2024
huggingface.co

Total runs: 8
Run Growth: -9
Growth Rate: -112.50%
Updated:January 13 2024
huggingface.co

Total runs: 8
Run Growth: 5
Growth Rate: 62.50%
Updated:June 29 2024
huggingface.co

Total runs: 6
Run Growth: 4
Growth Rate: 66.67%
Updated:March 13 2026
huggingface.co

Total runs: 6
Run Growth: 1
Growth Rate: 16.67%
Updated:February 23 2024
huggingface.co

Total runs: 5
Run Growth: 0
Growth Rate: 0.00%
Updated:November 05 2024
huggingface.co

Total runs: 4
Run Growth: -1
Growth Rate: -25.00%
Updated:March 28 2024
huggingface.co

Total runs: 4
Run Growth: 4
Growth Rate: 100.00%
Updated:June 19 2024
huggingface.co

Total runs: 4
Run Growth: 0
Growth Rate: 0.00%
Updated:November 05 2024
huggingface.co

Total runs: 4
Run Growth: 2
Growth Rate: 50.00%
Updated:August 25 2024
huggingface.co

Total runs: 4
Run Growth: 0
Growth Rate: 0.00%
Updated:March 09 2025
huggingface.co

Total runs: 3
Run Growth: 0
Growth Rate: 0.00%
Updated:February 12 2024
huggingface.co

Total runs: 3
Run Growth: 3
Growth Rate: 100.00%
Updated:March 09 2025
huggingface.co

Total runs: 2
Run Growth: -3
Growth Rate: -150.00%
Updated:April 18 2024
huggingface.co

Total runs: 2
Run Growth: 0
Growth Rate: 0.00%
Updated:March 22 2024
huggingface.co

Total runs: 2
Run Growth: -2
Growth Rate: -100.00%
Updated:March 01 2024
huggingface.co

Total runs: 2
Run Growth: -2
Growth Rate: -100.00%
Updated:September 23 2024
huggingface.co

Total runs: 2
Run Growth: -5
Growth Rate: -250.00%
Updated:March 31 2025
huggingface.co

Total runs: 1
Run Growth: 1
Growth Rate: 100.00%
Updated:April 12 2024
huggingface.co

Total runs: 1
Run Growth: -3
Growth Rate: -300.00%
Updated:March 13 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 05 2025
huggingface.co

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

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 30 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 21 2024