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

Low mAP and CMC-1 #6

Open
youngryan1993 opened this issue Jan 2, 2019 · 1 comment
Open

Low mAP and CMC-1 #6

youngryan1993 opened this issue Jan 2, 2019 · 1 comment

Comments

@youngryan1993
Copy link

Hi, thanks for nice code.

However, I only change the batch size to 32 (origin code has 250), since the memory issue.

Then, the results is lower than that I thought.
(top1: 80.1% / top5: 92.2%/ top10:95.5%/Test Mean: 61.8%)

How can I do for improve the performance?

Thanks.

@yuminsuh
Copy link
Owner

yuminsuh commented Jan 7, 2019

Hi, sorry for my delay. In my experiments, setting batch size big enough (at least 150) was necessary to get high accuracy. It is because the triplet loss uses every composable triplet from each minibatch, and therefore, larger batch size means more triplets are seen in each iteration.
If it is hard to increase the batch size, how about trying hard sample mining to enlarge the number of effective triplets?

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

2 participants