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

invalid value encountered in add np.exp(-log_lambda_target + log_lambda_store) #143

Open
GertKl opened this issue Sep 6, 2023 · 0 comments

Comments

@GertKl
Copy link

GertKl commented Sep 6, 2023

This concerns swyft 0.3.2, but it seems like one of the developers may be able to identify the problem easily? I'm getting the error

/fp/homes01/u01/ec-gertwk/.conda/envs/swyft3-f/lib/python3.9/site-packages/swyft/store/store.py:296: RuntimeWarning: invalid value encountered in add
  np.exp(-log_lambda_target + log_lambda_store)

Looking at the source-code doesn't help me here. I'm getting the error while trying to train, it seems, even though the problem itself seems to be rooted in the store, so possibly something wrong with the simulations? I'm getting it for all kinds of models though (usually for large training sets 5e+5 and above), including toy models.

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