All models

nf_regnet_b4

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

Image classification · 1,036 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
30.2M
Operations
1,036
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
m7698
Graph hash
8f62a974f3940bc05737e16a225f8f7c09ca75a42311da5dbbf13d911d5425ad
Skeleton hash
2e055f38fddd66d66e731a87697866577a6b8783b2e603756e07896fbd06789b
Architecture hash
42a2c831d27234c0c3c1d398ad59074efc04c41f58bd30d2b0de84467b68f786
Diagram SHA-256
5a5f0a9b3ce7590f0c029550e0788206b9efce8682920b168cb70ee8af37a51f
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_regnet_b4', pretrained=False)

What it is

Normalization-Free RegNet-B4.

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.