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

Change random seed for the data-driven part every time it gets reset and re-initialised #132

Open
tobias-liaudat opened this issue Mar 18, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@tobias-liaudat
Copy link
Member

When we are working in the phase retrieval configuraiton it is important that each time we re-initialise the data-driven part we use a different seed so that we can restart the optimisation from a different point in the optimisation landscape.

The reset is handled through the TF_NP_poly_OPD.init_vars() method that re-initialises the data-driven part. However, the random seed is set to the config file random seed each time it is done.

If we're running several cycles we need to change the seed that is being set each time we re-initialise the data-driven part.

@tobias-liaudat tobias-liaudat added the bug Something isn't working label Mar 18, 2024
@tobias-liaudat tobias-liaudat self-assigned this Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant