Skip to content

Maximum recursion depth exceeded when using EP + hierarchical modelling #500

@VictorForouhar

Description

@VictorForouhar

I get the following error when I try to fit a hierarchical model using EP:
image

This is the same non-converging issue I alluded to in #495 when using uniform priors. Now that the Gaussian priors remain within the bounds, I confirmed that it also happens for them. This must be an issue with EP, since hierarchically fitting the same model and data without EP, e.g.:

search = af.DynestyStatic(
    name="no_EP_fit",
    sample="rwalk",
)

result = search.fit(model=factor_graph.global_prior_model, analysis=factor_graph)

converges to a solution.

Metadata

Metadata

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