Last active
June 9, 2018 20:30
-
-
Save tigershen23/dd27813bdd53a2835bcb876c0ae0b6b2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| adam_params = {"lr": 0.0005} | |
| optimizer = Adam(adam_params) | |
| svi = SVI(model, guide, optimizer, loss=Trace_ELBO()) | |
| n_steps = 2501 | |
| for step in range(n_steps): | |
| svi.step(data) | |
| if step % 100 == 0: | |
| print_progress() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment