All models

ecaresnet200d

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

Image classification · 1,279 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
64.7M
Operations
1,279
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
m4457
Graph hash
63fa133ae8f2a1c3965fc346cf558e8b2508d2a54b1a4f546839c1a0944850eb
Skeleton hash
06a6e42640609729176c4fb4bd5d33529555f8169e75e44e90f308e5ebd8ebad
Architecture hash
93808a36cc1c2ed33f275c3a3219890420d17787195fea4ae20b20ea24803d67
Diagram SHA-256
e8091c47be30b31da213cabf9b1b1558da2d1eaafc398daef79b34891bf4b02f
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('ecaresnet200d', 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.