Giter VIP home page Giter VIP logo

2023-dhccn's Introduction

Distribution-Guided Hierarchical Calibration Contrastive Network for Unsupervised Person Re-Identification

This repository contains the author's implementation in PyTorch for the TCSVT paper "Distribution-Guided Hierarchical Calibration Contrastive Network for Unsupervised Person Re-Identification"

Our unified framework framework

Requirements

installation

pip install -r requirements.txt

##Prepare Datasets

cd examples && mkdir data

Download the person datasets Market-1501,MSMT17,PersonX,DukeMTMC-reID and the vehicle datasets VeRi-776 from aliyun. Then unzip them under the directory like

ClusterContrast/examples/data
├── market1501
│   └── Market-1501-v15.09.15
├── msmt17
│   └── MSMT17_V1
├── personx
│   └── PersonX
├── dukemtmcreid
│   └── DukeMTMC-reID

Training

We utilize 4 GTX-3090 GPUs for training.

examples:

Market-1501:

CUDA_VISIBLE_DEVICES=0,1,2,3 python examples/dhccn.py -b 256 -a hfe -d market1501 --iters 200 --momentum 0.4 --eps 0.4 --lamb=0.5 --noisy-threshold 0.1 --num-instances 16

MSMT17:

CUDA_VISIBLE_DEVICES=0,1,2,3 python examples/dhccn.py -b 256 -a hfe -d msmt17 --iters 400 --momentum 0.3 --eps 0.7 --lamb 0.7 --noisy-threshold 0.1 --num-instances 16

DukeMTMC-reID:

CUDA_VISIBLE_DEVICES=0,1,2,3 python examples/dhccn.py -b 256 -a resnet50 -d dukemtmcreid --iters 200 --momentum 0.1 --eps 0.6 --lamb 0.5 --noisy-threshold 0.1 --num-instances 16

Personx:

CUDA_VISIBLE_DEVICES=0,1,2,3 python examples/dhccn.py -b 256 -a resnet50 -d personx --iters 200 --momentum 0.1 --eps 0.7 --lamb 0.5 --noisy-threshold 0.1 --num-instances 16

Acknowledgements

The code is based on CCL licensed under MIT.

2023-dhccn's People

Contributors

li-yongxi avatar

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.