HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

TransReID: Transformer-based Object Re-Identification

Shuting He Hao Luo Pichao Wang Fan Wang Hao Li Wei Jiang

TransReID: Transformer-based Object Re-Identification

Abstract

Extracting robust feature representation is one of the key challenges in object re-identification (ReID). Although convolution neural network (CNN)-based methods have achieved great success, they only process one local neighborhood at a time and suffer from information loss on details caused by convolution and downsampling operators (e.g. pooling and strided convolution). To overcome these limitations, we propose a pure transformer-based object ReID framework named TransReID. Specifically, we first encode an image as a sequence of patches and build a transformer-based strong baseline with a few critical improvements, which achieves competitive results on several ReID benchmarks with CNN-based methods. To further enhance the robust feature learning in the context of transformers, two novel modules are carefully designed. (i) The jigsaw patch module (JPM) is proposed to rearrange the patch embeddings via shift and patch shuffle operations which generates robust features with improved discrimination ability and more diversified coverage. (ii) The side information embeddings (SIE) is introduced to mitigate feature bias towards camera/view variations by plugging in learnable embeddings to incorporate these non-visual clues. To the best of our knowledge, this is the first work to adopt a pure transformer for ReID research. Experimental results of TransReID are superior promising, which achieve state-of-the-art performance on both person and vehicle ReID benchmarks.

Code Repositories

darrishabh/coviprox
pytorch
Mentioned in GitHub
heshuting555/TransReID
Official
pytorch
Mentioned in GitHub
ChristmasStory/TransReID-main
pytorch
Mentioned in GitHub
damo-cv/transreid
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
person-re-identification-on-dukemtmc-reidTransReID (w/o RK)
Rank-1: 91.1
mAP: 82.1
person-re-identification-on-market-1501TransReID (w/o RK)
Rank-1: 95.2
mAP: 89.5
person-re-identification-on-market-1501-cTransReID
Rank-1: 53.19
mAP: 27.38
mINP: 1.98
person-re-identification-on-msmt17TransReID
Rank-1: 86.20
mAP: 69.40
vehicle-re-identification-on-veri-776TransReID
Rank-1: 97.1
mAP: 82.3

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp