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")# pip install -U transformers accelerate # 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,7 +5,7 @@ tags:
|
|
| 5 |
- vision
|
| 6 |
widget:
|
| 7 |
- src: >-
|
| 8 |
-
https://huggingface.co/pamixsun/swinv2_tiny_for_glaucoma_classification/
|
| 9 |
example_title: fundus image
|
| 10 |
---
|
| 11 |
# Model Card for Model ID
|
|
|
|
| 5 |
- vision
|
| 6 |
widget:
|
| 7 |
- src: >-
|
| 8 |
+
https://huggingface.co/pamixsun/swinv2_tiny_for_glaucoma_classification/resolve/main/example.jpg
|
| 9 |
example_title: fundus image
|
| 10 |
---
|
| 11 |
# Model Card for Model ID
|