DINO ViT-S/16 — Image Embeddings
DINO learns visual representations without ImageNet class labels. EIDORA exposes a normalized feature vector from the small Vision Transformer instead of a classification output.
Recommended Use
Choose DINO to examine visual resemblance in a collection without relying on text–image alignment. It is a useful alternative to CLIP when you want to see whether images cluster by visual structure, composition or repeated forms. Comparing DINO with a supervised CNN can also show how the choice of representation changes a collection map.
Limitations
- DINO embeddings do not provide reliable object names or scene descriptions.
- This package uses a fixed 224 × 224 stretched image input; stretching can change an image’s aspect ratio.
- Similarity is influenced by visual features and training data, not by a confirmed historical or semantic interpretation.
Input
What you provide: an image file. EIDORA prepares RGB pixels before ONNX inference.
| ONNX input | Type | Shape | Prepared from |
|---|---|---|---|
pixel_values |
float32 |
[batch, 3, 224, 224] |
pixels |
Output
embedding is float32 with shape [batch, 384]. The 384-dimensional embedding is L2-normalized for cosine similarity. It is a feature vector, not ImageNet probabilities or a label.
Preprocessing
- Convert to RGB. Resize directly to 224 × 224 (
stretch). This does not preserve the original aspect ratio. Interpolation: bilinear. - Scale RGB pixel values by 0.00392156862745, then normalize by mean
[0.485, 0.456, 0.406]and standard deviation[0.229, 0.224, 0.225]. - Pass
float32pixels inNCHWlayout. The preprocessing is performed by EIDORA, not by the ONNX graph.
Model Source and Architecture
DINO ViT-S/16 is a small Vision Transformer with 16-pixel patches. EIDORA takes its encoder CLS-token representation (384 dimensions) and normalizes it for cosine-similarity comparisons.
Training Data and Checkpoint Provenance
- Upstream checkpoint:
facebook/dino-vits16. - Pinned revision:
abe3b354cb6a9b6f146096b14a4a9d7eecbcb4bd.
The upstream facebook/dino-vits16 model was pretrained in a self-supervised way on ImageNet-1K images. “IN1k” in the EIDORA name describes the source image set, not supervised use of ImageNet class labels for this checkpoint.
Research Context
Research paper: Emerging Properties in Self-Supervised Vision Transformers
Caron and colleagues showed that self-supervised Vision Transformers can learn useful image features without labelled classification training. DINO is relevant as a visual baseline distinct from both supervised CNNs and image–language models.
Attribution and Licensing
The upstream model and EIDORA package metadata list Apache-2.0. Please retain the required attribution and applicable notices when redistributing adapted weights.
References
- Research paper: Emerging Properties in Self-Supervised Vision Transformers
- Source checkpoint: facebook/dino-vits16
Suggested research citation (from the packaged configuration):
@inproceedings{caron2021emerging,
title={Emerging Properties in Self-Supervised Vision Transformers},
author={Caron, Mathilde and Touvron, Hugo and Misra, Ishan and Jegou, Herve and Mairal, Julien and Bojanowski, Piotr and Joulin, Armand},
booktitle={ICCV},
year={2021}
}
Package Information
- Repository:
EIDORA/DINO_ViTS16_IN1k - Package schema / version:
3/0.1.0 - Modality:
image - ONNX graph(s):
model.onnx - Configuration:
config.yaml - Declared ONNX Runtime providers:
CUDAExecutionProvider,CoreMLExecutionProvider,CPUExecutionProvider
Execution-provider availability depends on the user’s EIDORA installation, operating system and hardware. The declared providers are configuration options, not a guarantee of equal speed or identical hardware use. The config.yaml file defines the exact runtime input/output contract.
- Downloads last month
- 95
Model tree for EIDORA/DINO_ViTS16_IN1k
Base model
facebook/dino-vits16