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

Add validation data support to flow fitting #3

Merged
merged 11 commits into from
Nov 9, 2023
Merged

Add validation data support to flow fitting #3

merged 11 commits into from
Nov 9, 2023

Conversation

davidnabergoj
Copy link
Owner

This PR adds the option to fit normalizing flows with validation data, as well as documentation and tests. This means showing the validation loss in the progress bar, optionally keeping the weights which yield the smallest validation loss, and to optionally stop fitting early after no improvement in validation loss for a specified number of epochs. The changes are showcased in a notebook. There is also support for conditional normalizing flows, i.e. fitting conditional on context data.

@davidnabergoj davidnabergoj merged commit 3b9d686 into master Nov 9, 2023
5 checks passed
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

Successfully merging this pull request may close these issues.

1 participant