
halonet26t
Image classification327 ops12.5M params
A HaloNet from timm: a network that uses halo attention in its final stages or throughout.
Image classification · 1,293 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('halonet_h1', pretrained=False) This model is HaloNet-H1, with halo attention in all stages as per the paper. The library notes that it runs very slowly.
About this model's family
HaloNet is a network built around halo attention, and timm's versions differ in how much of the network uses it. The halonet26t and halonet50ts models keep a ResNet-style backbone (ResNet26-t and ResNet50-t) and use halo attention only in the final two stages, while halonet_h1 follows the paper with halo attention in all stages.
All three are built with timm's Bring-Your-Own-Attention Network, a flexible network for stacking blocks that include self-attention or similar layers. The same code also implements experimental variants of Bottleneck Transformers and Lambda ResNets, and the library marks every model definition in it as experimental work in progress, likely to change.
Key idea. HaloNet uses halo attention in the stages of a network, either in the final two stages of a ResNet-style backbone or in all stages as per the paper.
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.