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