All models

nf_resnet50

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

Image classification · 442 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 (17 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
25.6M
Operations
442
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
m7702
Graph hash
bb4e9d363d68ea413f33c321cb6b56215a31a7eac8dc62c5c680a5d643d29f10
Skeleton hash
6512282e24e989a3f52304df995d671fb9bf6b06aac3bbb3df3d272d7f5e6d8a
Architecture hash
08cc3eb070ff45deaed9db3e6323c782ef7ecebb9e13a9d7ef051a9540776c6b
Diagram SHA-256
8b9c5d2c469793a0ec1e930b133f688d89e70e10401d210475127f6981a00807
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('nf_resnet50', pretrained=False)

What it is

Normalization-Free ResNet-50.

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.