Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some wrong with the code? #44

Open
yfzhang114 opened this issue Oct 17, 2020 · 2 comments
Open

Some wrong with the code? #44

yfzhang114 opened this issue Oct 17, 2020 · 2 comments

Comments

@yfzhang114
Copy link

Firstly, in Alignedreid_demo.py Line 21, we don't import os while using the following code
os.environ['CUDA_VISIBLE_DEVICES'] = "0"

Second, is there anything noteworthy? I follow the original config and run python train_alignedreid.py -d market1501 -a resnet50 --test_distance global_local --reranking --labelsmooth, finally I got the follow result:
Computing local distance...
Using global and local branches for reranking
using GPU to compute original distance
starting re_ranking
Computing CMC and mAP for re_ranking
Results ----------
mAP(RK): 46.7%
CMC curve(RK)
Rank-1 : 63.3%
Rank-5 : 76.7%
Rank-10 : 82.0%
Rank-20 : 86.8%

==> Best Rank-1 63.3%, achieved at epoch 300
Finished. Total elapsed time (h:m:s): 6:26:50. Training time (h:m:s): 6:01:18.

It is not normal, and I notice that my GLoss and Lloss is near to 0, is it normal? And if not, Can you give me some advice?

@faedtodd
Copy link

I got really bad results when I train with multi gpus, try "CUDA_VISIBLE_DEVICES='0' python train****.py "

@AMiull
Copy link

AMiull commented Sep 2, 2021

So am I.Have you solved the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants