Instructions to use pamixsun/swinv2_tiny_for_glaucoma_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pamixsun/swinv2_tiny_for_glaucoma_classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="pamixsun/swinv2_tiny_for_glaucoma_classification") 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("pamixsun/swinv2_tiny_for_glaucoma_classification") model = AutoModelForImageClassification.from_pretrained("pamixsun/swinv2_tiny_for_glaucoma_classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
71e375b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:95cfbbc74cee50346361f456d2a43293ac15c91d575e53999ba268659ab271ea
size 110405153
|