All models

resnetv2_152x2_bit

Pre-activation ResNet v2 with GroupNorm and Weight Standardization, the backbone of Big Transfer.

Image classification · 1,184 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
ResNetV2
Parameters
236.3M
Operations
1,184
Framework
PyTorch
Recurrent
No
Published
Lecture Notes in Computer Science 2020
Cited by
989 (as of 10 October 2026)
Authors
Alexander Kolesnikov, Lucas Beyer, Xiaohua Zhai and others
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
m8897
Graph hash
d1a528ce70247d51434222297c7f48b7e349704240e4d78ccfe942089acc5fc5
Skeleton hash
d6939634b8fa7458b1f85b2a583eb8802ef468a8be2d918556be6fad4c8a638b
Architecture hash
9231dfaf37d58af3849a400ad8c7930cc73e0e3b3223edbc878a94ec42079030
Diagram SHA-256
c6c6a5aafea8287987923c41444d2db2994b5552207e76c687ed5a3f935ee2d6
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('resnetv2_152x2_bit', pretrained=False)

What it is

About this model's family

ResNetV2 in timm is a pre-activation ResNet v2 with GroupNorm and Weight Standardization, adapted from the Google Big-Transfer (BiT) source code. BiT is not a new architecture but a recipe: pre-train on a large supervised dataset and fine-tune on the target task, using the minimal number of tricks. The recipe reaches 87.5% top-1 on ILSVRC-2012, 99.4% on CIFAR-10 and 76.3% on the 19 task Visual Task Adaptation Benchmark. It performs well across a surprisingly wide range of data regimes, from 1 example per class to 1M total examples.

All BiT models use a vanilla ResNet-v2 architecture, except that every Batch Normalization layer is replaced with Group Normalization and Weight Standardization is used in all convolutional layers. The authors found Batch Normalization detrimental to Big Transfer: with small per-device batches it performs poorly or incurs inter-device synchronization cost. Its running statistics also make it detrimental for transfer. Group Normalization alone did not scale to a batch size of 4096 on 128 accelerator chips, dropping 5.4% on ILSVRC-2012 top-1. Adding Weight Standardization let GN scale to such large batches and even outperform BN. The default and largest model is ResNet152x4, a ResNet-152 with every hidden layer widened by a factor of four. The S, M and L suffixes refer to the pre-training dataset size and schedule, not architecture.

The timm module also supports a non-pre-activation bottleneck for use as a Vision Transformer backbone and extra padding to port the official Hybrid ResNet weights. Beyond the BiT ports, timm defines its own ResNetV2-18 through ResNetV2-152 models, including deep stem d variants. Three 50d members swap the normalization: EvoNorm, Filter Response Normalization and Group Normalization. The BiT weights were included as pretrained models from their original .NPZ checkpoints.

Key idea. Big Transfer shows that scaled-up supervised pre-training with a few carefully selected components, transferred by a simple heuristic, gives strong performance on over 20 datasets.

  • resnetv2
  • resnet v2
  • pre-activation resnet
  • big transfer
  • bit
  • resnetv2_50x1_bit
  • resnetv2_152x4_bit
  • resnetv2_50
  • resnetv2_101
  • groupnorm
  • weight standardization
  • image classification
  • transfer learning

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

Cite the paper

@misc{kolesnikov2020bigtransferbitgeneral,
      title={Big Transfer (BiT): General Visual Representation Learning}, 
      author={Alexander Kolesnikov and Lucas Beyer and Xiaohua Zhai and Joan Puigcerver and Jessica Yung and Sylvain Gelly and Neil Houlsby},
      year={2020},
      eprint={1912.11370},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1912.11370}, 
}