All models

TransT-ResNet50

A Siamese-style visual tracker that fuses template and search-region features with attention instead of correlation.

Detection and tracking · 1,092 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 (23 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

Parameters
23M
Operations
1,092
Framework
PyTorch
Recurrent
No
Published
CVPR 2021
Cited by
1,579 (as of 23 October 2026)
Authors
Xin Chen, Bin Yan, Jiawen Zhu and others
License
GPL-3.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
m3183
Graph hash
83d1aa0a8d89c6c1f7044e590ce8888ab3216f44ffa7e56e70eb9c541ad54efc
Skeleton hash
ecf54d93dd7e867724b6e2827a316ebfe6d9694ff7654e90c12b012d676ba5d9
Architecture hash
01813d49bd0932681e899db5e1d478f50bb0add2cc3309e313a776774ffd3b48
Diagram SHA-256
b85bad31b4ecce78ebf0dfc0b9623a61dd92983ebd610862eed400aedab12781
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

TransT (Transformer tracking) is a visual object tracker that takes a pair of image patches, a template of the target and a search region, and predicts where the target is in the search region. Most popular trackers combine the two with correlation, which the paper describes as a local linear matching process that loses semantic information. TransT replaces it with a fusion network that combines the template and search region features solely using attention.

A modified version of ResNet50 extracts features from both patches. The fusion network is built from two kinds of module: an ego-context augment (ECA) module based on self-attention and a cross-feature augment (CFA) module based on cross-attention. Two ECAs and two CFAs form a fusion layer, and the layer repeats four times, followed by an additional CFA that fuses the two branches. The prediction head has a classification branch and a regression branch, each a three-layer perceptron. It predicts normalized coordinates directly, without anchor points or anchor boxes.

On the TrackingNet benchmark the paper reports 81.4% AUC, 86.7% normalized precision and 80.3% precision. It also reports that the tracker runs at approximately 50 fps on GPU.

Key idea. TransT replaces the correlation step of Siamese-based trackers with an attention-based feature fusion network that combines template and search region features solely using attention.

  • TransT
  • Transformer Tracking
  • visual object tracking
  • single object tracking
  • Siamese tracker
  • attention-based feature fusion
  • ego-context augment
  • cross-feature augment
  • transformer tracker

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

Cite the paper

@misc{chen2021transformertracking,
      title={Transformer Tracking}, 
      author={Xin Chen and Bin Yan and Jiawen Zhu and Dong Wang and Xiaoyun Yang and Huchuan Lu},
      year={2021},
      eprint={2103.15436},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2103.15436}, 
}