SE-ResNet-18

Hu et al., 2018 — Squeeze-and-Excitation Networks (arXiv:1709.01507)

Lucid port of timm/legacy_seresnet18.in1k, converted to Lucid-native safetensors.

Available weights

Tag acc@1 acc@5 Params GFLOPs Size Source
IN1K (default) 70.6 — 11.8M — 44.98 MB timm

Usage

import lucid.models as models
from lucid.models.weights import SEResNet18Weights

# default tag
model = models.se_resnet_18_cls(pretrained=True)

# explicit tag (enum or string)
model = models.se_resnet_18_cls(weights=SEResNet18Weights.IN1K)
model = models.se_resnet_18_cls(pretrained="IN1K")

# preprocessing travels with the weights
weights = SEResNet18Weights.IN1K
preprocess = weights.transforms()
logits = model(preprocess(image)[None]).logits

Conversion

Converted from timm/legacy_seresnet18.in1k via python -m tools.convert_weights se_resnet_18 --tag IN1K. Key mapping + numerical parity verified against the source.

License

apache-2.0 — inherited from the original weights.

Citation

@inproceedings{hu2018squeeze,
  title={Squeeze-and-Excitation Networks},
  author={Hu, Jie and Shen, Li and Sun, Gang},
  booktitle={CVPR}, year={2018}
}
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train lucid-dl/se-resnet-18

Paper for lucid-dl/se-resnet-18

Evaluation results