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

Updates HMC sampler to recent TFP version #46

Closed
wants to merge 1 commit into from
Closed

Conversation

EiffL
Copy link
Member

@EiffL EiffL commented Aug 2, 2021

This PR will aim to bring our score-based samplers up to date with recent TFP version. Mainly they have introduced new arguments for the samplers.

This is currently just a draft PR, only updated the HMC sampler but not the temperedMC class.... because I gave up trying to turn the sample_maps.py script into a notebook >.< Which motivates #45

@b-remy
Copy link
Member

b-remy commented Aug 3, 2021

I will try to clean sample_maps.py to make things easier to work with :-)

In the mean time, you can take a look to this notebook https://github.com/CosmoStat/jax-lensing/blob/master/papers/Remy2021/PosteriorSampling.ipynb, which does more or less the same thing as sample_maps.py. I think that we can add a few lines before the ODE sampler to perform HMC.

@b-remy
Copy link
Member

b-remy commented Aug 25, 2021

This PR is solved by #47

@EiffL EiffL closed this Oct 23, 2021
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.

2 participants