All models

halonet26t

A HaloNet from timm: a network that uses halo attention in its final stages or throughout.

Image classification · 327 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 (14 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
halonet
Parameters
12.5M
Operations
327
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
m5288
Graph hash
f70eb442fe0f31ece9cdc782e3da313e8642eb01e8b80c0f499ab0ea95fa1c59
Skeleton hash
79b1584065ccf6dff7a7abbf7e4e788c4d3ab3f59b4ae014e831d7d278c48cf7
Architecture hash
4b807f5dd75defa52baa068f9acc3e52b607d80c9e0f3cf7ed86d54e9f88b731
Diagram SHA-256
9c8a10bef0710ec4255df591adb517bb8a3abf74133da0a6676993c7753d5340
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('halonet26t', pretrained=False)

What it is

This model, halonet26t, is a HaloNet with a ResNet26-t backbone and halo attention in the final two stages.

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.

  • HaloNet
  • halonet26t
  • halonet50ts
  • halonet_h1
  • HaloNet-H1
  • halo attention
  • Bring-Your-Own-Attention Network
  • byoanet
  • image classification

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