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

chendelong
/
DirectSAM-1800px-0424

Image Segmentation
Transformers
Safetensors
segformer
boundary detection
edge estimation
image segmentation
Model card Files Files and versions
xet
Community

Instructions to use chendelong/DirectSAM-1800px-0424 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use chendelong/DirectSAM-1800px-0424 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-segmentation", model="chendelong/DirectSAM-1800px-0424")
    # Load model directly
    from transformers import AutoImageProcessor, SegformerForSemanticSegmentation
    
    processor = AutoImageProcessor.from_pretrained("chendelong/DirectSAM-1800px-0424")
    model = SegformerForSemanticSegmentation.from_pretrained("chendelong/DirectSAM-1800px-0424")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
DirectSAM-1800px-0424
339 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
chendelong's picture
chendelong
Update README.md
aebea75 verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    1.63 kB
    Update README.md about 2 years ago
  • config.json
    1.09 kB
    Upload SegformerForSemanticSegmentation about 2 years ago
  • model.safetensors
    339 MB
    xet
    Upload SegformerForSemanticSegmentation about 2 years ago
  • preprocessor_config.json
    273 Bytes
    Upload preprocessor_config.json about 2 years ago