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

Conflicting chain size for code block 4.59 #199

Open
EAly opened this issue Jul 11, 2022 · 0 comments
Open

Conflicting chain size for code block 4.59 #199

EAly opened this issue Jul 11, 2022 · 0 comments

Comments

@EAly
Copy link

EAly commented Jul 11, 2022

I get the following error when I try to implement code block 4.59:

Code to run:

height_pred = pm.sample_posterior_predictive(trace_4_3, 200, m4_3, keep_size=False)

Error:

ValueError: conflicting sizes for dimension 'chain': length 1 on the data but length 4 on coordinate 'chain'

I didn't get any error for previous code blocks in this chapter (chapter 4), and I can't figure out what is causing this error.
Appreciate any help.

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