Skip to content

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

@GertKl

Description

@GertKl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions