Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultivariateNormalDiag is not in the TensorFlow version installed by default by installTF() #1

Open
msabvid opened this issue Oct 20, 2020 · 0 comments

Comments

@msabvid
Copy link

msabvid commented Oct 20, 2020

Hi, I'm following the instructions from https://github.com/STOR-i/sgmcmc to install sgmcmc directly from your GitHub, and after trying to run the sgldcv for Bayesian regression, I get the following error:

Python error output:
Error in py_get_attr_impl(x, name, silent): AttributeError: module 'tensorflow._api.v1.distributions' has no attribute 'MultivariateNormalDiag'

Check your tensorflow code specifying the logLik and logPrior functions is correct.
Ensure constants in logLik and logPrior functions are specified as type float32 using
tf$constant(.., dtype = tf$float32) -- see the tutorials for some examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant