Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

microsoft
/
swin-large-patch4-window7-224

Image Classification
Transformers
PyTorch
google-tensorflow TensorFlow
swin
vision
Model card Files Files and versions
xet
Community
1

Instructions to use microsoft/swin-large-patch4-window7-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use microsoft/swin-large-patch4-window7-224 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="microsoft/swin-large-patch4-window7-224")
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForImageClassification
    
    processor = AutoImageProcessor.from_pretrained("microsoft/swin-large-patch4-window7-224")
    model = AutoModelForImageClassification.from_pretrained("microsoft/swin-large-patch4-window7-224")
  • Notebooks
  • Google Colab
  • Kaggle
swin-large-patch4-window7-224
1.57 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 7 commits
amyeroberts's picture
amyeroberts
Add TF model
d433db8 almost 4 years ago
  • .gitattributes
    1.18 kB
    initial commit over 4 years ago
  • README.md
    3.7 kB
    Create README.md over 4 years ago
  • config.json
    71.8 kB
    Upload config.json over 4 years ago
  • preprocessor_config.json
    255 Bytes
    Update preprocessor_config.json over 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    787 MB
    xet
    Upload pytorch_model.bin with git-lfs over 4 years ago
  • tf_model.h5
    787 MB
    xet
    Add TF model almost 4 years ago