All models

halonet_h1

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

Image classification · 1,293 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 (40 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
8.1M
Operations
1,293
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
m5290
Graph hash
ae352e539486971eb0b664af3d124c718da347de24ce90683377826086cdeb33
Skeleton hash
8b20556004bb758a35fbf785ca7138ee759e9b950c32f531275e872eef22068e
Architecture hash
edd8af991b195099c162409b61768bc95035d42615c0e1062654ea28761888df
Diagram SHA-256
e2cf4985fa5b7d31fa92a0036ccecde1d1673808eff9df9652919a98e55bd1d6
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('halonet_h1', pretrained=False)

What it is

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.

  • 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.