RepVGG: Making VGG-style ConvNets Great Again
Xiaohan Ding, Xiangyu Zhang, Ningning Ma, Jungong Han, Guiguang Ding,, Jian Sun

TL;DR
RepVGG introduces a re-parameterization technique enabling a VGG-like inference architecture with multi-branch training, achieving high accuracy and fast inference on ImageNet, outperforming ResNet and competing with modern models.
Contribution
The paper proposes RepVGG, a novel CNN architecture that decouples training and inference structures via structural re-parameterization, leading to improved accuracy and speed.
Findings
Achieves over 80% top-1 accuracy on ImageNet.
Runs 83% faster than ResNet-50 on NVIDIA 1080Ti.
Outperforms ResNet and rivals EfficientNet and RegNet in accuracy-speed trade-off.
Abstract
We present a simple but powerful architecture of convolutional neural network, which has a VGG-like inference-time body composed of nothing but a stack of 3x3 convolution and ReLU, while the training-time model has a multi-branch topology. Such decoupling of the training-time and inference-time architecture is realized by a structural re-parameterization technique so that the model is named RepVGG. On ImageNet, RepVGG reaches over 80% top-1 accuracy, which is the first time for a plain model, to the best of our knowledge. On NVIDIA 1080Ti GPU, RepVGG models run 83% faster than ResNet-50 or 101% faster than ResNet-101 with higher accuracy and show favorable accuracy-speed trade-off compared to the state-of-the-art models like EfficientNet and RegNet. The code and trained models are available at https://github.com/megvii-model/RepVGG.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗frgfm/repvgg_a0model· 146 dl146 dl
- 🤗frgfm/repvgg_a1model· 11 dl11 dl
- 🤗frgfm/repvgg_a2model· 11 dl11 dl
- 🤗kadirnar/timm_model_listmodel· ♡ 1♡ 1
- 🤗timm/repvgg_a2.rvgg_in1kmodel· 11k dl· ♡ 111k dl♡ 1
- 🤗timm/repvgg_b0.rvgg_in1kmodel· 97 dl97 dl
- 🤗timm/repvgg_b1.rvgg_in1kmodel· 101 dl101 dl
- 🤗timm/repvgg_b1g4.rvgg_in1kmodel· 76 dl76 dl
- 🤗timm/repvgg_b2.rvgg_in1kmodel· 60 dl60 dl
- 🤗timm/repvgg_b2g4.rvgg_in1kmodel· 88 dl88 dl
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Neural Network Applications · Domain Adaptation and Few-Shot Learning · Advanced Image and Video Retrieval Techniques
MethodsLinear Layer · Global Average Pooling · Residual Connection · SGD with Momentum · Weight Decay · RepVGG · Depthwise Convolution · Pointwise Convolution · Sigmoid Activation · Batch Normalization
