All Projects → 98zyx → Hetero-center-loss-for-cross-modality-person-re-id

98zyx / Hetero-center-loss-for-cross-modality-person-re-id

Licence: MIT license
Code for paper "Hetero-center loss for cross-modality person re-identification"

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Hetero-center-loss-for-cross-modality-person-re-id

HiCMD
[CVPR2020] Hi-CMD: Hierarchical Cross-Modality Disentanglement for Visible-Infrared Person Re-Identification
Stars: ✭ 64 (+36.17%)
Mutual labels:  person-reidentification, cross-modality-re-identification
Image Text Embedding
TOMM2020 Dual-Path Convolutional Image-Text Embedding https://arxiv.org/abs/1711.05535
Stars: ✭ 223 (+374.47%)
Mutual labels:  person-reidentification
Person search
Joint Detection and Identification Feature Learning for Person Search
Stars: ✭ 666 (+1317.02%)
Mutual labels:  person-reidentification
Reid Mgn
Reproduction of paper: Learning Discriminative Features with Multiple Granularities for Person Re-Identification
Stars: ✭ 145 (+208.51%)
Mutual labels:  person-reidentification
Rollback
Backbone Can Not be Trained at Once: Rolling Back to Pre-trained Network for Person Re-Identification (AAAI2019)
Stars: ✭ 33 (-29.79%)
Mutual labels:  person-reidentification
Self Similarity Grouping
Self-similarity Grouping: A Simple Unsupervised Cross Domain Adaptation Approach for Person Re-identification (ICCV 2019, Oral)
Stars: ✭ 171 (+263.83%)
Mutual labels:  person-reidentification
Eanet
EANet: Enhancing Alignment for Cross-Domain Person Re-identification
Stars: ✭ 380 (+708.51%)
Mutual labels:  person-reidentification
Dispersion-based-Clustering
The source code for our work "Towards better Validity: Dispersion based Clustering for unsupervised Person Re-identification"
Stars: ✭ 33 (-29.79%)
Mutual labels:  person-reidentification
Learning Via Translation
Image-Image Domain Adaptation with Preserved Self-Similarity and Domain-Dissimilarity for Person Re-identification (https://arxiv.org/pdf/1711.07027.pdf). CVPR2018
Stars: ✭ 202 (+329.79%)
Mutual labels:  person-reidentification
Attribute Aware Attention
[ACM MM 2018] Attribute-Aware Attention Model for Fine-grained Representation Learning
Stars: ✭ 143 (+204.26%)
Mutual labels:  person-reidentification
Fast Reid
SOTA Re-identification Methods and Toolbox
Stars: ✭ 2,287 (+4765.96%)
Mutual labels:  person-reidentification
Dg Net
Joint Discriminative and Generative Learning for Person Re-identification. CVPR'19 (Oral)
Stars: ✭ 1,042 (+2117.02%)
Mutual labels:  person-reidentification
Awesome Person Re Identification
Awesome Person Re-Identification
Stars: ✭ 184 (+291.49%)
Mutual labels:  person-reidentification
Generalizing Reid
Repository of the paper "Generalizing Person Re-Identification by Camera-Aware Instance Learning and Cross-Domain Mixup"
Stars: ✭ 28 (-40.43%)
Mutual labels:  person-reidentification
Dgd person reid
Domain Guided Dropout for Person Re-identification
Stars: ✭ 229 (+387.23%)
Mutual labels:  person-reidentification
Awesome Person Re Identification
Awesome Person Re-identification
Stars: ✭ 642 (+1265.96%)
Mutual labels:  person-reidentification
Naic person reid dmt
This is Top 3 Code for the Person ReID Compitition of NAIC
Stars: ✭ 137 (+191.49%)
Mutual labels:  person-reidentification
Person Reid Gan Pytorch
A Pytorch Implementation of "Unlabeled Samples Generated by GAN Improve the Person Re-identification Baseline in vitro"(ICCV17)
Stars: ✭ 147 (+212.77%)
Mutual labels:  person-reidentification
Awesome-Cross-Domain-Person-Re-identification
Awesome-Cross-Domain-Person-Re-identification
Stars: ✭ 17 (-63.83%)
Mutual labels:  person-reidentification
Person reid baseline pytorch
Pytorch ReID: A tiny, friendly, strong pytorch implement of object re-identification baseline. Tutorial 👉https://github.com/layumi/Person_reID_baseline_pytorch/tree/master/tutorial
Stars: ✭ 2,963 (+6204.26%)
Mutual labels:  person-reidentification

Hetero-center-loss-for-cross-modality-person-re-id

Code for paper "Hetero-center loss for cross-modality person re-identification"

Update:

2020-06-03: Because pytorch split the data of a batch to each gpu when using multi-gpus, the loss may be incorrectly computed. The users may need to use single gpu to reproduce the experimental results in the paper.

2020-01-07: we fix up a bug in learning rate schedule, before that only the first three parameter group's learning rate will be correctly decay to 1/10. However, after fixing up the bug, the model's performance still stay the same. The updated model and code have been upload.

Requirments:

pytorch: 0.4.1(the higher version may lead to performance fluctuation)

torchvision: 0.2.1

numpy: 1.17.4

python: 3.7

Dataset:

SYSU-MM01

Reg-DB

Run:

SYSU-MM01:

  1. prepare training set
python pre_process_sysu.py
  1. train model
python train.py --dataset sysu --lr 0.01 --drop 0.0 --trial 1 --gpu 1 --epochs 60 --w_hc 0.5 --per_img 8 
  • (Notice that you need to set the 88 line in train.py to your SYSU-MM01 dataset path)
  1. evaluate model(single-shot all-search)
python test.py --dataset sysu --lr 0.01 --drop 0.0 --trial 1 --gpu 1 --low-dim 512 --resume 'Your model name' --w_hc 0.5 --mode all --gall-mode single --model_path 'Your model path'

Reg-DB:

  1. train model
python train.py --dataset regdb --lr 0.01 --drop 0.0 --trial 1 --gpu 1 --epochs 60 --w_hc 0.5 --per_img 8
  1. evaluate model
python test.py --dataset regdb --lr 0.01 --drop 0.0 --trial 1 --gpu 1 --low-dim 512 --resume 'Your model name' --w_hc 0.5  --model_path 'Your model path'

Results:

Dataset Rank1 mAP model
SYSU-MM01 ~56% ~54% BaiduYun(code:y2em)
RegDB ~83% ~72% BaiduYun(code:y2em)

Tips:

Because this is the first time I use Github to release my code, maybe this project is a little difficult to read and use. If you have any question, please don't hesitate to contact me ([email protected]). I will reply to you as soon as possible.

Most of the code are borrowed from https://github.com/mangye16/Cross-Modal-Re-ID-baseline. I am very grateful to the author (@mangye16) for his contribution and help.

If you think this project useful, please give me a star and cite following papers:

[1] Zhu Y, Yang Z, Wang L, et al. Hetero-Center Loss for Cross-Modality Person Re-Identification[J]. Neurocomputing, 2019.

[2] Ye M, Lan X, Wang Z, et al. Bi-directional Center-Constrained Top-Ranking for Visible Thermal Person Re-Identification[J]. IEEE Transactions on Information Forensics and Security, 2019.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].