You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---------------------------------------------------------------------------TypeErrorTraceback (mostrecentcalllast)
<ipython-input-13-1e5201be2a87>in<module>---->1pm.model_to_graphviz(test)
~/anaconda3/envs/cotopaxi/lib/python3.6/site-packages/pymc3/model_graph.pyinmodel_to_graphviz(model)
184 """
185model=pm.modelcontext(model)
-->186returnModelGraph(model).make_graph()
~/anaconda3/envs/cotopaxi/lib/python3.6/site-packages/pymc3/model_graph.pyinmake_graph(self)
154graph=graphviz.Digraph(self.model.name)
155forshape, var_namesinself.get_plates().items():
-->156label=' x '.join(map('{:,d}'.format, shape))
157iflabel:
158# must be preceded by 'cluster' to get a box around itTypeError: unsupportedformatstringpassedtoTensorVariable.__format__
Please provide any additional information below.
The fix seems straightforward. Just need an extra line:
pm.model_to_graphviz gives a TypeError with sharedVariable
Please provide a minimal, self-contained, and reproducible example.
Please provide the full traceback.
Please provide any additional information below.
The fix seems straightforward. Just need an extra line:
before line 156 in model_graph.py
Versions and main components
The text was updated successfully, but these errors were encountered: