Instructions to use nielsr/dino_vitb16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nielsr/dino_vitb16 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="nielsr/dino_vitb16")# Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("nielsr/dino_vitb16") model = AutoModel.from_pretrained("nielsr/dino_vitb16") - Notebooks
- Google Colab
- Kaggle
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
I've converted the DINO checkpoints from the official repo:
You can use it as follows:
from transformers import ViTModel
model = ViTModel.from_pretrained("nielsr/dino_vitb16", add_pooling_layer=False)
- Downloads last month
- 5
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support