Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

facebook
/
sapiens2-seg-1b

Image Segmentation
sapiens2
Safetensors
sapiens
Transformers
human-centric
seg
Model card Files Files and versions
xet
Community
4

Instructions to use facebook/sapiens2-seg-1b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sapiens2

    How to use facebook/sapiens2-seg-1b with sapiens2:

    # No code snippets available yet for this library.
    
    # To use this model, check the repository files and the library's documentation.
    
    # Want to help? PRs adding snippets are welcome at:
    # https://github.com/huggingface/huggingface.js
  • sapiens

    How to use facebook/sapiens2-seg-1b with sapiens:

    # No code snippets available yet for this library.
    
    # To use this model, check the repository files and the library's documentation.
    
    # Want to help? PRs adding snippets are welcome at:
    # https://github.com/huggingface/huggingface.js
  • Transformers

    How to use facebook/sapiens2-seg-1b with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-segmentation", model="facebook/sapiens2-seg-1b")
    # Load model directly
    from transformers import AutoImageProcessor, Sapiens2ForSemanticSegmentation
    
    processor = AutoImageProcessor.from_pretrained("facebook/sapiens2-seg-1b")
    model = Sapiens2ForSemanticSegmentation.from_pretrained("facebook/sapiens2-seg-1b")
  • Notebooks
  • Google Colab
  • Kaggle
sapiens2-seg-1b
11.8 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 8 commits
rawalkhirodkar's picture
rawalkhirodkar
guarin's picture
guarin HF Staff
Update library to sapiens2 and add transformers tag (#4)
60cf0b3 3 days ago
  • .gitattributes
    1.52 kB
    initial commit about 2 months ago
  • README.md
    3.44 kB
    Update library to sapiens2 and add transformers tag (#4) 3 days ago
  • config.json
    4.29 kB
    Add HF-compatible model.safetensors, config.json, and preprocessor_config.json (#3) 15 days ago
  • model.safetensors
    5.88 GB
    xet
    Add HF-compatible model.safetensors, config.json, and preprocessor_config.json (#1) 16 days ago
  • preprocessor_config.json
    476 Bytes
    Add HF-compatible model.safetensors, config.json, and preprocessor_config.json (#1) 16 days ago
  • sapiens2_1b_seg.safetensors
    5.88 GB
    xet
    Upload sapiens2_1b_seg.safetensors with huggingface_hub about 2 months ago