
seresnet (MMPretrain)
Image classification59 ops653.5K params
A ResNet with squeeze-and-excitation blocks for channel-wise feature recalibration.
Image classification · 283 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('seresnet33ts', pretrained=False) This model is built with timm's Bring-Your-Own-Blocks Network, a flexible network that stacks blocks according to a dataclass-based config.
About this model's family
SE ResNet is a ResNet variant that adds squeeze-and-excitation blocks, which let the network recalibrate its features channel by channel in a way that depends on the input. The ResNet underneath learns residual functions with reference to the layer inputs and is built by stacking residual blocks.
The older timm code for it is an SEResNet implementation from Cadene's pretrained models, and its notes credit the hujie-frank/SENet repository as the original model. That module's author writes that it is being deprecated and its models moved into the main ResNet code, to avoid maintaining duplicate support for extras such as dilation and feature extraction. The main ResNet module began as a copy of the resnet.py in pytorch/vision, with SENet support added alongside ResNeXt and other stem and downsample variants.
Key idea. SE ResNet adds squeeze-and-excitation blocks to a ResNet so that the network can perform dynamic channel-wise feature recalibration.
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.