Skip to content
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

Random output of trajectories(ATE) on multiple runs of DROID-SLAM algorithm #113

Open
surajiitd opened this issue Sep 11, 2023 · 1 comment

Comments

@surajiitd
Copy link

surajiitd commented Sep 11, 2023

Dear Authors, Thanks for the code!
On running on a particular sequence of images multiple times, the output of DROID-SLAM varies a bit. On debugging, I found out that the randomness of the output was due to the DBA code written in c++ (the flow updates(at first time) were same across multiple runs but after DBA the output become different accross multiple runs). Could you please tell which particular part of the DBA code is the origin of this randomness of trajectories?
@zachteed @lahavlipson @xiesc @jiadeng
Thanks in advance.

@surajiitd
Copy link
Author

surajiitd commented Jan 9, 2024

The same inputs go to this function droid_backends.ba() across multiple runs on same video, but the results of poses and depths after that were not same across different runs. So this droid_backends.ba() function is the source of randomness. I believe it is calling this function ba_cuda(). So could you tell which operation inside this cuda function is making the result unreproducible across different runs??
And is there some way to make that reproducible?
@lahavlipson @zachteed ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant