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

Initialization failed message is misleading when using user defined inits #3288

Open
avehtari opened this issue May 23, 2024 · 0 comments · May be fixed by #3291
Open

Initialization failed message is misleading when using user defined inits #3288

avehtari opened this issue May 23, 2024 · 0 comments · May be fixed by #3291

Comments

@avehtari
Copy link
Collaborator

When using the new CmdStanR to provide inits, I happen to have a case where the initial values have finite lp__, but non-finite gradient. The message coming from stan

msg << "Initialization between (-" << init_radius << ", " << init_radius

says "Initialization between (-2, 2) failed after 100 attempts. " which is confusing as fixed init values were used.

@SteveBronder SteveBronder linked a pull request May 28, 2024 that will close this issue
3 tasks
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

Successfully merging a pull request may close this issue.

1 participant