All models

regnet_y_128gf

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

Image classification · 446 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 (18 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
644.8M
Operations
446
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
m8706
Graph hash
71cd82b9f9c09991e6ca14e94d0d58367bf73db0175d700e51b2645b9d1f499c
Skeleton hash
35b2344c89c4867bade87d1fbfddddf83ae48055d4ddd7061c20acf68d6140bc
Architecture hash
70aecb005deaee586d576a5cb36012c951485e569791399b733768aeafe36579
Diagram SHA-256
6e83115b2b5752e35aeadefe8eed221c6f16bfb2e8a79ae817abccee43a299a9
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

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

What it is

The torchvision RegNetY_128GF builder, the 128GF 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}, 
}