Views
No views yet
Xie et al., 2017 — Aggregated Residual Transformations for Deep Neural Networks (arXiv:1611.05431)
torchvision/ResNeXt50_32X4D_Weights.IMAGENET1K_V2,
converted to Lucid-native safetensors.| Tag | acc@1 | acc@5 | Params | GFLOPs | Size | Source |
|---|---|---|---|---|---|---|
IMAGENET1K_V2 (default) | 81.198 | 95.34 | 25.0M | 4.23 | 95.77 MB | torchvision |
1import lucid.models as models
2from lucid.models.weights import ResNeXt50_32x4dWeights
3
4# default tag
5model = models.resnext_50_32x4d_cls(pretrained=True)
6
7# explicit tag (enum or string)
8model = models.resnext_50_32x4d_cls(weights=ResNeXt50_32x4dWeights.IMAGENET1K_V2)
9model = models.resnext_50_32x4d_cls(pretrained="IMAGENET1K_V2")
10
11# preprocessing travels with the weights
12weights = ResNeXt50_32x4dWeights.IMAGENET1K_V2
13preprocess = weights.transforms()
14logits = model(preprocess(image)[None]).logitstorchvision/ResNeXt50_32X4D_Weights.IMAGENET1K_V2 via
python -m tools.convert_weights resnext_50_32x4d --tag IMAGENET1K_V2.
Key mapping + numerical parity verified against the source.bsd-3-clause — inherited from the original weights.@inproceedings{xie2017aggregated,
title={Aggregated Residual Transformations for Deep Neural Networks},
author={Xie, Saining and Girshick, Ross and Doll{\'a}r, Piotr and Tu, Zhuowen and He, Kaiming},
booktitle={CVPR}, year={2017}
}