Closed djinnome closed 2 years ago
Yup, my apologies for not including this in the examples. I think they must have changed something between when I ran this and when I froze the dependencies in the docker image. Looks like I figured out the same thing in my more recent scripts: https://github.com/pstjohn/20200217_putida_bmfa/blob/main/run_advi.py#L23-L27
Can you derive hist and trace from the approx object? If not, then how does
hackett.ipynb
extract thetrace
andhist
information without dumping it into a pickle?The
approx
ADVI object does contain ahist
attribute, but it is aTensor
object that does not contain asample()
method.