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

Save / restore sampler / learned state? #105

Open
ahnitz opened this issue Mar 21, 2023 · 1 comment
Open

Save / restore sampler / learned state? #105

ahnitz opened this issue Mar 21, 2023 · 1 comment

Comments

@ahnitz
Copy link

ahnitz commented Mar 21, 2023

Is there a way to currently save or restore the sampler state (including the normalizing flow state)? Is this something that would be reasonable to add if contributed?

@kazewong
Copy link
Owner

@ahnitz There is a notebook on the documentation page about reusing the normalizing flow state. https://flowmc.readthedocs.io/en/latest/tutorials/mog_pretrain.html

I think there are some ways to export the sampler state, basically by pickling all the sampler state variables such as the step size. This is not implemented as a one-button standard implementation yet. We are going to make some quality-of-life improvements relatively soon. So stay tuned!

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