Closed
Description
Description of your problem
I have a model that has two data variables of identical dimensionality:
pymc3.Data("obs_A360", obs_A360, dims=("replicate_id", "cycle"))
pymc3.Data("obs_A600", obs_A600, dims=("replicate_id", "cycle"))
where obs_A360
and obs_A600
are numpy arrays of shape (131, 5).
Sampling works fine, also an InferenceData
object is returned.
But looking into idata.constant_data
the shapes, values and coordinates of those data variables are completely messed up:
- The
replicate_id
coordinate became a concatenation of the string-valued replicate IDs with a numpy arange of the same length. idata.posterior.replicate_id
andidata.constant_data.replicate_id
don't matchconstant_data.obs_A360
andconstant_data.obs_A600
have shapes (262, 5) and are half filled withnan
. And not even the same way!
What's going on?!
Versions and main components
- PyMC3 Version:
main