BUG: Missing constant_data
in InferenceData
when defining observed data with same dims.
#7614
Labels
constant_data
in InferenceData
when defining observed data with same dims.
#7614
Describe the issue:
I have defined my data in a
pm.Data
container along with its dimensionality(dims=)
but when i use these points as likelihood and also pass the dimensionality they are no longer in theconstant_data
of theInferenceData
object. A workaround is to avoid defining dimensionality in pm.Normal like this:obs = pm.Normal('obs', mu=mu, sigma=sigma, observed=data)
.I think this is a bug from newer versions of pymc because i had no problems with pymc 5.5.
I tried to debug the issue and could be in
pm.backend.arviz.find_constants
where it checks if an observed variable could be part of the generative graph.Reproduceable code example:
Error message:
PyMC version information:
Context for the issue:
No response
The text was updated successfully, but these errors were encountered: