-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Worse results after running PGO #688
Comments
Would it be possible to provide the g2o files of this examples? For python, maybe you want to try https://github.com/miquelmassot/g2o-python for a more up to date wrapper. |
Sure. See the file with the trajectories attached. I don't think that there's a global rotation - both trajectories are quite close to each other in the 3D space. See the visualization attached. I know it's not the best one, but the blue pyramids stand for the GT trajectory, and the orange one for the predicted one. I measure the absolute translation error. Will try aligning them, thanks. Just to mention, I've tried the approach proposed by PyPose from CVPR2023 and it optimized the trajectories almost perfectly given the same g2o file: However, it's way more slower compared to g2o. |
The file I noticed that you set two vertices to fixed. Both will not be changed during the optimization but used as anchors. |
Yes, it is an optimized g2o result. Here are the trajectories before optimization: raw_trajectories.zip The fixed vertices are fixed by design: we don't want to change them during the optimization. |
You mentioned that PyPose yields a different result. If the solution of PyPose is lower than Gauss-Newton and Levenberg are running into a local minima. |
I have 4 trajectories: 2 predicted and 2 corresponding ground truths.
2 predicted trajectories and 2 ground truths are concatenated and shown here:
Now I want to improve the predicted trajectories. I define the correspondences between them and take respective ground truth transformations between the correspondences and add them as constraints. The correspondences are shown here:
Further, I run PGO (Python wrapper) with a very standard setup from this readme.
The optimized predicted trajectory is actually worse than the predicted one:
I also compute the metrics and they show that is actually worse not only visually.
Is there something that I'm missing?
The text was updated successfully, but these errors were encountered: