All models

SiamFC-AlexNet

A Siamese conv-net that finds the first-frame exemplar in every later frame by cross-correlation.

Detection and tracking · 34 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 (39 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
2.3M
Operations
34
Framework
PyTorch
Recurrent
Yes
Published
ECCV 2016 Workshops
Cited by
25 (as of 18 October 2026)
Authors
Luca Bertinetto, Jack Valmadre, João F. Henriques and others
License
MIT
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
m2811
Graph hash
487db309a93dc471076607b91cef04b12be04358453d0862940cdc2a26bdc85b
Skeleton hash
4737517fe743d1105c5a94925744ac2f1f6cbe9fd1008e0c1710bc11925e0f6c
Architecture hash
693eff1c23e4a7871afc61e89be87e3e05f851a7a6a02f2e6367b71544ff4fef
Diagram SHA-256
856919e626624645cacf4f2ce265e61ac039e528a6421881f0d34aa038a2cbbb
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

SiamFC is a tracker for an arbitrary object in video, where the object is identified solely by a rectangle in the first frame. Instead of learning the object's appearance online from the video itself, it trains a deep conv-net offline on a more general similarity learning problem and then simply evaluates that function during tracking. Concretely, a Siamese network is trained to locate an exemplar image within a larger search image.

The architecture is fully-convolutional with respect to the search image, so dense sliding-window evaluation comes from a bilinear layer that computes the cross-correlation of its two inputs. The output of this network is not a single score but rather a score map defined on a finite grid. The paper trains with exemplar images of 127 × 127 and search images of 255 × 255 pixels. The raw score map is relatively coarse at 17 × 17, so the tracker upsamples it with bicubic interpolation to 272 × 272 for more accurate localization.

The embedding function resembles the convolutional stage of the network of Krizhevsky and co-authors, with max-pooling after the first two convolutional layers. An important aspect of the design is that no padding is introduced within the network. The network is trained end-to-end on the ILSVRC15 dataset for object detection in video, and the tracker operates at frame-rates beyond real-time. On a single GTX Titan X the full online pipeline runs at 86 and 58 frames-per-second when searching over 3 and 5 scales respectively.

The online phase is deliberately minimalistic: no model update, no memory of past appearances, no optical flow or colour histograms, and no bounding box regression. The member captured here comes from a clean PyTorch implementation of the SiamFC tracker. The authors' own MATLAB repository points newer users to CFNet's slightly modified SiamFC, which has only 32 output channels instead of 256 and activations with higher spatial resolutions.

Key idea. SiamFC replaces online appearance learning with an offline-trained, fully-convolutional Siamese similarity function whose cross-correlation layer scores every sub-window of a search image in one evaluation.

  • siamfc
  • siamese fc
  • siamese-fc
  • fully-convolutional siamese networks
  • siamese tracker
  • object tracking
  • visual tracking
  • similarity learning
  • exemplar search image
  • siamfc-pytorch
  • cfnet

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

Cite the paper

@misc{bertinetto2021fullyconvolutionalsiamesenetworksobject,
      title={Fully-Convolutional Siamese Networks for Object Tracking}, 
      author={Luca Bertinetto and Jack Valmadre and João F. Henriques and Andrea Vedaldi and Philip H. S. Torr},
      year={2021},
      eprint={1606.09549},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1606.09549}, 
}