All models

legacy_seresnet50

A ResNet with squeeze-and-excitation blocks for channel-wise feature recalibration.

Image classification · 272 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 (20 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

Parameters
28.1M
Operations
272
Framework
PyTorch
Recurrent
No
Published
2017
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
m5567
Graph hash
3c8fb0ef18d35a8c3b6dcd23874143e9e3e7f840e02ce83a8af401d92169dfe9
Skeleton hash
bbb268629889257ed9df927fc693e4b7d9d2b02911c2ca703d28f4583726704f
Architecture hash
9d7fe4fb0e612ac6f188880c0a4f4b9beb1d18d6e14573d4b84337a2804cf4a1
Diagram SHA-256
452ee6c8f541c16c470a0b7ceac2b66a4444c0396b52a0257beac0f09e316c81
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('legacy_seresnet50', pretrained=False)

What it is

This model is one of the legacy-prefixed versions, built from the SEResNet implementation taken from Cadene's pretrained models.

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.

  • SE-ResNet
  • SEResNet
  • SE ResNet
  • squeeze-and-excitation
  • squeeze and excitation ResNet
  • channel attention
  • image classification
  • seresnet50

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