silverbulletmdc / PVEN

Parsing based vehicle ReID
109 stars 24 forks source 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) #21

Open Zhanghao5200 opened 3 years ago

Zhanghao5200 commented 3 years ago

cmc,mAP,all_AP=eval_funcmp(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 commented 2 years ago

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