All models

ecaresnet50d_pruned

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

Image classification · 329 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 (26 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
19.9M
Operations
329
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
m4461
Graph hash
53c8d82381faffc120e961b6fb76e376564d17271e79b52b12f971c40a68f6c9
Skeleton hash
53e79ac957af678d7ad5b72ca9cce46075e57567a2228e2d9ff89b16e84b38c2
Architecture hash
7fd7bed497aa4e1398286a86bed2007d57ea84e093e64103a15c4808b90e3e53
Diagram SHA-256
3906c743fe9924ab7010c2987642bd543b6cb9caed245080406adabe275271ee
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('ecaresnet50d_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.