-
Notifications
You must be signed in to change notification settings - Fork 9
Description
hi,
I was experimenting with few modifications of your method, and I am currently trying to understand how to properly evaluate the regressed pose. In particular, say we are in forward_emm func in mp3d_loftr/src/loftr/loftr_module/transformer.py, and we have pred_reg_6d that contains the pose, with the first three elements of each batch being the translation and the next 6 is the 6d representation of the rotation.
consider I also have access to the point correspondences and everything that we need to compute inliers, then do we first need to unnormalize?
pred_reg_6d_r_norm = pred_reg_6d[...,3:].cpu().detach() * pose_std_6d[...,3:].cpu() + pose_mean_6d[...,3:].cpu()
pred_reg_t_norm = pred_reg_t * pose_std_6d[...,:3].cpu() + pose_mean_6d[...,:3].cpu()
I am getting very low inlier ratios with that pose (<0.1% inliers) while the estimated pose using loftr might have >70-80% inliers.
It is unclear to me, based on the code, how to transform the regressed pose so that it is in the original space and I can count inliers. Could you look into that?
Thanks!