Instructions to use facebook/dinov2-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/dinov2-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="facebook/dinov2-base")# Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("facebook/dinov2-base") model = AutoModel.from_pretrained("facebook/dinov2-base") - Notebooks
- Google Colab
- Kaggle
if this model is same as ViT-B/14 distilled[release by meta]?
#13
by jiujiang-raozhi - opened
if this model is same as ViT-B/14 distilled[release by meta]?
Hi,
Yes, this model corresponds to ViT-B/14 distilled without register tokens.
For the equivalent one with register tokens, see https://huggingface.co/facebook/dinov2-with-registers-base.
ok, copy that. thanks!