All models

PCB-ResNet50

PCB slices a ResNet-50 feature map into six horizontal stripes, each with its own identity classifier.

Detection and tracking · 213 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 (24 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
PCB
Parameters
27.2M
Operations
213
Framework
PyTorch
Recurrent
No
Published
ECCV 2018
Cited by
2,655 (as of 17 October 2026)
Authors
Yifan Sun, Liang Zheng, Yi Yang 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
m2091
Graph hash
1b0ab5d6f5690279135d90a2e7056df78ef3aab2b15a7e88d1443382c1d11fd4
Skeleton hash
bf48b874a134b842e50c1457769b918375f8ae111232f2ed6d061248800bd63d
Architecture hash
3a1da0109ad3091eb05de197755f74098d65f79a9ac8fe034b76bd2488179eba
Diagram SHA-256
8db70f9fe0ba130b4b832e18f5b6dc84d7252b409dd74a14d4cfb5f40be1e0ac
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

PCB, the Part-based Convolutional Baseline, is a network for person retrieval, also known as person re-identification: given a query image of a person, it retrieves images of that person from a large database. It earns the word baseline because, with nothing more than a uniform partition, it reaches results competitive with the state of the art. Given an image input, it outputs a convolutional descriptor consisting of several part-level features.

The backbone is ResNet50, chosen for its competitive performance and relatively concise architecture. Everything before the global average pooling layer is kept, and that layer and what follows are removed. The resulting activation tensor is split into p horizontal stripes, and the column vectors in each stripe are averaged into one part-level vector. A convolution reduces each part vector to 256 dimensions, and each then goes to its own fully-connected classifier with a Softmax that predicts the identity. Training minimizes the sum of cross-entropy losses over the p identity predictions, and at test time the part vectors are concatenated into the final descriptor. The tuned settings are 384 × 128 input images, a 24 × 8 feature tensor and 6 equal horizontal stripes. PCB also removes the last spatial down-sampling operation in the backbone to enlarge that tensor, a trick borrowed from detectors.

On Market-1501 the convolutional descriptor lifts rank-1 accuracy from 85.3% to 92.3% and mAP from 68.5% to 77.4% over the usual fully-connected descriptor. The same paper proposes refined part pooling (RPP), which re-assigns outlier column vectors to the part they are closest to. The official code trains PCB and RPP separately, and reports about 93.0% rank-1 accuracy and 78.0% mAP on Market-1501 for PCB with Pytorch 0.4.0. The second captured port comes from the Person_reID_baseline_pytorch codebase, which lists Part-based Convolutional Baseline(PCB) among its supported features.

Key idea. PCB shows that a uniform horizontal partition of the backbone's final feature tensor, with a separate classifier supervising each stripe, yields a convolutional part descriptor far more discriminative than the usual fully-connected one. The separate supervision matters: averaging the parts under a single loss or sharing classifier weights were both inferior.

  • PCB
  • Part-based Convolutional Baseline
  • person retrieval
  • person re-identification
  • re-ID
  • part-level features
  • horizontal stripes
  • Market-1501
  • DukeMTMC-reID
  • CUHK03
  • PCB_RPP_for_reID
  • Person_reID_baseline_pytorch

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

Cite the paper

@misc{sun2018modelspersonretrievalrefined,
      title={Beyond Part Models: Person Retrieval with Refined Part Pooling (and a Strong Convolutional Baseline)}, 
      author={Yifan Sun and Liang Zheng and Yi Yang and Qi Tian and Shengjin Wang},
      year={2018},
      eprint={1711.09349},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1711.09349}, 
}