VGG-16 IN1k — Image Embeddings
VGG-16 is a classic convolutional network with repeated small convolution filters. EIDORA exposes an intermediate 4,096-dimensional feature vector instead of ImageNet class probabilities.
Recommended Use
VGG-16 is useful as a historical CNN baseline for image comparison, particularly when you want to compare older fully connected features with the compact pooled features of ResNet or transformer-based encoders. It can help reveal whether similar-looking images group together under different visual representations.
Limitations
- VGG features were trained for ImageNet categories and are not a purpose-built similarity representation for archive materials.
- The network is comparatively large; it may be less practical for large collections or constrained hardware.
- Close embeddings do not imply the images share an author, subject identity, or original source.
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, 4096]. The 4096-dimensional embedding is L2-normalized for cosine similarity. It is a feature vector, not ImageNet probabilities or a label.
Preprocessing
- Convert to RGB. Resize the shorter edge to 256 pixels, then take a center crop of 224 × 224. Interpolation: bilinear. Resize rounding:
truncate. - 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
VGG-16 stacks 3 × 3 convolutions and ends with fully connected classifier layers. EIDORA returns the second fully connected layer after ReLU, giving a 4,096-dimensional normalized representation.
Training Data and Checkpoint Provenance
- Upstream checkpoint:
torchvision/vgg16-imagenet1k-v1. - Exact weights:
IMAGENET1K_V1.
The source weights are TorchVision VGG16_Weights.IMAGENET1K_V1, originally trained for supervised ImageNet-1K classification. No new training is declared for this EIDORA embedding adaptation.
Research Context
Research paper: Very Deep Convolutional Networks for Large-Scale Image Recognition
Simonyan and Zisserman showed that increased convolutional depth could improve image classification with a consistent small-filter design. This model provides a clear pre-transformer comparison point for visual collection analysis.
Attribution and Licensing
The package uses license: other. TorchVision’s code license is BSD-3-Clause, but it does not by itself resolve licensing of the pretrained weights or ImageNet source data. Refer to the original checkpoint terms before redistribution.
References
- Research paper: Very Deep Convolutional Networks for Large-Scale Image Recognition
- Source checkpoint: torchvision/vgg16-imagenet1k-v1
- Pretrained weights: IMAGENET1K_V1
Suggested research citation (from the packaged configuration):
@article{simonyan2014very,
title={Very Deep Convolutional Networks for Large-Scale Image Recognition},
author={Simonyan, Karen and Zisserman, Andrew},
journal={arXiv preprint arXiv:1409.1556},
year={2014}
}
Package Information
- Repository:
EIDORA/VGG16_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
- 87