Error occurred when I try to use InferenceData scheme

In order to use WAIC with multiple likelihood functions, I tried to transfer the pymc3 to InferenceData scheme, but something wrong occurred. How can I solve the error.

How ‘report’ works here?

What version of pymc3 are you using, and how did you generate your “trace” (i.e., what was your call to pm.sample())? Recent versions of pymc3 automatically return InferenceData from pm.sample, so you should check but I’m suspicious that your trace is actually InferenceData already. What does it look the trace_Tk_PL_ab_134 itself look like?

1 Like