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