Pyro: GP with MCMC from examples not working

Created on 18 Sep 2019  路  2Comments  路  Source: pyro-ppl/pyro

Issue Description

The MCMC training of GP from this example doesn't work. Specifically, mcmc object doesn't seem to have get_samples attribute.

Environment

Google Colab

Code Snippet

(see screenshot below)
image

question

Most helpful comment

The interface to MCMC that you are using is deprecated and will be removed in the next major version. Could you try to import the new interface using from pyro.infer.mcmc.api import MCMC instead? You may need to update your version of Pyro if this module does not exist.

All 2 comments

The interface to MCMC that you are using is deprecated and will be removed in the next major version. Could you try to import the new interface using from pyro.infer.mcmc.api import MCMC instead? You may need to update your version of Pyro if this module does not exist.

It worked! Thanks a lot!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eb8680 picture eb8680  路  4Comments

ahmadsalim picture ahmadsalim  路  3Comments

martinjankowiak picture martinjankowiak  路  3Comments

neerajprad picture neerajprad  路  5Comments

fehiepsi picture fehiepsi  路  3Comments