Skip to content

'Got error No model on context stack' warning running spawning salmon notebook #6

@billtubbs

Description

@billtubbs

Thanks for providing this code and the tutorial.

When I run the spawning_salmon.ipynb notebook I get an error/warning in the cell with the following statement:

az.plot_trace(linear_trace);

This is the error message:

Got error No model on context stack. trying to find log_likelihood in translation.
Got error No model on context stack. trying to find log_likelihood in translation.

And the plots don't look right:
Screen Shot 2022-09-29 at 15 41 47

Any ideas what is causing this? I can't find any help on this error on the internet other than this post on stackoverflow which mentions it incidentally.

The results look about right:
Screen Shot 2022-09-29 at 15 46 02

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions