All models

halonet50ts

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

Image classification · 575 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 (19 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
22.7M
Operations
575
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
m5289
Graph hash
95fb64223567b0fbcf1d3f7bd53030e7512fa7ccb97b47b46e7ce7de685b094b
Skeleton hash
396935da7cd222c76d8d6b651921bf4b3d4d368ca2b04f67133657b6a5101d61
Architecture hash
46c80f456c1ed85c4e90ea7bf5b54c9c98489e8d86b2f2874d1c5aa674eff1eb
Diagram SHA-256
d1d5b0185f13f1f440e8800733f2118f6fb65480e5d0f4bd2d7caffa9bd21db5
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('halonet50ts', pretrained=False)

What it is

This model, halonet50ts, is a HaloNet with a ResNet50-t backbone and silu activation, with 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.