Closed 4-0-4-notfound closed 2 years ago
Thanks for your attention. The score is the predicted visibility.
1、for calculating the AP, is it need to filter the vs_picked_idx = pred_vis_val > 0.45
?
2、And what is pred_conf_val
used for?
3、which kind of projectionType is used for generetate GT, orthogonal
or perspective
?
4、it seem the t
is need to scale 1000 to get AP? self.dataset['data'] *= scale (1000)
Thanks for your response. So pred_conf_val
is not involved in calculating AP?
Yes, you can ignore it if you haven't trained the conf branch, because it is the post-processing optimization.
Thanks a lot
There are the codes that you can refer to.
# filter objects with vs lower than vs_threshold
vs_threshold = 0.45
pred_results = list(zip(pred_vs_cluster, cluster_center_pred, cluster_mat_pred))
pred_results = [ rst for rst in pred_results if rst[0] > vs_threshold ]
pred_results.sort(key=lambda x:x[0], reverse=True)
result_list = []
for rst in pred_results:
tmp_dict = {}
tmp_dict['score'] = 1.0 * rst[0]
tmp_dict['t'] = (rst[1] / 1000.0).tolist()
tmp_dict['R'] = rst[2].tolist()
result_list.append(tmp_dict)
Hello, i want to reproduce your result in the paper. The evaluation tool needs r , t, and score to get the final AP result. I want to know how to get these values from your code. It seems the
cluster_mat_pred
cluster_center_pred
is ther
andt
, but how to get thescore
?Could you provide the example code?