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

All Stan processes finished, but it is still working #44

Open
Peshkin opened this issue Oct 4, 2017 · 4 comments
Open

All Stan processes finished, but it is still working #44

Peshkin opened this issue Oct 4, 2017 · 4 comments

Comments

@Peshkin
Copy link

Peshkin commented Oct 4, 2017

fit.check
returns
"All Stan processes finished."

fit.stop
returns
Stan is already finished.

but
fit.peek
gives
"Stan is still working. You can either:

  1. Use the peek method to get partial samples
  2. Come back later, or
  3. Attach a listener to the StanFit object."

how is that possible ?

@brian-lau
Copy link
Owner

Ah, the peek method is quite untested. I suspect the message is incorrect. I imagine you actually have the correct number of samples in your StanFit output?

@Peshkin
Copy link
Author

Peshkin commented Oct 5, 2017

I can't tell because when I run
sim = extract(fit);
it tells me the Stan is still working

@Peshkin
Copy link
Author

Peshkin commented Oct 5, 2017

Even if I just type
fit
I get the same message

@mdnunez
Copy link

mdnunez commented Apr 20, 2018

I have the same problem after 1 chain crashed early (possibly due to memory issues) but the other two chains finished.

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

3 participants