Instructions to use facebook/dino-vits8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/dino-vits8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="facebook/dino-vits8")# Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("facebook/dino-vits8") model = AutoModel.from_pretrained("facebook/dino-vits8") - Notebooks
- Google Colab
- Kaggle
change feature_extractor_type to image_processor_type in preprocessor_config.json
#3 opened about 2 years ago
by
abhaymathur21