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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

facebook
/
sam2.1-hiera-large

Mask Generation
Transformers
Safetensors
sam2_video
feature-extraction
Model card Files Files and versions
xet
Community
5

Instructions to use facebook/sam2.1-hiera-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use facebook/sam2.1-hiera-large with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("mask-generation", model="facebook/sam2.1-hiera-large")
    # Load model directly
    from transformers import AutoProcessor, AutoModel
    
    processor = AutoProcessor.from_pretrained("facebook/sam2.1-hiera-large")
    model = AutoModel.from_pretrained("facebook/sam2.1-hiera-large")
  • Notebooks
  • Google Colab
  • Kaggle
sam2.1-hiera-large
898 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 3 commits
Soodoo's picture
Soodoo
Update Readme
61d77ac verified about 1 year ago
  • .gitattributes
    1.52 kB
    Initial commit almost 2 years ago
  • README.md
    2.18 kB
    Update Readme about 1 year ago
  • sam2.1_hiera_l.yaml
    3.8 kB
    Initial commit almost 2 years ago
  • sam2.1_hiera_large.pt
    898 MB
    xet
    Initial commit almost 2 years ago