-
Notifications
You must be signed in to change notification settings - Fork 247
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
Fixes random_flax_module
with flax.linen.BatchNorm
#1823
Conversation
# test svi | ||
guide = AutoDelta(model) | ||
svi = SVI(model, guide, numpyro.optim.Adam(0.01), Trace_ELBO()) | ||
svi.run(random.PRNGKey(100), 10) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without these SVI lines, the tests were passing in the master
branch. Once added, we got the error. The suggested fix in the issue does solve it.
The first two commits are from an old branch 🤦 . We can squash and merge instead. |
@fehiepsi should I leave |
Leaving it in Thanks for fixing the issue! |
Fixes #1446