All models

ecaresnetlight

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

Image classification · 323 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 (33 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
30.2M
Operations
323
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
m4463
Graph hash
c76759b67914293f0df16973a473cdb2e3a7529fd3657263e38a8d1d8d4f434b
Skeleton hash
e9b972c1d50762fdcc91a3d4390f778b0cb47de249308975216fada6d5b113ed
Architecture hash
a135b6ac5fc85c6706bcf6f944e56143d62865fd6aeb547fa41da559e3c4fb38
Diagram SHA-256
26deefe086769b915b7bff33f57e7f7943a9d9a96cd468c59edf1d0f12ceda80
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('ecaresnetlight', 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.