All models

ecaresnet101d_pruned

A ResNet whose blocks carry Efficient Channel Attention, a lighter cousin of squeeze-and-excitation.

Image classification · 652 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

Parameters
24.9M
Operations
652
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
m4456
Graph hash
d23c5d2629b5ece57f80a0bd1d289e896e58c6844e91b73f60ef5c5174b2653c
Skeleton hash
31aa19c398c77c0223961a8c54784c0753c9bda14973fde10475f70d57a29109
Architecture hash
b15ea0c438321da4d13c53eed3bbb655f04bf97cc1405ef4d9ea61b65634fae2
Diagram SHA-256
4d6b5b24068050a9f68c772edd0d636f2b2291b05dc18188a6bceadbfb4cd913
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('ecaresnet101d_pruned', pretrained=False)

What it is

About this model's family

ECA-ResNet is a variant of ResNet that adds an Efficient Channel Attention module. Efficient Channel Attention is an architectural unit based on squeeze-and-excitation blocks that reduces model complexity without dimensionality reduction. Underneath, the residual network learns residual functions with reference to the layer inputs instead of unreferenced functions, stacking residual blocks to form the network.

The captured member ecaresnet50d is a ResNet-50-D model with ECA. Its captured sibling ecaresnet26t is a 'T' model with tiered 24, 32 and 64 channels in the deep stem and ECA attention, which timm notes is technically a 28 layer ResNet like a 'D' bag-of-tricks model. The attention module comes from ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networks by Qilong Wang, Banggu Wu, Pengfei Zhu, Peihua Li, Wangmeng Zuo and Qinghua Hu.

The family also carries pruned variants, ecaresnet50d_pruned and ecaresnet101d_pruned, whose pruning was obtained with the method of arXiv 2002.08258. That paper is Knapsack Pruning with Inner Distillation. It formulates network pruning as a Knapsack Problem that trades the importance of neurons against their computational cost.

Key idea. Efficient Channel Attention added to ResNet, reducing model complexity without the dimensionality reduction of squeeze-and-excitation.

  • ecaresnet
  • eca resnet
  • eca-net
  • efficient channel attention
  • resnet
  • timm
  • image classification

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