Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

not-lain
/
CustomCodeForRMBG

Image Segmentation
Transformers
SegformerForSemanticSegmentation
custom_code
Model card Files Files and versions
xet
Community
2

Instructions to use not-lain/CustomCodeForRMBG with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use not-lain/CustomCodeForRMBG with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-segmentation", model="not-lain/CustomCodeForRMBG", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModelForImageSegmentation
    model = AutoModelForImageSegmentation.from_pretrained("not-lain/CustomCodeForRMBG", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
CustomCodeForRMBG
19.7 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
not-lain's picture
not-lain
Delete model.safetensors
b6e0d97 verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • MyConfig.py
    327 Bytes
    Upload BriaRMBG about 2 years ago
  • MyPipe.py
    2.88 kB
    push pipeline using my custom method about 2 years ago
  • README.md
    1.25 kB
    Update README.md about 2 years ago
  • briarmbg.py
    13.1 kB
    Upload BriaRMBG about 2 years ago
  • config.json
    615 Bytes
    push pipeline using my custom method about 2 years ago