Giter Site home page Giter Site logo

xlearning-scu / 2022-cvpr-dart Goto Github PK

View Code? Open in Web Editor NEW
29.0 2.0 7.0 565 KB

PyTorch implementation for Learning with Twin Noisy Labels for Visible-Infrared Person Re-Identification (CVPR 2022).

Python 100.00%
person-reid cross-modality-re-identification learning-with-noisy-labels

2022-cvpr-dart's Introduction

PyTorch implementation for Learning with Twin Noisy Labels for Visible-Infrared Person Re-Identification (CVPR 2022).

Introduction

DART framework

Requirements

  • Python 3.7
  • PyTorch ~1.7.1
  • numpy
  • scikit-learn

Datasets

SYSU-MM01 and RegDB

We follow ADP to obtain datasets.

Training and Evaluation

Training

Modify the data_path and specify the noise_ratio to train the model.

# SYSU-MM01: noise_ratio = {0, 0.2, 0.5}
python run.py --gpu 0 --dataset sysu --data-path data_path --noise-rate 0.2 --savename sysu_dart_nr20 

# RegDB: noise_ratio = {0, 0.2, 0.5}, trial = 1-10
python run.py --gpu 0 --dataset regdb --data-path data_path --noise-rate 0.2 --savename regdb_dart_nr20 --trial 1

Evaluation

Modify the data_path and model_path to evaluate the trained model.

# SYSU-MM01: mode = {all, indoor}
python test.py --gpu 0 --dataset sysu --data-path data-path --model_path model_path --resume-net1 'sysu_dart_nr20_net1.t' --resume-net2 'sysu_dart_nr20_net2.t' --mode all

# RegDB: --tvsearch or not (whether thermal to visible search)
python test.py --gpu 0 --dataset regdb --data-path data-path --model_path model_path --resume-net1 'regdb_dart_nr20_trial{}_net1.t' --resume-net2 'regdb_dart_nr20_trial{}_net2.t'

Citation

If DART is useful for your research, please cite the following paper:

@InProceedings{Yang_2022_CVPR,
    author={Yang, Mouxing and Huang, Zhenyu and Hu, Peng and Li, Taihao and Lv, Jiancheng and Peng, Xi},
    title={Learning With Twin Noisy Labels for Visible-Infrared Person Re-Identification},
    booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
    month={June},
    year={2022},
    pages={14308-14317}
}

License

Apache License 2.0

Acknowledgements

The code is based on ADP licensed under Apache 2.0.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.