
resnetv2_18
Image classification96 ops11.7M params
19 models, image classification. Fewest parameters first.
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.
AI-written summary; not reviewed by a person. Corrections welcome.
Paper: Big Transfer (BiT): General Visual Representation Learning

Image classification96 ops11.7M params

Image classification107 ops11.7M params

Image classification176 ops21.8M params

Image classification187 ops21.8M params

Image classification242 ops25.5M params

Image classification402 ops25.5M params

Image classification254 ops25.6M params

Image classification254 ops25.6M params

Image classification254 ops25.6M params

Image classification968 ops25.6M params

Image classification1,121 ops25.6M params

Image classification480 ops44.5M params

Image classification793 ops44.5M params

Image classification492 ops44.6M params

Image classification718 ops60.2M params

Image classification730 ops60.2M params

Image classification402 ops217.3M params

Image classification1,184 ops236.3M params

Image classification793 ops387.9M params