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

mattmdjaga
/
segformer_b0_clothes

Image Segmentation
Transformers
PyTorch
Safetensors
segformer
vision
Model card Files Files and versions
xet
Community
2

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

  • Libraries
  • Transformers

    How to use mattmdjaga/segformer_b0_clothes with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-segmentation", model="mattmdjaga/segformer_b0_clothes")
    # Load model directly
    from transformers import AutoImageProcessor, SegformerForSemanticSegmentation
    
    processor = AutoImageProcessor.from_pretrained("mattmdjaga/segformer_b0_clothes")
    model = SegformerForSemanticSegmentation.from_pretrained("mattmdjaga/segformer_b0_clothes")
  • Notebooks
  • Google Colab
  • Kaggle
segformer_b0_clothes
Ctrl+K
Ctrl+K
  • 2 contributors
History: 9 commits
mattmdjaga's picture
mattmdjaga
Update README.md
7142c7f almost 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    1.56 kB
    Update README.md almost 3 years ago
  • config.json
    1.75 kB
    Upload SegformerForSemanticSegmentation about 3 years ago
  • handler.py
    1.54 kB
    Create handler.py about 3 years ago
  • model.safetensors
    14.9 MB
    xet
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • preprocessor_config.json
    271 Bytes
    Create preprocessor_config.json about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.LongStorage",
    • "torch.FloatStorage"

    What is a pickle import?

    14.9 MB
    xet
    Upload SegformerForSemanticSegmentation about 3 years ago