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

nb_ch05_02.ipynb #14

Open
VV20192019 opened this issue Apr 27, 2023 · 0 comments
Open

nb_ch05_02.ipynb #14

VV20192019 opened this issue Apr 27, 2023 · 0 comments

Comments

@VV20192019
Copy link

VV20192019 commented Apr 27, 2023

TFP Version 0.16.0
TF Version 2.8.0

AttributeError: 'Mixture' object has no attribute '_prob'

probs=model_p(X_test).log_prob(np.arange(0,20,1).reshape(20, 1)).numpy()
probs = np.transpose(probs, [1, 0])
probs = np.exp(probs)

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