All models

regnet_y_400mf

Simple regular ResNet-style networks whose widths follow a quantized line, with squeeze-and-excitation added.

Image classification · 270 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 (16 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

Family
RegNetY
Parameters
4.3M
Operations
270
Framework
PyTorch
Recurrent
No
Published
CVPR (arXiv 2020)
Cited by
1,966 (as of 9 October 2026)
Authors
Ilija Radosavovic, Raj Prateek Kosaraju, Ross Girshick and others
License
BSD-3-Clause
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
m8716
Graph hash
b4e1eeb66d2dfa55a13ddd4d9917b4519fbb382157ea745956a51f2cc669b2cd
Skeleton hash
ffbef942833b39c9d4dfb796c93fda5b94510f187f1af476ba42cf0b0767c785
Architecture hash
b4d2da1dfadc19a7d0703feed8ec6b86c74330d16438689664a4721081015e91
Diagram SHA-256
6253e9b9594875beda882093a4613b93a3b1662a9fa38ad2a5e8b43d74139f5d
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

torchvision.models.get_model('regnet_y_400mf', weights=None)

What it is

The torchvision RegNetY_400MF builder, the 400MF flop regime.

About this model's family

RegNetY is a family of simple, regular convolutional networks that came out of a different way of doing architecture design: designing the design space itself rather than individual networks. The authors describe this as analogous to classic manual network design, but elevated to the design space level. They start from a loosely constrained space called AnyNet, in which widths and depths vary freely across stages. Progressive simplification, guided by the error distribution of sampled models, arrives at a low-dimensional space of regular networks they call RegNet.

The core insight is that the widths and depths of good networks can be explained by a quantized linear function. Concretely a RegNet is specified by just six parameters: d, w0, wa, wm, b and g, from which block widths and depths are generated. Every network has a stem, a body that does the bulk of the computation, and a head of average pooling followed by a fully connected layer. The body is four stages at progressively reduced resolution, each a sequence of identical blocks. The block is the X block, a standard residual bottleneck with group convolution: a 1x1 conv, a 3x3 group conv and a final 1x1 conv, each followed by BatchNorm and ReLU. The Y in RegNetY stands for X plus Squeeze-and-Excitation, with the SE op added after the 3x3 conv of the X block. In the paper's ablation, RegNetY yields good gains over RegNetX.

Analysing the space turned up findings that cut against common practice: the depth of the best models is stable at about 20 blocks across compute regimes, rather than growing with flops. The best models also use a bottleneck ratio of 1.0, which effectively removes the bottleneck. Inverted bottlenecks and depthwise convolutions, the staples of mobile networks, degrade results in this space. The paper also tracks activations, the total size of all conv output tensors, because they can heavily affect runtime on memory-bound accelerators such as GPUs. Under comparable training settings and flops, RegNet models outperform EfficientNet models while being up to 5x faster on GPUs. RegNetY takes over from EfficientNet at intermediate flops, and both RegNetX and RegNetY lead at higher flops. One curious appendix finding is that Swish beats ReLU for RegNetY at low flops, but ReLU is better at high flops.

Key idea. Designing network design spaces rather than individual networks, which yields RegNet, a family where the widths and depths of good networks follow a quantized linear function. RegNetY adds Squeeze-and-Excitation to the RegNetX block and yields good gains.

  • regnet
  • regnety
  • regnet y
  • regnet_y_400mf
  • regnet_y_800mf
  • regnet_y_8gf
  • regnet_y_16gf
  • regnet_y_32gf
  • regnet_y_128gf
  • designing network design spaces
  • anynet
  • image classification
  • imagenet
  • torchvision

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

Cite the paper

@misc{radosavovic2020designingnetworkdesignspaces,
      title={Designing Network Design Spaces}, 
      author={Ilija Radosavovic and Raj Prateek Kosaraju and Ross Girshick and Kaiming He and Piotr Dollár},
      year={2020},
      eprint={2003.13678},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2003.13678}, 
}