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

cmc,mAP,all_AP = eval_func_mp(distmat+self.lambda_*local_distmat,q_pids,g_pids,q_camids,g_camids,remove_junk=self.remove_junk) ValueError: not enough values to unpack (expected 3, got 2) #21

Open
Zhanghao5200 opened this issue Jan 8, 2021 · 1 comment

Comments

@Zhanghao5200
Copy link

cmc,mAP,all_AP=eval_func_mp(distmat+self.lambda_*local_distmat,q_pids,g_pids,q_camids,g_camids,remove_junk=self.remove_junk)
一直在报这个错,是怎么回事?
ValueError: not enough values to unpack (expected 3, got 2)

@Dosimz
Copy link

Dosimz commented Jul 1, 2022

进入eval_func_mp函数,可以看到返回的值有两个 return all_cmc, mAP
将返回值改成三个对应后面这cmc,mAP,all_AP 三个的赋值

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