All models

maxxvitv2_nano_rw_256

timm's own MaxxViT-V2 configs: a convolution-transformer hybrid in the MaxViT and CoAtNet mould.

Image classification · 404 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 (16 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

Parameters
23.7M
Operations
404
Framework
PyTorch
Recurrent
No
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
m5770
Graph hash
a25ce1b88584339b8f0f2b10442ad7e1c9ad0c73adec6da45973627e2f4cb6f0
Skeleton hash
71c32ff65a103ed3ffdf068e764ac6f356f276f94532031f278eea4833c88361
Architecture hash
8f02cda1a28a53a3ab61b5ab947442ab730cfc89f07d82f4d9dd0f98c650aded
Diagram SHA-256
f28023b6dc28e45fbe3e622b64e20f5bb0d61153c004bda6a6c6531a453bff38
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

timm.create_model('maxxvitv2_nano_rw_256', pretrained=False)

What it is

MaxxViT-V2 Nano model, run at 256 pixels.

About this model's family

MaxxViT-V2 lives in timm's module for MaxVit and CoAtNet, which the module describes as vision transformer and CNN hybrids. The _rw suffix on every captured member marks the author's own original configurations, written before the public MaxViT code was consulted. Those configs work well and appear to be a bit faster and lighter on resources than the paper models.

The module itself was written almost entirely from the two papers, with last minute adjustments taken from the then unfinished public code release. The captured Base and Large members carry a Relative Position MLP, marked rmlp in their names.

Key idea. Original timm configurations of a MaxViT and CoAtNet style convolution-transformer hybrid, tuned to be faster and lighter than the paper models.

  • maxxvitv2
  • MaxxViT-V2
  • maxxvit
  • maxvit
  • coatnet
  • hybrid vision transformer
  • maxxvitv2_nano_rw_256
  • maxxvitv2_rmlp_base_rw_224
  • maxxvitv2_rmlp_large_rw_224
  • rmlp
  • timm

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