Closed yuliang0225 closed 6 years ago
I had updated my PyMC to 3.4.1.
I understand where is wrong. The code should be updated.
@yuliang0225 how did you solve? I'm having the same problem.
how to updated the code ?
I cannot find the updated code either.
@yuliang0225 please add your fix.
same issue, somebody figured out?
anyone who gets here and is trying to solve it, replace the code block with:
with model:
trace = pm.sample(5000, init='advi', n_init=50000)
+1
In[8] with model: mu, sds, elbo = pm.variational.advi(n=50000) step = pm.NUTS(scaling=model.dict_to_array(sds), is_cov=True) trace = pm.sample(5000, step=step, start=mu) Out
AttributeError Traceback (most recent call last)