GithubHelp home page GithubHelp logo

Comments (8)

 avatar commented on July 20, 2024 3

For better performance ,I found another implementation:

Alignedreid++: Dynamically Matching Local Information for Person Re-Identification.
Code

from alignedreid-re-production-pytorch.

huanghoujing avatar huanghoujing commented on July 20, 2024

我的实验结果是这样的,如果有更好的实验结果,欢迎告知哈。

from alignedreid-re-production-pytorch.

ZHHJemotion avatar ZHHJemotion commented on July 20, 2024

@huanghoujing Hi houjing! But when I trained the model with local branch(local loss and local_dist_own_hard_sample=True) on three datasets, it showed no ~1 point improvement, even worse! I am not clear why? Could you please show me the parameters you set? Thanks a lot!

from alignedreid-re-production-pytorch.

huanghoujing avatar huanghoujing commented on July 20, 2024

@ZHHJemotion Do you mean GL + TWGD 87.05% vs GL + LL + TWGALD 88.18% in the Train on Market1501 sheet of AlignedReID-Scores.xlsx? If you refer to this, then it is simply:

python script/experiment/train.py \
-d '(0,)' \
-r 1 \
--dataset market1501 \
--ids_per_batch 32 \
--ims_per_id 4 \
--normalize_feature false \
-gm 0.3 \
-glw 1 \
-llw 0 \
-idlw 0 \
--base_lr 2e-4 \
--lr_decay_type exp \
--exp_decay_at_epoch 151 \
--total_epochs 300

vs.

python script/experiment/train.py \
-d '(0,)' \
-r 1 \
--dataset market1501 \
--ids_per_batch 32 \
--ims_per_id 4 \
--normalize_feature false \
--local_dist_own_hard_sample true \
-gm 0.3 \
-glw 1 \
-llw 1 \
-idlw 0 \
--base_lr 2e-4 \
--lr_decay_type exp \
--exp_decay_at_epoch 151 \
--total_epochs 300

from alignedreid-re-production-pytorch.

ZHHJemotion avatar ZHHJemotion commented on July 20, 2024

@huanghoujing Yes. It is that! And I have the last one question: for with mutual learning, would it improve ~1 points with local distance than without local distance? is "~1 point improvement" also suitable for CUHK03 and Duke? But my experiemnt on CUHK03 and Duke didn't get ~1 point improvement, adding local distance shows similar with that without local distance. Thanks!

from alignedreid-re-production-pytorch.

huanghoujing avatar huanghoujing commented on July 20, 2024

@ZHHJemotion In my provided scores, when mutual loss is used, with and without local distance make no much difference.

from alignedreid-re-production-pytorch.

Ken5YX avatar Ken5YX commented on July 20, 2024

Hi houjing! Why does ldm_loss work only if the local_dist_own_hard_sample is true? The paper mentioned they trained the network with both global and local loss, and only use global features in the inference stage.

from alignedreid-re-production-pytorch.

vincentman avatar vincentman commented on July 20, 2024

GL + LL + TWGALD:
python script/experiment/train.py
-d '(0,)'
-r 1
--dataset market1501
--ids_per_batch 32
--ims_per_id 4
--normalize_feature false
--local_dist_own_hard_sample true
-gm 0.3
-glw 1
-llw 1
-idlw 0
--base_lr 2e-4
--lr_decay_type exp
--exp_decay_at_epoch 151
--total_epochs 300

Hi @huanghoujing , If I want to train with both global and local distance loss, how do I set glw and llw? According to above script parametres, what does "glw=1 and llw=1" mean? Why does it not make
"glw+llw=1"? For example, glw=0.5 and llw=0.5.

from alignedreid-re-production-pytorch.

Related Issues (20)

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.