convformer_s18
ConvFormer, a MetaFormer baseline for vision that supports feature extraction and variable input resolution.
Image classification · 612 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.
At a glance
- Task
- Image classification
- Parameters
- 26.8M
- Operations
- 612
- Framework
- PyTorch
- Recurrent
- No
- Source
- timm 1.0.30
- 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 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.
Details
- Stable ID
- m3873
- Graph hash
- 8af54619c037fac9ae1609acf071b4b8d1f416feb3ba739f8bfb826c35d752f7
- Skeleton hash
- 3cce80ccd1a676a881e95b713a4ed0b107427700551b7b816e029c46c1aea096
- Architecture hash
- 30c3cc298a1dadc74235d09cabe63592aa0e854808db8083eec4fe45349886a6
- Diagram SHA-256
- 9ece80b0f3481cf4d89e961e89d7fd55497ee8288bdaf81e731344f410933662
- TorchLens version
- 2.35.3
- 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('convformer_s18', pretrained=False) What it is
ConvFormer is one of five vision models that the timm library takes from the paper "MetaFormer Baselines for Vision"; the other four are IdentityFormer, RandFormer, PoolFormerV2 and CAFormer. The same code also implements PoolFormer, which comes from the paper "MetaFormer is Actually What You Need for Vision".
All of the implemented models support feature extraction and variable input resolution. The original implementation is by Weihao Yu et al., and Fredo Guan and Ross Wightman adapted it for timm. Their adaptation starts from the code in the sail-sg/metaformer repository.
Key idea. The paper "MetaFormer Baselines for Vision" presents ConvFormer together with IdentityFormer, RandFormer, PoolFormerV2 and CAFormer.
- convformer
- convformer_s18
- metaformer baselines for vision
- metaformer baseline
- image classification
- vision backbone
- feature extraction
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.