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

  1. Convert to RGB. Resize the shorter edge to 256 pixels, then take a center crop of 224 × 224. Interpolation: bilinear. Resize rounding: truncate.
  2. 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].
  3. Pass float32 pixels in NCHW layout. 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

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

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
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including EIDORA/VGG16_IN1k

Paper for EIDORA/VGG16_IN1k