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

phungpx
/
mask2former-swin-base-cubicassa

Image Segmentation
Transformers
Safetensors
mask2former
instance-segmentation
vision
cubicasa5k
floor-plan
Model card Files Files and versions
xet
Community

Instructions to use phungpx/mask2former-swin-base-cubicassa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use phungpx/mask2former-swin-base-cubicassa with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-segmentation", model="phungpx/mask2former-swin-base-cubicassa")
    # Load model directly
    from transformers import AutoImageProcessor, Mask2FormerForUniversalSegmentation
    
    processor = AutoImageProcessor.from_pretrained("phungpx/mask2former-swin-base-cubicassa")
    model = Mask2FormerForUniversalSegmentation.from_pretrained("phungpx/mask2former-swin-base-cubicassa", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
mask2former-swin-base-cubicassa
428 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
phungpx's picture
phungpx
Upload README.md with huggingface_hub
2c7ab6d verified 3 months ago
  • samples
    Upload samples/predictions.png with huggingface_hub 3 months ago
  • .gitattributes
    1.58 kB
    Upload samples/predictions.png with huggingface_hub 3 months ago
  • README.md
    2.21 kB
    Upload README.md with huggingface_hub 3 months ago
  • config.json
    2.48 kB
    Upload Mask2FormerForUniversalSegmentation 3 months ago
  • model.safetensors
    428 MB
    xet
    Upload Mask2FormerForUniversalSegmentation 3 months ago
  • preprocessor_config.json
    417 Bytes
    Upload processor 3 months ago