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

推理阶段的局部特征距离:local_distmat ** 2 #54

Open
chen8573 opened this issue May 19, 2023 · 1 comment
Open

推理阶段的局部特征距离:local_distmat ** 2 #54

chen8573 opened this issue May 19, 2023 · 1 comment

Comments

@chen8573
Copy link

作者您好,请问在推理阶段计算cmc以及map时,如下代码中:为甚local_distmat要进行平方操作?
cmc, mAP, all_AP = eval_func_mp(distmat + self.lambda_ * (local_distmat ** 2), q_pids, g_pids, q_camids, g_camids,
remove_junk=self.remove_junk)

@silverbulletmdc
Copy link
Owner

distmat在之前计算时平方过了,为了统一量纲

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