All models

Torchreid-OSNet-x1_0

A lightweight CNN for person re-identification that fuses features from multiple spatial scales.

Detection and tracking · 470 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 (17 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
OSNet
Parameters
2.7M
Operations
470
Framework
PyTorch
Recurrent
No
Published
ICCV 2019
Cited by
113 (as of 23 October 2026)
Authors
Kaiyang Zhou, Yongxin Yang, Andrea Cavallaro, Tao Xiang
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
m3133
Graph hash
b75b48f6e6d4672945d305daddf93f67305ce400156756e437ea08b614f9ebe8
Skeleton hash
d6e230510e3692010295ab7c39064ddd79ecfd17ac495574994cbef30da27711
Architecture hash
b7cf4eff0be28e48841e24691ea8e9e7e91b6f7e295f010a6dc33a40ced88da8
Diagram SHA-256
d418719b0ee933ce4932b002603bbf276acc44652d55999d65271d0d3012a122
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

About this model's family

OSNet (Omni-Scale Network) is a convolutional network designed for person re-identification (ReID). The paper argues that this task needs features that capture different spatial scales and also arbitrary combinations of several scales, which it calls omni-scale features.

Its residual block runs multiple convolutional streams, each detecting features at a certain scale. A unified aggregation gate then fuses the multi-scale features with channel-wise weights that depend on the input. The block uses pointwise and depthwise convolutions to learn spatial-channel correlations efficiently and to avoid overfitting. The paper describes the stacked network as lightweight and trainable from scratch on existing ReID benchmarks.

The paper reports results on six person ReID datasets, where OSNet outperformed most large-sized models. Torchreid is a PyTorch library for person re-identification that was developed for the OSNet project.

Key idea. OSNet builds a lightweight re-identification network from residual blocks whose multiple convolutional streams are fused by a unified aggregation gate with input-dependent channel-wise weights.

  • OSNet
  • Omni-Scale Network
  • omni-scale feature learning
  • person re-identification
  • ReID
  • re-ID
  • Torchreid
  • deep-person-reid
  • lightweight CNN

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

Cite the paper

@misc{zhou2019omniscalefeaturelearningperson,
      title={Omni-Scale Feature Learning for Person Re-Identification}, 
      author={Kaiyang Zhou and Yongxin Yang and Andrea Cavallaro and Tao Xiang},
      year={2019},
      eprint={1905.00953},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1905.00953}, 
}