AlexNet IN1k β Image Embeddings
AlexNet is an early convolutional neural network for ImageNet image classification. This package returns features from an intermediate classifier layer rather than an ImageNet class prediction.
Recommended Use
Use AlexNet as a simple, recognizable image baseline. It is helpful when you want to see how an older CNN groups images before comparing that result with newer representations from ResNet-50, DINO or CLIP. It can highlight broad differences in visual appearance, but the reasons behind close embeddings still need to be checked against the images.
Limitations
- It is not a specialist model for artworks, archival photographs, or document images.
- ImageNet-oriented features may favor familiar object appearances rather than the historical or cultural categories of interest.
- The exported output is an embedding, not an object label, authorship judgment, or explanation of similarity.
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
The classic AlexNet network uses convolutional layers followed by fully connected layers. EIDORA extracts the second fully connected layer after its ReLU activation (4,096 features), rather than the final 1,000-class output.
Training Data and Checkpoint Provenance
- Upstream checkpoint:
torchvision/alexnet-imagenet1k-v1. - Exact weights:
IMAGENET1K_V1.
The exact TorchVision weight variant is IMAGENET1K_V1, trained for supervised ImageNet-1K image classification. EIDORA uses the pretrained features; the package does not declare further fine-tuning.
Research Context
Research paper: ImageNet Classification with Deep Convolutional Neural Networks
Krizhevsky, Sutskever and Hinton established AlexNet as an influential deep-convolutional baseline for large-scale image recognition. Its age is part of its value here: it provides a clear comparison point against later representation methods.
Attribution and Licensing
The configuration uses license: other. TorchVision software is released under BSD-3-Clause, but that software license alone should not be read as a confirmed license for every pretrained weight file. Consult the checkpoint source and applicable dataset terms before redistribution or reuse.
References
- Research paper: ImageNet Classification with Deep Convolutional Neural Networks
- Source checkpoint: torchvision/alexnet-imagenet1k-v1
- Pretrained weights: IMAGENET1K_V1
Suggested research citation (from the packaged configuration):
@inproceedings{krizhevsky2012imagenet,
title={ImageNet Classification with Deep Convolutional Neural Networks},
author={Krizhevsky, Alex and Sutskever, Ilya and Hinton, Geoffrey E.},
booktitle={Advances in Neural Information Processing Systems},
year={2012}
}
Package Information
- Repository:
EIDORA/AlexNet_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