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

ductai199x
/
sam_hq_vit_large

Mask Generation
Transformers
Safetensors
sam_hq
custom_code
Model card Files Files and versions
xet
Community

Instructions to use ductai199x/sam_hq_vit_large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ductai199x/sam_hq_vit_large with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("mask-generation", model="ductai199x/sam_hq_vit_large", trust_remote_code=True)
    # Load model directly
    from transformers import AutoProcessor, AutoModelForMaskGeneration
    
    processor = AutoProcessor.from_pretrained("ductai199x/sam_hq_vit_large", trust_remote_code=True)
    model = AutoModelForMaskGeneration.from_pretrained("ductai199x/sam_hq_vit_large", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
sam_hq_vit_large
1.25 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
ductai199x's picture
ductai199x
add files
3189e16 almost 2 years ago
  • .gitattributes
    1.52 kB
    add files almost 2 years ago
  • .gitignore
    15 Bytes
    add files almost 2 years ago
  • README.md
    488 Bytes
    add files almost 2 years ago
  • __init__.py
    0 Bytes
    add files almost 2 years ago
  • config.json
    876 Bytes
    add files almost 2 years ago
  • configuration_sam_hq.py
    120 Bytes
    add files almost 2 years ago
  • convert_sam_hq_to_hf.py
    5.62 kB
    add files almost 2 years ago
  • model.safetensors
    1.25 GB
    xet
    add files almost 2 years ago
  • modeling_sam_hq.py
    69.1 kB
    add files almost 2 years ago
  • preprocessor_config.json
    663 Bytes
    add files almost 2 years ago