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

  • Log In
  • Sign Up

klhung
/
Swinv2_OCT

Image Classification
Transformers
Safetensors
swinv2
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use klhung/Swinv2_OCT with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="klhung/Swinv2_OCT")
    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("klhung/Swinv2_OCT")
    model = AutoModelForImageClassification.from_pretrained("klhung/Swinv2_OCT")
  • Notebooks
  • Google Colab
  • Kaggle
Swinv2_OCT
110 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
klhung's picture
klhung
Upload Swinv2ForImageClassification
b69cb77 verified 7 months ago
  • .gitattributes
    1.52 kB
    initial commit 7 months ago
  • README.md
    5.17 kB
    Upload Swinv2ForImageClassification 7 months ago
  • config.json
    1.2 kB
    Upload Swinv2ForImageClassification 7 months ago
  • model.safetensors
    110 MB
    xet
    Upload Swinv2ForImageClassification 7 months ago