ILSVRC/imagenet-1k
Viewer • Updated • 1.43M • 76.4k • 819
Hu et al., 2018 — Squeeze-and-Excitation Networks (arXiv:1709.01507)
Lucid port of timm/legacy_seresnet34.in1k,
converted to Lucid-native safetensors.
| Tag | acc@1 | acc@5 | Params | GFLOPs | Size | Source |
|---|---|---|---|---|---|---|
IN1K (default) |
73.31 | — | 22.0M | — | 83.86 MB | timm |
import lucid.models as models
from lucid.models.weights import SEResNet34Weights
# default tag
model = models.se_resnet_34_cls(pretrained=True)
# explicit tag (enum or string)
model = models.se_resnet_34_cls(weights=SEResNet34Weights.IN1K)
model = models.se_resnet_34_cls(pretrained="IN1K")
# preprocessing travels with the weights
weights = SEResNet34Weights.IN1K
preprocess = weights.transforms()
logits = model(preprocess(image)[None]).logits
Converted from timm/legacy_seresnet34.in1k via
python -m tools.convert_weights se_resnet_34 --tag IN1K.
Key mapping + numerical parity verified against the source.
apache-2.0 — inherited from the original weights.
@inproceedings{hu2018squeeze,
title={Squeeze-and-Excitation Networks},
author={Hu, Jie and Shen, Li and Sun, Gang},
booktitle={CVPR}, year={2018}
}