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

Sources of nondeterministic behavior #307

Closed
mihaibujanca opened this issue May 3, 2021 · 1 comment
Closed

Sources of nondeterministic behavior #307

mihaibujanca opened this issue May 3, 2021 · 1 comment

Comments

@mihaibujanca
Copy link

I would like to try to characterize the degree of variability between runs and reduce it to whatever degree this is possible.
This would allow for improved reproducibility on benchmarks and possibly improving guidelines for choosing hyperparameters based on the specific use case.

Currently, I can think of the following sources:

  • Multithreading
  • Widespread use of RANSAC
  • Keyframe selection
  • Other elements in pose optimisation?

Even if getting to fully deterministic behavior might be too big of a task, some help in identifying the sources of randomness and some bounds would be greatly appreciated.

Relevant threads / resources:
raulmur/ORB_SLAM2#45
raulmur/ORB_SLAM2#283

@jdtardos
Copy link
Member

You are correct, multithreading, RANSAC and Keyframe selection are the main sources of non-deterministic behavior. Fixing RANSAC is doable, but I don't think that fixing multithreading is doable, and it influences keyframe creation.

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

2 participants