All models

res2net101d

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

Image classification · 780 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 (17 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
45.2M
Operations
780
Framework
PyTorch
Recurrent
No
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
m8800
Graph hash
bb0232aaa3abb9cbe7a8c818b3dd0aa14479d729d4e4baaef1d505c38250c847
Skeleton hash
7d1684afef321a8c32f412cfb3c663fc603aac54cbbc8d715716c53cede633c1
Architecture hash
e15742fa7bf0e8b318bf405c25a87bc0441c688d90c01f702ad4fd4ae8c08fcf
Diagram SHA-256
d1ed76294d01acc3ae25bbccc20383391d3a37826ca3feb21b4b53d20694ae14
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

timm.create_model('res2net101d', pretrained=False)

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.