Skip to content

[ECCV2022] Unstructured Feature Decoupling for Vehicle Re-Identification (UFDN)

Notifications You must be signed in to change notification settings

damo-cv/UFDN-Reid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python >=3.5 PyTorch >=1.0

[ECCV2022] Unstructured Feature Decoupling for Vehicle Re-Identification (UFDN)

Unstructured Feature Decoupling for Vehicle Re-Identification pdf

News

  • 2022.7 We release the code of UFDN.

Pipeline

framework

Requirements

Installation

pip install -r requirements.txt
(we use /torch 1.7.1 /torchvision 0.8.2 /timm 0.3.2 /cuda 11.0 / 16G or 32G V100 for training and evaluation.)

Prepare Datasets

mkdir data

Download the vehicle datasets VehicleID, VeRi-776, VERIWILD. Then unzip them and rename them under the directory like

data
└── VeRi
    └── images ..
└── VehicleID
    └── images ..
└── VERI-WILD
    └── images ..

Datalist: VeRi-776

Prepare Res50 or Swin Pre-trained Models

You need to download the ImageNet pretrained transformer model : Res50, Swin-tiny.

Training

We utilize 1 GPU for training VeRi-776 Dataset

sh experiments/train_res50_UFDN_776.sh or train_swin_UFDN_776.sh

We utilize 1 GPU for training VehicleID Dataset

sh experiments/train_res50_UFDN_VehicleID.sh or train_swin_UFDN_VehicleID.sh

Trained Models and logs

We have reproduced the performance to verify the reproducibility. The reproduced results may have a gap of about 0.1-0.2% with the numbers in the paper.

Experiments
method backbone dataset Result log model
UFDN Res50 VeRi-776 81.5%/96.5% log model
UFDN Swin-tiny VeRi-776 80.8%/96.5%