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

  • Log In
  • Sign Up

amartyasaran
/
SwinCXR

Image Classification
Transformers
Safetensors
swin_cxr
custom_code
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use amartyasaran/SwinCXR with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="amartyasaran/SwinCXR", trust_remote_code=True)
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # Load model directly
    from transformers import AutoModelForImageClassification
    model = AutoModelForImageClassification.from_pretrained("amartyasaran/SwinCXR", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
SwinCXR
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
amartyasaran's picture
amartyasaran
Upload model
0e4b91d verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    5.17 kB
    Upload model over 1 year ago
  • SwinCXRConfig.py
    437 Bytes
    Upload model over 1 year ago
  • SwinModelForCXRClassification.py
    4.17 kB
    Upload model over 1 year ago
  • config.json
    440 Bytes
    Upload model over 1 year ago
  • model.safetensors
    2.94 MB
    xet
    Upload model over 1 year ago