Hi all,
I am trying to use find_MAP
without the progress bar, but the error below occurs. Is it a bug?
AttributeError Traceback (most recent call last)
<ipython-input-42-7205282ebca5> in <module>()
----> 1 s = pm.find_MAP(progressbar=False, model=model)
/Users/catethos/anaconda3/lib/python3.6/site-packages/pymc3/tuning/starting.py in find_MAP(start, vars, method, return_raw, include_transformed, progressbar, maxeval, model, *args, **kwargs)
121 opt_result = minimize(cost_func, x0, method=method, jac=compute_gradient, *args, **kwargs)
122 mx0 = opt_result["x"] # r -> opt_result
--> 123 cost_func.progress.total = cost_func.progress.n + 1
124 cost_func.progress.update()
125 except (KeyboardInterrupt, StopIteration) as e:
AttributeError: 'tqdm' object has no attribute 'n'