All models

ecaresnet269d

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

Image classification · 1,716 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

Parameters
102.1M
Operations
1,716
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
m4458
Graph hash
3038c9341ff0983b19dfd7d68847f70c580fca918739a061ce69bf378043fcb5
Skeleton hash
6f98e0e787ea73672f178720b372bcb611913f89e58baf5671719ce0ac43833c
Architecture hash
0e6c830130647dc3fc07a1c066e0c5ae6e4a3f2d7e7b0da4b9cda61d76cacb90
Diagram SHA-256
b7064ab59482949681bbaadf5ed0f7994ef2bdfa978036f1d547fd1f459232b6
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('ecaresnet269d', 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.