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

AttributeError in GP modeling with jaxns integration #812

Open
fcotizelati opened this issue Mar 27, 2024 · 1 comment
Open

AttributeError in GP modeling with jaxns integration #812

fcotizelati opened this issue Mar 27, 2024 · 1 comment

Comments

@fcotizelati
Copy link

While trying to perform GP modeling using the GPResult.sample function integrated with jaxns for nested sampling, I encountered the following AttributeError:

AttributeError: 'ArrayImpl' object has no attribute 'next_sample_idx'

It seems to me this is due to the fact that the state object returned from the nested sampling process executed by exact_ns apparently lacks the expected attribute next_sample_idx?

Here are the versions of Python and the involved libraries I am using:

  • Python version: 3.11.8
  • stingray version: 2.0.0
  • jax version: 0.4.23
  • jaxns version: 2.4.12
  • tensorflow_probability version: 0.22.1

Thanks for the help!

@matteobachetti
Copy link
Member

Hi @fcotizelati, thanks for reporting the issue
@Gaurav17Joshi, @dhuppenkothen : any ideas?

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

2 participants