All models

res2net (MMPretrain)

Res2Net, a convolutional backbone whose residual blocks process features at several scales.

Image classification · 83 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 (18 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
Res2Net
Parameters
653.5K
Operations
83
Framework
PyTorch
Recurrent
No
Source
timm 1.0.30
Name in source
mmpretrain:res2net
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
m6993
Graph hash
c74ce927b1cc4e21b643f3ed2148bfe07abd93271acb8d28ade83051a0553912
Skeleton hash
d94d276aad20130017108a9a7cdf6a54206a2c1adf129696eb11253f3a2a4e8b
Architecture hash
ed6ae6b8a79140b638ad7832fa7ac89b231436969252df757429fcc38addcd5c
Diagram SHA-256
b32a037c51cc20d1b47a3cb17a2d0e9d01d9c213ff85a985ca43118a2eb0ed60
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.wave_b_openmmlab:build_mmpretrain: build({})

What it is

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.

  • res2net
  • res2net-50
  • res2net-101
  • multi-scale backbone
  • res2net block
  • image classification
  • hierarchical residual connections
  • scale dimension

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