resnest_14_cls(pretrained: bool = False, overrides: object = {})ResNeSt-14 image classifier (backbone + GAP + linear head).
Builds a ResNeStForImageClassification with the
ResNeSt-14 backbone (block repeats [1, 1, 1, 1]) followed
by global average pooling and a linear projection to
config.num_classes (default 1000 for ImageNet-1k).
Approximately 10.6M parameters — the lightweight variant of
the ResNeSt family.
Model Size
Parameters
pretrainedbool= FalseReserved for future pretrained-weight loading. Currently
ignored.
**overridesobject= {}Keyword overrides forwarded into
ResNeStConfig.Returns
ResNeStForImageClassificationClassifier with the ResNeSt-14 configuration applied (or
with overrides merged on top of it).
Notes
See Zhang et al., "ResNeSt: Split-Attention Networks", CVPR Workshops 2022 (arXiv:2004.08955).
Examples
>>> import lucid
>>> from lucid.models.vision.resnest import resnest_14_cls
>>> model = resnest_14_cls(num_classes=10)
>>> x = lucid.randn(2, 3, 224, 224)
>>> out = model(x)
>>> out.logits.shape
(2, 10)