All models

resnest (MMDetection)

A ResNet whose blocks split features into groups and apply channel attention within each.

Image classification · 103 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (22 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Family
ResNeSt
Parameters
1.1M
Operations
103
Framework
PyTorch
Recurrent
No
Published
CVPR Workshops 2022
Cited by
1,809 (as of 29 October 2026)
Authors
Hang Zhang, Chongruo Wu, Zhongyue Zhang and others
Source
timm 1.0.30
Name in source
mmdet:resnest
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m6445
Graph hash
77425192994bde1250f886cb4031a742028315db750557adda4a75c4258f56f4
Skeleton hash
806cf505cf6922d3743a4a0599fce3ac714c76a57b5a103a0d4eef87fbe45567
Architecture hash
a4146bac437483bb282783ea835202d77420415c3fefef862537729bc33404d4
Diagram SHA-256
6a059fa2ed9c77035b90677f06813fc17b4d45b9b8da07b27dec23d218510f24
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

menagerie.classics.mmdet_wave_a:build_mmdet_wave_a: build({})

What it is

About this model's family

ResNeSt, the Split-Attention Network, is a ResNet variant built by stacking Split-Attention blocks in ResNet style. The idea is to combine two things the authors call well known to matter for visual recognition: featuremap attention and multi-path representation. The block applies channel-wise attention on different network branches to capture cross-feature interactions while learning diverse representations.

As in ResNeXt, the features are divided into cardinal groups set by a cardinality K, and a new radix hyperparameter R sets the number of splits within each cardinal group, for G = KR groups in total. With radix 1 the block applies a squeeze-and-attention operation to each cardinal group, where SE-Net operates on top of the entire block. A Split-Attention block has roughly the same parameters and FLOPS as a standard residual block with the same cardinality and number of channels. The real implementation uses a radix-major layout that can be modularized and accelerated with group convolution and standard CNN layers.

ResNeSt also adopts the ResNet-D tweaks: the first 7 × 7 convolution is replaced with three consecutive 3 × 3 convolutions. A 2 × 2 average pooling layer is added to the shortcut before the 1 × 1 convolution in the stride-two transition blocks. The suffixes on the captured timm members follow the paper's shorthand, where s is the radix, x the cardinality and d the width, so resnest50d_4s2x40d has radix 4, cardinality 2 and width 40. Increasing the radix from 0 to 4 continuously improved top-1 accuracy while also increasing latency and memory usage. The paper settled on the 2s1x64d setting for its deeper networks as a trade-off between speed, accuracy and memory.

ResNeSt-50 reaches 81.13% top-1 accuracy on ImageNet. Deeper models train at larger crops: 256 × 256 for ResNeSt-200 and 320 × 320 for ResNeSt-269. ResNeSt-269 beats EfficientNet-B7 in accuracy with 32% less latency on GPU. As a backbone, a Cascade-RCNN with ResNeSt-101 reaches 48.3% box mAP and 41.56% mask mAP on MS-COCO instance segmentation. ResNeSt was adopted by the winning entries of the 2020 COCO-LVIS challenge. ImageNet training used GluonCV with MXNet.

Key idea. The Split-Attention block: channel-wise attention applied across featuremap groups, parameterized by cardinality and a new radix hyperparameter, stacked into a ResNet.

  • resnest
  • split-attention network
  • split attention
  • resnest50d
  • resnest101e
  • resnest200e
  • resnest269e
  • radix
  • cardinality
  • image classification
  • backbone

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@article{resnest2022,
  title = {ResNeSt: Split-Attention Networks},
  author = {Hang Zhang and Chongruo Wu and Zhongyue Zhang and Yi Zhu and Haibin Lin and Zhi Zhang and Yue Sun and Tong He and Jonas Weylin Mueller and Raghaven Manmatha and Mu Li and Alexander Johannes Smola},
  year = {2022},
  journal = {IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW)},
  eprint = {2004.08955}
}