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

Allow randomness='same' with RealNVP.samples #8

Open
hombit opened this issue Jul 10, 2023 · 0 comments
Open

Allow randomness='same' with RealNVP.samples #8

hombit opened this issue Jul 10, 2023 · 0 comments

Comments

@hombit
Copy link

hombit commented Jul 10, 2023

We can use NFs not for variance estimation only, but for covariance estimation as well. For this we need to sample input batch with the same random seeds. I've found that it is probably achievable with torch.func.vmap(randomness='same') stabilized in PyTorch v2 (see #7 for torch upgrading issue), but I cannot make it work.

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