
res2net (MMPretrain)
Image classification83 ops653.5K params
Res2Net, a convolutional backbone whose residual blocks process features at several scales.
Image classification · 683 operations Checked
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.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
timm.create_model('res2net50_14w_8s', pretrained=False) This model is Res2Net-50 in the 14w×8s setting, where w is the width of the filters and s is the number of scales. The paper reports that this setting improves top-1 error on ImageNet by 1.99% over ResNet-50.
About this model's family
Res2Net is a building block for convolutional networks that produces features at several scales inside a single residual block, where most earlier methods represent multi-scale features layer by layer. The block can be plugged into backbone models such as ResNet, ResNeXt and DLA.
In a standard bottleneck block one group of 3 × 3 filters extracts the features; Res2Net replaces it with smaller groups of filters connected in a hierarchical residual-like style. After the 1 × 1 convolution the feature maps are split evenly into s subsets; every subset except the first has its own 3 × 3 convolution, and a subset is added to the output of the previous convolution before it goes through its own. All splits are then concatenated and passed through a 1 × 1 convolution. The number of subsets s is the scale dimension, which the paper describes as orthogonal to the cardinality and width dimensions of prior work.
On ImageNet, with scale s = 4, the paper reports that Res2Net-50 improves top-1 error by 1.84% over ResNet-50. It also reports experiments on object detection, class activation mapping and salient object detection.
Key idea. The paper proposes the Res2Net block, which builds hierarchical residual-like connections inside one residual block to represent multi-scale features and widen the range of receptive fields.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.