
coatnet_nano_cc_224
Image classification501 ops13.8M params
Convolution and attention hybrid image backbone, built in timm from the CoAtNet paper.
Image classification · 412 operations Checked
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.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
timm.create_model('coatnet_0_224', pretrained=False) About this model's family
CoAtNet is a hybrid vision backbone that marries convolution with attention, and timm keeps it in the same module as MaxViT. The library's version is a from-scratch implementation of both architectures. Nearly all of it was written from the papers, with some last-minute adjustments made against the public code release at google-research/maxvit. The reference paper is CoAtNet: Marrying Convolution and Attention for All Data Sizes, arXiv 2106.04803.
Names carrying an rw suffix are Ross Wightman's own original configurations from before the official code was consulted. Those configurations work well and appear a bit faster and lighter on resources than the paper's. The plain names such as coatnet_0_224 are intended to match the paper, but without official pretrained weights an exact match is hard to confirm. The captured set runs from CoatNet-0 to CoatNet-4 in both styles, plus a BatchNorm variant of CoatNet-0 and a nano model built from ConvNeXt blocks.
Key idea. A hybrid of convolution and attention, implemented in timm from the paper alongside MaxViT.
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.