All models

convnext (MMPretrain)

A ResNet modernized step by step into a pure ConvNet that keeps pace with vision Transformers.

Image classification · 20 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 (27 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
ConvNeXt
Parameters
564.2K
Operations
20
Framework
PyTorch
Recurrent
No
Published
CVPR (arXiv 2022)
Cited by
8,194 (as of 4 October 2026)
Authors
Zhuang Liu, Hanzi Mao, Chao-Yuan Wu and others
Source
timm 1.0.30
Name in source
mmpretrain:convnext
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
m6958
Graph hash
04aa11bd3b80ccc721a46ca6da36636e28f9948f3f1e5d119aa623a1cc2c35d1
Skeleton hash
30ce50a9147093e0b0c19009c7dfd9aaed21a13ee6e2b91b9a9a1debcd9ed8d2
Architecture hash
0cd98b7802fad1ace222a574a34b1ff8eff95c017fa7b3063b55a6b7868dfecb
Diagram SHA-256
a84cc709634887f4ad2dae25c95427179c067dc1dbb9deac9bca56972a77e23c
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

menagerie.classics.wave_b_openmmlab:build_mmpretrain: build({})

What it is

About this model's family

ConvNeXt is a family of pure convolutional networks built to test the limits of what a ConvNet can achieve once the design lessons of the Transformer era are folded back in. The authors take a standard ResNet and gradually modernize it toward the design of a vision Transformer, discovering several key components that account for the performance gap along the way.

The paper opens with Vision Transformers, which quickly superseded ConvNets as the state-of-the-art image classification model. A vanilla ViT, though, faces difficulties on general tasks such as object detection and semantic segmentation. It was hierarchical Transformers such as Swin that reintroduced several ConvNet priors and made Transformers practically viable as generic vision backbones. The authors' complaint is that the credit for such hybrids has gone to the intrinsic superiority of Transformers rather than to the inductive biases of convolutions.

Constructed entirely from standard ConvNet modules, ConvNeXts compete favorably with Transformers in accuracy and scalability, reaching 87.8% ImageNet top-1 accuracy and outperforming Swin Transformers on COCO detection and ADE20K segmentation. They do so while maintaining the simplicity and efficiency of standard ConvNets.

Key idea. Gradually modernizing a standard ResNet toward the design of a vision Transformer and showing that a pure ConvNet built only from standard modules competes with Transformers.

  • ConvNeXt
  • A ConvNet for the 2020s
  • pure ConvNet
  • modernized ResNet
  • image classification
  • ImageNet
  • timm convnext_tiny
  • convnext_base

AI-written summary, checked automatically against its sources; not reviewed by a person. Corrections welcome.

Cite the paper

@article{convnext2022,
  title = {A ConvNet for the 2020s},
  author = {Zhuang Liu and Hanzi Mao and Chao-Yuan Wu and Christoph Feichtenhofer and Trevor J. Darrell and Saining Xie},
  year = {2022},
  journal = {2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  eprint = {2201.03545}
}