All models

res2net (MMDetection)

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

Image classification · 112 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
Res2Net
Parameters
1.1M
Operations
112
Framework
PyTorch
Recurrent
No
Source
timm 1.0.30
Name in source
mmdet: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
m6444
Graph hash
bf9c5c9242c2c16dfab516adf662c3516fd11badfe08251c5f7fbbf07078f70b
Skeleton hash
dafb591ed0cbeeda548af9931f1fdc05ef9d9db031575e58b86a90d4f7d1df98
Architecture hash
39e5cff351991fe87d44d191dc3a42f4dcca496f9646ec4958312ddb1b130b69
Diagram SHA-256
e61c21f074a721c73a8cfe6a24b812567c5324f770b6227725be24cd58dc48ac
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

The paper also evaluates Res2Net on object detection, the task this model is built for.

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.