All models

nf_resnet26

ResNet, SE-ResNet, ECA-ResNet and RegNet-B backbones rebuilt without batch normalization.

Image classification · 242 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 (31 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
16M
Operations
242
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
m7701
Graph hash
5eeecb38189930575bf0863e4516a4c283418eec4b2d36665bf56297fa8bfa13
Skeleton hash
83c87f84e57f56e728b2c271d9cc4cbd9324041107357b2767151cd6ef61db3a
Architecture hash
06ff3305b16ba93c15f7f1d341cdbbd59ffae16e259fa194d83992edd214f9f2
Diagram SHA-256
88f62ea67eda04af97178955544b0248537453dd264cc1ecb568ed0194a8c2d5
TorchLens version
2.36.0
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('nf_resnet26', pretrained=False)

What it is

Normalization-Free ResNet-26.

About this model's family

This family gathers the normalization-free versions of familiar backbones that share timm's NFNet module: NF-ResNet and NF-RegNet, the pre-activation cousins of NFNet proper. The library supports NF-ResNet, NF-RegNet-B and NFNet-F models, and this family collects the first two. The captured members include the ECA-ResNet and SE-ResNet attention variants as well as the plain ResNets, such as Normalization-Free ECA-ResNet26.

The recipe traces to the paper Characterizing signal propagation to close the performance gap in unnormalized ResNets. The module also cites High-Performance Large-Scale Image Recognition Without Normalization and points to the official Deepmind JAX code, and its details were updated to match that code once it was released. The docstring still calls these models a work in progress, with pretrained weights for two models so far.

Key idea. ResNet and RegNet backbones re-implemented without normalization layers, as pre-activation normalization-free networks.

  • nf_resnet
  • nf-resnet
  • nf_regnet
  • NF-RegNet
  • nf_seresnet
  • nf_ecaresnet
  • normalization-free
  • normalizer-free
  • no batch norm
  • nf_resnet50
  • nf_regnet_b1
  • timm

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