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