Example error on MCMC?

Hi, running the example for HMC on http://docs.pyro.ai/en/dev/mcmc.html#hmc gives me the error:

AttributeError: ‘MCMC’ object has no attribute ‘get_samples’

I am running version 0.3.3, which is the default dowload (a few days ago).

Is this a simple mismatch between versions? I notice a lot of the examples check for version 0.3.1, although this one doesn’t.

If so, can you point me to the new documentation, so I can get this to run? Thanks & best

this breakage is from the latest dev changes. you will need to use the dev version of pyro or use the release version of your example

1 Like