TrackFormer-DeformableDETR-R50
TrackFormer detects and tracks objects across video frames with object queries and track queries.
Detection and tracking · 230 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
- Parameters
- 4.2M
- Operations
- 230
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2022
- Paper
- Read the paper
- 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
- m3141
- Graph hash
- ccde407f2f7fbd0a9470f5ca70696c06698cecf8e37a5e3cb4b4e8c0316e9f36
- Skeleton hash
- e5c67c27421a96e2701f9ef24c5afe6f8b1e3778bf1dcddf5db7ad28ad1cd360
- Architecture hash
- c0b04e63523cd4effaa1e883d77575ab74e570011aa915ccdb03d77ea1ba2314
- Diagram SHA-256
- 9031fb78426643718e33a9dc714e0de7134c8eb70bfa960805e40c6ea0f54fe2
- 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
menagerie.classics.detr_trackers:build_trackformer: build({}) What it is
TrackFormer is a multi-object tracker: it follows a set of objects, such as pedestrians, through a video while keeping their identities apart. The paper formulates tracking as a frame-to-frame set prediction problem and solves it with an encoder-decoder Transformer that is trainable end to end.
The decoder starts from two types of queries. Static object queries let the model initialize a track at any frame of the video. Track queries are the paper's addition: each new detection initializes a track query from its output embedding, and the query then follows the object through the video, carrying its identity while adapting to its changing position. Self-attention over both query types lets the model detect new objects while avoiding re-detection of objects it already tracks. Track association therefore happens through attention in the Transformer decoder, an approach the paper names tracking-by-attention.
The implementation follows Deformable DETR, with ResNet50 feature extraction. The paper's appendix lists 6 encoder and 6 decoder layers with 8 attention heads. Removed track queries keep being decoded for a number of frames, which allows a short-term recovery from track loss without any dedicated re-identification training. The paper reports its tracking results on MOT17 and MOT20 and its segmentation results on MOTS20.
Key idea. TrackFormer casts multi-object tracking as frame-to-frame set prediction and introduces track queries that carry object identities between frames through Transformer decoder attention.
- TrackFormer
- multi-object tracking
- MOT
- tracking-by-attention
- track queries
- transformer tracker
- Deformable DETR tracker
- pedestrian tracking
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.