You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.
I have always been getting a huge translation error despite somewhat reasonable numbers on other metrics when training on the customized items.
2019-03-26 11:52:50 Mean corner error is 6.589319
2019-03-26 11:52:50 Acc using 5 px 2D Projection = 35.38%
2019-03-26 11:52:50 Acc using 0.0194 vx 3D Transformation = 34.59%
2019-03-26 11:52:50 Acc using 5 cm 5 degree metric = 44.50%
2019-03-26 11:52:50 Translation error: 35712796398.714020, angle error: 44.276071
I originally thought there is something wrong with my provided ground truth labels or the mesh used, but the estimated rotation and translation through the pnp algorithm for the ground truth labels appears to be right, while the R and T for the predicted points from the pnp algorithm is all over the place and obviously wrong.
What could be the possible cause of this huge translation error?
The text was updated successfully, but these errors were encountered:
Hello, the first thing I would check would be if the 2D predictions (before PnP) are accurate by visualizing them. Actually the mean corner error that you report reflects that the 2D predictions are quite accurate. My guess is that the problem comes from the PnP stage. To fix that, I would make sure if the 3D point coordinates are in an appropriate unit (e.g. mm or m) and if the intrinsic matrix is correct. I would maybe suggest to follow the same units for the LINEMOD dataset. You could also find the discussion in Issue #49 and #68 useful to check if your .ply file is correctly formed.
Thank you for your reply! I think the occasional huge translation is caused by the PNP algorithm, I adjusted my distortion coefficient and use cv2.solvePnPRansac instead of solvePnP and now the problem is gone ...
I have always been getting a huge translation error despite somewhat reasonable numbers on other metrics when training on the customized items.
2019-03-26 11:52:50 Mean corner error is 6.589319
2019-03-26 11:52:50 Acc using 5 px 2D Projection = 35.38%
2019-03-26 11:52:50 Acc using 0.0194 vx 3D Transformation = 34.59%
2019-03-26 11:52:50 Acc using 5 cm 5 degree metric = 44.50%
2019-03-26 11:52:50 Translation error: 35712796398.714020, angle error: 44.276071
I originally thought there is something wrong with my provided ground truth labels or the mesh used, but the estimated rotation and translation through the pnp algorithm for the ground truth labels appears to be right, while the R and T for the predicted points from the pnp algorithm is all over the place and obviously wrong.
What could be the possible cause of this huge translation error?
The text was updated successfully, but these errors were encountered: