Image Classification
Transformers
Safetensors
swin_b
generative-ai
medical-imaging
swin-transformer
breast-cancer
classification
Instructions to use keanteng/swin-v1-breast-cancer-classification-0716 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use keanteng/swin-v1-breast-cancer-classification-0716 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="keanteng/swin-v1-breast-cancer-classification-0716") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("keanteng/swin-v1-breast-cancer-classification-0716", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K