Git Product home page Git Product logo

gi-reid's Introduction

GI-ReID

Code release for "Cloth-Changing Person Re-identification from A Single Image with Gait Prediction and Regularization". More files are coming soon.

Sorry for delay. Due to an unexpected "Reject" received from reviewer, here we only provide the metarials for Baseline now (including dataloader files for multiple colth-changing reid datasets). The rest parts about gait prediction and regularization will be released upon acceptance.

Training and eval setting of Baseline w.r.t the different cloth-changing datasets

LTCC standard eval setting (all training setting):

nohup python train_imgreid_xent_htri.py --gpu-devices 1 --root /data1/Datasets_jinx/Cloth-ReID/reid_datasets/ -s ltcc -t ltcc -a resnet50_fc512 --height 256 --width 128 --max-epoch 60 --stepsize 20 40 --lr 0.0003 --train-batch-size 32 --test-batch-size 100 --save-dir ../debug_dir/test_ltcc3 --train-with-all-cloth --use-standard-metric --eval-freq 10 > ./debug3.log 2>&1 &

LTCC cloth-changing eval setting (all training setting):

Note that, if use --use-cloth-changing-metric, must add (g_pids[order] == q_pid) & ((g_cloids[order] == q_cloid) | (g_camids[order] == q_camid)):

nohup python train_imgreid_xent_htri.py --gpu-devices 1 --root /data1/Datasets_jinx/Cloth-ReID/reid_datasets/ -s ltcc -t ltcc -a resnet50_fc512 --height 256 --width 128 --max-epoch 60 --stepsize 20 40 --lr 0.0003 --train-batch-size 32 --test-batch-size 100 --save-dir ../debug_dir/test_ltcc3 --train-with-all-cloth --use-cloth-changing-metric --eval-freq 10 > ./debug5.log 2>&1 &

PRCC same-cloth eval setting:

must using cuhk03 eval protocal, and did not remove anything:

nohup python train_imgreid_xent_htri.py --gpu-devices 1 --root /data1/Datasets_jinx/Cloth-ReID/reid_datasets/ -s prcc -t prcc -a resnet50_fc512 --height 256 --width 128 --max-epoch 60 --stepsize 20 40 --lr 0.0003 --train-batch-size 32 --test-batch-size 100 --save-dir ../debug_dir/test_prcc --same-clothes --just-for-prcc-test --use-metric-cuhk03 --eval-freq 10 > ./debug8_prcc.log 2>&1 &

PRCC cloth-changing eval setting:

nohup python train_imgreid_xent_htri.py --gpu-devices 1 --root /data1/Datasets_jinx/Cloth-ReID/reid_datasets/ -s prcc -t prcc -a resnet50_fc512 --height 256 --width 128 --max-epoch 60 --stepsize 20 40 --lr 0.0003 --train-batch-size 32 --test-batch-size 100 --save-dir ../debug_dir/test_prcc --cross-clothes --just-for-prcc-test --use-metric-cuhk03 --eval-freq 10 > ./debug9_prcc.log 2>&1 &

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.