All models

res2net101_26w_4s

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

Image classification · 770 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
45.2M
Operations
770
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
m8799
Graph hash
835bdd15b4da6513b98b6b0bdb6373745c71ae4274a18ad2473b20d0c5b0a23e
Skeleton hash
4c29297c7267000aed7fc536fdefa99e716647dccbc060842ee548e467f02736
Architecture hash
97950a1e50c28f8f5a3c3bd15895d9f560df6ff9401dd38e01a018c6a0375455
Diagram SHA-256
a575a77fceaf75da097da4c0c6c09fd79426cb16ec687cfe31e2ea397297436d
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('res2net101_26w_4s', pretrained=False)

What it is

This model is Res2Net-101 in the 26w×4s setting, where w is the width of the filters and s is the number of scales.

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.